1. I am running make and configure on the same Solaris 10 server.. 2. I have not tried to compile the Bind 9.10.2-P3 release on Solaris 10. I will try that and see if that works.
Thanks Sandeep -----Original Message----- From: Thomas Schulz [mailto:sch...@adi.com] Sent: Thursday, July 30, 2015 2:02 PM To: Bhangui, Sandeep - BLS CTR; bind-users@lists.isc.org Subject: RE: Compile Error for Bind 9.9.7P2 on Sparc based Solaris 10 > Looked at the config.log file....and see the following messages which to me= > look like linker errors....is that the reason for the compile failure? > > Few weeks back I was able to successfully compile 9.9.7 on the same > machine= ....so not sure what is changed or broken on the system. > This is the first= time I have encountered this compile error. > > Hoping someone can point me in the correct direction. > > Thanks > Sandeep Configure is probing to find out what functions are available on this particular system. It does that by creating test programs to see if a function can be found and used. Failures such as you are seeing are an indication that a particular function is not available. I see similar failures when running configure on my Solaris 10 system, but make succeeds and named runs correctly. As for the make failure, did you perhaps run configure on one system and then try make on another? I just built bind-9.10.2-P3 for both Solaris 10 Sparc and Solaris 10 i386. I unpacked the tar.gz file twice, renaming the resulting package each time so that I could have both on the disk at the same time (I used bind-9.10.2-P3.i386 and bind-9.10.2-P3.sparc). > > > Posting some of the messages from the file..... > > > Undefined first referenced > symbol in file > setresgid /var/tmp//ccUAZQW6.o > ld: fatal: symbol referencing errors. No output written to conftest > > > > Undefined first referenced > symbol in file > kqueue /var/tmp//cceCnc1l.o > ld: fatal: symbol referencing errors. No output written to conftest > collect2: ld returned 1 exit status > > > > Undefined first referenced > symbol in file > EVP_sha384 /var/tmp//ccgPa8FC.o > ld: fatal: symbol referencing errors. No output written to conftest > collect2: ld returned 1 exit status > > > configure:14317: sparc-sun-solaris2.10-gcc -o conftest -g -O2 > -I/usr/includ= e -D_XPG4_2 -D__EXTENSIONS__ conftest.c -lgssapi_krb5 > -lkrb5 -lk5crypto -= lcom_err -lresolv >&5 > ld: fatal: library -lgssapi_krb5: not found > ld: fatal: library -lk5crypto: not found > ld: fatal: library -lcom_err: not found > ld: fatal: file processing errors. No output written to conftest > collect2: ld returned 1 exit status > > configure:14296: checking linking as -lgssapi > configure:14317: sparc-sun-solaris2.10-gcc -o conftest -g -O2 > -I/usr/includ= e -D_XPG4_2 -D__EXTENSIONS__ conftest.c -lgssapi >&5 > ld: fatal: library -lgssapi: not found > ld: fatal: file processing errors. No output written to conftest > collect2: ld returned 1 exit status > > > From: Bhangui, Sandeep - BLS CTR > Sent: Wednesday, July 29, 2015 9:34 AM > To: 'bind-users@lists.isc.org' > Subject: Compile Error for Bind 9.9.7P2 on Sparc based Solaris 10 > > Hi > > Just found that ISC has released Bind 9.9.7P2 so downloaded that since > I ha= d issues yesterday compiling P1 on Sparc based Solaris 10 ( > M3000) > > Get the same error when I run the make with 9.9.7P2 on sparc based > Solaris = > 10 (M3000) . > > Looks like configure runs ok. > > Have done this successfully multiple times on Sparc Based Solaris 10 > with t= he previous versions of Bind. > > Obviously looks like I am missing something here....or has anything > changed= ? > > Any help would be appreciated as I am at a loss. > > Thanks > Sandeep > > > tbl.pl -o named-symtbl2.c namedtmp2; done ; mv namedtmp2 named; rm > -f n= > amedtmp0 namedtmp1 namedtmp2 named-symtbl2.c; fi > Undefined first referenced > symbol in file > RSA_generate_key_ex ../../lib/dns/libdns.a(opensslrsa_link.= > o) > DSA_generate_parameters_ex ../../lib/dns/libdns.a(openssldsa_link.= > o) > DH_generate_parameters_ex ../../lib/dns/libdns.a(openssldh_link.o= > ) > ld: fatal: symbol referencing errors. No output written to namedtmp0 > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `named' > Current working directory > /adminfiles/solaris10/Bind997P1/bind-9.9.7-P1/bin= > /named > *** Error code 1 > The following command caused the error: > for i in named rndc dig dnssec tools tests nsupdate check confgen > python n= ulldir; do \ > if [ "$i" !=3D "nulldir" -a -d $i ]; then \ > echo "making all in `pwd`/$i"; \ > (cd $i; make DESTDIR=3D"" all) || exit 1; \ > fi; \ > done > make: Fatal error: Command failed for target `subdirs' > Current working directory > /adminfiles/solaris10/Bind997P1/bind-9.9.7-P1/bin > *** Error code 1 > The following command caused the error: > for i in make unit lib bin doc nulldir; do \ > if [ "$i" !=3D "nulldir" -a -d $i ]; then \ > echo "making all in `pwd`/$i"; \ > (cd $i; make DESTDIR=3D"" all) || exit 1; \ > fi; \ > done > make: Fatal error: Command failed for target `subdirs' Tom Schulz Applied Dynamics Intl. sch...@adi.com _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users