Building 8.2.5 on AIX

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Oct 2 16:12:34 UTC 2001


> 
> 	Does port/aix4/include/os_version.h have the expected values?
> 
> 	You can always comment out the "#define HAVE_STRNDUP" in
> 	port/aix/include/port_after.h.

	That should have been port/aix4/include/port_after.h.

> 
> 	Mark
> 
> > I'm trying to build 8.2.5 on AIX 4.3.3, but the compile fails because
> > strndup() does not exist, even though it's mentioned in the release
> > notes for 8.2.5:
> > 
> > 1221.   [port]          aix: 4.3.3.0 (4.3.2.0?) and later have strndup()
> > 
> > I've tried building both with gcc and xlc but both compilers fail - this
> > is gcc:
> > 
> >         /usr/local/bin/gcc -I../../port/aix4/include -I../../include
> > -D_PATH_HELPFILE=\"/usr/lib/nslookup.help\" -g -O2  -c commands.c
> >         /usr/local/bin/gcc -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: .strndup
> > 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.
> > bash-2,00$ oslevel
> > 4.3.3.0
> > 
> > Has anyone been able to build 8.2.5 on AIX 4.3.3?
> 
> > /Jan
> > 
> --
> Mark Andrews, Internet Software Consortium
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org
--
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