HELP: AIX 4.3 installation of Bind 8.3.2

Mark_Andrews at isc.org Mark_Andrews at isc.org
Thu Jun 20 14:04:44 UTC 2002


> 
> Hi,
> 
> At present Bind 8.2.5 is working fine in Aix 4.3 machine. As I was
> trying to
> upgrade to Bind 8.3.2 I get the following error:
> 
> ------------------
> I first edited ../src/port/aix4/Makefile.set and added the below lines:
> 'CC=/usr/local/bin/gcc'
> 
> and added a
> #define MISSING_IN6ADDR_ANY
> in ../src/port/aix4/include/port_after.h
> 
> then the make command:
> 
> make all
> ------
> -------- (in the end I get)
>        /usr/local/bin/gcc -g -O2 -DUVA   -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.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.
> 
> Stop.
> make: 1254-004 The error code from the last command is 1.
> 
> Stop.
> make: 1254-004 The error code from the last command is 1.
> 
> Stop.
> ---------------------
> 
> What could be wrong? Or where could I have gone wrong? Or what is the
> meaning of 
>
> ERROR: Undefined symbol: in6addr_any
> 
> Pls advise,
> 

	It helps to get the right pre-processor symbol.

#if !defined(HAS_INET6_STRUCTS) || defined(NEED_IN6ADDR_ANY)
#define in6addr_any isc_in6addr_any
extern const struct in6_addr in6addr_any;
#endif

	Also what value of OS_SUB do you have?
	See port/aix4/include/os_version.h

#if OS_MAJOR < 4 || (OS_MAJOR == 4 && OS_MINOR < 3) || \
    (OS_MAJOR == 4 && OS_MINOR == 3 && OS_SUB < ?????)
#define NEED_IN6ADDR_ANY
#endif

	Mark

> Rgds,
> Sonam
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list