bind 8.2.2p5 Won't Compile under Solaris2.5.1
Martin McCormick
martin at dc.cis.okstate.edu
Mon Nov 22 22:12:20 UTC 1999
It did compile correctly under Solaris2.5, but on a 2.5.1
system the news is not so good. The "make depend" seems to work, but
the "make all" runs for a while and then the following happens:
: ld -x -r threaded/nis_ho.o && \
: mv a.out threaded/nis_ho.o)
nis_ho.c: In function `ho_byaddr':
nis_ho.c:212: `NETDB_INTERNAL' undeclared (first use this function)
nis_ho.c:212: (Each undeclared identifier is reported only once
nis_ho.c:212: for each function it appears in.)
nis_ho.c: In function `makehostent':
nis_ho.c:363: `NETDB_SUCCESS' undeclared (first use this function)
gcc -g -O2 -I../../port/solaris/include -I../../include -c nis_ho.c
nis_ho.c: In function `ho_byaddr':
nis_ho.c:212: `NETDB_INTERNAL' undeclared (first use this function)
nis_ho.c:212: (Each undeclared identifier is reported only once
nis_ho.c:212: for each function it appears in.)
nis_ho.c: In function `makehostent':
nis_ho.c:363: `NETDB_SUCCESS' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `nis_ho.o'
Current working directory /tmp/src/lib/irs
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/src/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
More information about the bind-users
mailing list