bind 9.0.0b2 - need a #include in socket.c

Jon Nistor nistor at snickers.org
Fri Mar 31 06:11:35 UTC 2000


I know its still beta, but incase anyone else was playing with it, you
might notice:

gcc -pthread -g -O2  -I/root/bind-9.0.0b2  -I./include -I./unix/include
-I/root/bind-9.0.0b2/lib/dns/include  -I../../lib/dns/include
-I../../lib/dns/sec/dst/include -I/root/bind-9.0.0b2/lib/isc/include
-I../../lib/isc  -I../../lib/isc/include  -I../../lib/isc/unix/include
-I../../lib/isc/pthreads/include -I/root/bind-9.0.0b2/lib/omapi/include
-I../../lib/omapi/include  -D_REENTRANT -D_THREAD_SAFE    -W -Wall
-Wmissing-prototypes  -c update.c
gcc -pthread -g -O2  -I/root/bind-9.0.0b2  -I./include -I./unix/include
-I/root/bind-9.0.0b2/lib/dns/include  -I../../lib/dns/include
-I../../lib/dns/sec/dst/include -I/root/bind-9.0.0b2/lib/isc/include
-I../../lib/isc  -I../../lib/isc/include  -I../../lib/isc/unix/include
-I../../lib/isc/pthreads/include -I/root/bind-9.0.0b2/lib/omapi/include
-I../../lib/omapi/include  -D_REENTRANT -D_THREAD_SAFE    -W -Wall
-Wmissing-prototypes  -c xfrout.c
gcc -pthread -g -O2 -o named client.o interfacemgr.o listenlist.o  log.o
logconf.o main.o notify.o omapi.o  query.o server.o update.o xfrout.o
unix/os.o ../../lib/dns/libdns.a  ../../lib/omapi/libomapi.a
../../lib/isc/libisc.a
../../lib/isc/libisc.a(socket.o): In function `process_cmsg':
/root/bind-9.0.0b2/lib/isc/unix/socket.c(.text+0x1e8): undefined reference
to `ALIGN'
/root/bind-9.0.0b2/lib/isc/unix/socket.c(.text+0x21b): undefined reference
to `ALIGN'
/root/bind-9.0.0b2/lib/isc/unix/socket.c(.text+0x24a): undefined reference
to `ALIGN'
/root/bind-9.0.0b2/lib/isc/unix/socket.c(.text+0x259): undefined reference
to `ALIGN'
/root/bind-9.0.0b2/lib/isc/unix/socket.c(.text+0x278): undefined reference
to `ALIGN'
../../lib/isc/libisc.a(socket.o)(.text+0x41f):/root/bind-9.0.0b2/lib/isc/unix/socket.c: more
undefined references to `ALIGN' follow
*** Error code 1

Stop in /root/bind-9.0.0b2/bin/named.
*** Error code 1



when compling... just add a:
	#include <sys/param.h> into socket.c 

Just some info for anyone who was wondering/ran into this problem
=)  Friend of mine ran into this issue.

Cheers,

._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
Jon Nistor (nistor at snickers.org :: http://www.snickers.org/
Unix Systems Administrator      :: FP: 66 3F 1B 23 C0 AA 40





More information about the bind-users mailing list