Undefined symbol: .isc_string_strlcpy compiling bind-9.11.6 on powerpc-ibm-aix7.1.0.0

Michael Niksch nik at zurich.ibm.com
Tue Mar 12 13:17:45 UTC 2019


Compiling bind-9.11.6 on AIX (powerpc-ibm-aix7.1.0.0) stops with

> ld: 0711-317 ERROR: Undefined symbol: .isc_string_strlcpy

when trying to build

> bin/tests/system/dlzexternal/driver.so

On the other hand, .isc_string_strlcpy seems to be defined in 
lib/isc/libisc.a, originating from lib/isc/string.o, both of which is 
built previously. bind-9.11.5-P4 compiled without problems using the 
same configuration.

Any ideas?

> ... > making all in 
/u/nik/tarfiles/bind/bind-9.11.6/bind-9.11.6/bin/tests/system/dlzexternal
> 	  gcc  -I/u/nik/tarfiles/bind/bind-9.11.6/bind-9.11.6 -I../../../.. -I/u/nik/tarfiles/bind/bind-9.11.6/bind-9.11.6/lib/dns/include  -I../../../../lib/dns/include -I/u/nik/tarfiles/bind/bind-9.11.6/bind-9.11.6/lib/isc/include  -I../../../../lib/isc  -I../../../../lib/isc/include  -I../../../../lib/isc/unix/include  -I../../../../lib/isc/pthreads/include  -I../../../../lib/isc/powerpc/include    -D_REENTRANT  -D_THREAD_SAFE -g -O2  -Wa,-many -fPIC -fPIC   -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks  -c driver.c
> 	  gcc -shared -o driver.so driver.o
> ld: 0711-317 ERROR: Undefined symbol: .isc_string_strlcpy
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: error: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.
> 
> 
> Stop.

-- 
Michael Niksch                     /Zurich/IBM @ IBMCH
IBM Zurich Research Laboratory     nik at zurich.ibm.com
Saeumerstrasse 4                   http://www.zurich.ibm.com/~nik/
CH-8803 Rueschlikon / Switzerland  P: +41-44-724-8913 F: +41-44-724-8080



More information about the bind-users mailing list