Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 1995 12:29:14 +0200 (EET DST)
From:      Juha Inkari <inkari@snakemail.hut.fi>
To:        current@FreeBSD.org
Subject:   lib/libc/net/ether_addr.c doesnt see sys/netinet/if_ether.h
Message-ID:  <199504070929.MAA26445@lk-hp-20.hut.fi>

next in thread | raw e-mail | index | archive | help

I have SNAP-0322 and just supper source tree.  Now make breaks when
compiling libc/net/ether_addr.c, because it needs for example ``struct
ether_addr'' (in sys/netinet/if_ether.h), but for some reason, it does
not get included.

So, do I need to upgrade /usr/include somehow, or is there some other
thing to configure ?

-------
cc -v -DLIBC_RCS -DSYSLIBC_RCS -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -I/m/sd1a/src/lib/libc/locale -DYP -c /m/sd1a/src/lib/libc/net/ether_addr.c -o ether_addr.o
gcc version 2.6.3
 /usr/libexec/cpp -lang-c -v -I/m/sd1a/src/lib/libc/locale -undef -D__GNUC__=2 -D__GNUC_MINOR__=6 -Dunix -Di386 -D__FreeBSD__=2 -D__unix__ -D__i386__ -D__FreeBSD__=2 -D__unix -D__i386 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) -DLIBC_RCS -DSYSLIBC_RCS -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DYP /m/sd1a/src/lib/libc/net/ether_addr.c /var/tmp/cc004097.i
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /m/sd1a/src/lib/libc/locale
 /usr/include
End of search list.
 /usr/libexec/cc1 /var/tmp/cc004097.i -quiet -dumpbase ether_addr.c -version -o /var/tmp/cc004097.s
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3.
/m/sd1a/src/lib/libc/net/ether_addr.c: In function `ether_line':
/m/sd1a/src/lib/libc/net/ether_addr.c:80: dereferencing pointer to incomplete type
...
-------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504070929.MAA26445>