[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling problem under AIX 4.3.1/2

kerberos mailing <kerberos@lom.camcom.it> writes:
> i try the heimdal 0.1f but i receive this error from ld
> gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -o convert_db convert_db.o .libs/libhdb.a ../krb5/.libs/libkrb5.a ../asn1/.libs/libasn1.a ../des/.libs/libdes.a ../../lib/roken/.libs/libroken.a
> collect2: ld returned 8 exit status
> ld: 0711-317 ERROR: Undefined symbol: in6addr_any
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> make[2]: *** [convert_db] Error 1                                             
> wich is the system include ... ? 

I tried building on aix4.3.2.0 and don't get the same problem you
reported.  Can you look if you have the variable `in6addr_any'
declared in <netinet/in.h> and/or defined in libc.  This is the way it
looks for me:

nm /usr/lib/libc.a | grep in6addr_any
in6addr_any          D     195592      16

grep in6addr_any /usr/include/netinet/in.h
extern const struct in6_addr in6addr_any, in6addr_loopback;