BIND 9.11.6-P1 build fails on Solaris

Jaco Lesch jacol at saix.net
Fri Apr 26 08:01:07 UTC 2019


On 4/25/19 21:04, greg.rabil at bt.com wrote:
>
> BIND 9.11.5-P4 built fine on this Solaris 10 environment with same 
> configure settings:
>
> --enable-ipv6 \
>
> --enable-filter-aaaa \
>
> --enable-largefile \
>
> --enable-fixed-rrset \
>
> --enable-threads \
>
> --disable-shared \
>
> --with-dlopen=no \
>
> --with-openssl=/opt/bind911/openssl\
>
> --with-geoip=/opt/bind911/geoip \
>
> --without-gssapi --without-python \
>
> --prefix=/opt/bind911
>
> However, now the build fails for BIND 9.11.6-P1 with the following:
>
> Undefined first referenced
>
> symbol     in file
>
> isc_atomic_xadd client.o
>
> ld: fatal: symbol referencing errors. No output written to namedtmp0
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `named'
>
> Thanks,
>
> Greg
>
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
Experiencing a similar issue with BIND 9.11.6-P1 on Solaris 11.4, the 
build fails with the following:

Undefined                       first referenced
  symbol                             in file
isc_atomic_xadd                     .libs/client.o
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `named'
Current working directory /usr/local/src/bind-9.11.6-P1/bin/named
*** Error code 1
The following command caused the error:
for i in named rndc dig delv dnssec tools nsupdate check confgen python  
tests nulldir; do \
         if [ "$i" != "nulldir" -a -d $i ]; then \
                 echo "making all in `pwd`/$i"; \
                 (cd $i; make  DESTDIR="" all) || exit 1; \
         fi; \
done
make: Fatal error: Command failed for target `subdirs'
Current working directory /usr/local/src/bind-9.11.6-P1/bin
*** Error code 1
The following command caused the error:
for i in make lib bin doc nulldir; do \
         if [ "$i" != "nulldir" -a -d $i ]; then \
                 echo "making all in `pwd`/$i"; \
                 (cd $i; make  DESTDIR="" all) || exit 1; \
         fi; \
done
make: Fatal error: Command failed for target `subdirs'


Both BIND 9.11.5-P4 and 9.11.6 build fine with the following configure 
settings:
./configure --prefix=/opt/local --libdir=/opt/local/lib/dns/sparcv9 \
         --sysconfdir=/etc \
         --localstatedir=/var \
         --with-randomdev=/dev/random \
         --with-tuning=large \
         --with-gssapi=krb5-config \
         --with-libtool \
         --with-openssl \
         --without-pkcs11 \
         --without-dlopen \
         --enable-full-report \
         --with-python=/usr/bin/python3.5 \
--with-python-install-dir=/usr/lib/python3.5/vendor-packages \
         --enable-threads --enable-ipv6 --enable-devpoll

Compiled with both Studio 12.6 and GCC 7.3.0.

Thanks

-- 
---
Jaco Lesch
SAIX HLS
Email: jacol at saix.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20190426/739f1663/attachment-0001.html>


More information about the bind-users mailing list