bind build error on aix 4.3.0

Joseph S D Yao jsdy at cospo.osis.gov
Mon Dec 6 18:34:36 UTC 1999


On Wed, Dec 01, 1999 at 10:01:59PM +0100, Geerd Kakes wrote:
> Has anyone succesfully build bind version 8.2.2 patched 5 on AIX 4.3.0?
> When I try to build this I get the following error:
> 
> cc -g -O2   -o nslookup main.o getinfo.o debug.o send.o skip.o list.o
> subr.o commands.o \
>         ../../lib/libbind.a -ll
> ld: 0711-317 ERROR: Undefined symbol: in6addr_any
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make[2]: *** [nslookup] Error 8
> 
> After defining MISSING_IN6ADDR_ANY in port_after.h this error is solved
> but gives me a linking error,
> saying:
> 
> make[2]: Entering directory `/appl/updates/bind-8.2.2/bin/nslookup'
> cc -g -O2   -o nslookup main.o getinfo.o debug.o send.o skip.o list.o
> subr.o commands.o \
>         ../../lib/libbind.a -ll
> ld: 0711-317 ERROR: Undefined symbol: .__h_errno_set
> ld: 0711-317 ERROR: Undefined symbol: .__h_errno
> 
> The functions "__h_errno" and "_set__h_errno" are reverred to from
> lib/libbind.a
> 
> any comments are appreciated.
> 
> Thanks,
> Geerd Kakes

I have enough hot crises going that I can't look at the code just now.
But, after making the change to port_after.h, did you do a
	make clean
	make depend
	make all
?  It does make a difference.  It just might not make a difference to
THIS problem ...

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list