BIND 9.10 compilation problem for FreeBSD 6.x/7.x
Shawn Zhou
shawnzhou00 at yahoo.com
Fri May 2 17:25:45 UTC 2014
Any problem has problem building BIND 9.10 for FreeBSD? We are using the same process that worked for building 9.9.4 to build 9.10 on FreeBSD 6.x/7.x but we are getting "ld: invalid BFD target" error.
https://www.dropbox.com/s/jciafakcwu68p6f/build_bind.txt
Snippet of the compilation log:
gcc -I/home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0 -I../../../.. -I/home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0/lib/dns/include -I../../../../lib/dns/include -I/home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0/lib/isc/include -I../../../../lib/isc -I../../../../lib/isc/include -I../../../../lib/isc/unix/include -I../../../../lib/isc/nothreads/include -I../../../../lib/isc/x86_32/include -DFD_SETSIZE=15000 -DISC_SOCKET_MAXEVENTS=256 -O2 -I /home/tmp/bind9.25984/openssl-1.0.1g-freebsd-6-32/include -ggdb -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c driver.c
ld -ggdb -Wl,-rpath=/home/y/lib -Bshareable -x -o driver.so driver.o
ld: invalid BFD target `-Wl,-rpath=/home/y/lib'
*** Error code 1
Stop in /home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0/bin/tests/system/dlzexternal.
*** Error code 1
Stop in /home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0/bin/tests/system.
*** Error code 1
Stop in /home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0/bin/tests.
*** Error code 1
Stop in /home/tmp/bind9.25984/bind-9.10.0-build-freebsd-6-32/bind-9.10.0/bin.
*** Error code 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140502/0dbf8fea/attachment.html>
More information about the bind-users
mailing list