problems with make check on solaris 9?

Ian Veach imail at nevada.edu
Mon Nov 28 20:15:06 EST 2005


Greetings -

I downloaded krb5 1.4.3 and compiled it using Sun Studio 10 (ansi
compatible as far as I know) on Solaris 9 (fully patched).  I also used
gnu make in the process.  I am prefering sun cc for various reasons, but
just fyi, gcc (-m32) compiles it successfully but fails immediately on
test 1.  I am persuing sun cc:

The compilation seemed to go fine to me - no errors and few usually
innocuous warnings (argument incompatible with prototype).  The make check
worked fine through test 20 but then fails with the following (full
scripts available upon request):


gmake[2]: Entering directory `/builds/krb5-1.4.3/src/lib/crypto'
making check in lib/crypto/crc32...
gmake[3]: Entering directory `/builds/krb5-1.4.3/src/lib/crypto/crc32'
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DKRB5_KRB4_COMPAT=1 -DHAVE_BT_RSEQ=1 -DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DHAVE_LIBRESOLV=1 -DHAVE_RES_NINIT=1 -DHAVE_RES_NCLOSE=1 -DHAVE_RES_NSEARCH=1 -DHAVE_NS_INITPARSE=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_RES_SEARCH=1 -DHAVE_PRAGMA_WEAK_REF=1 -DDELAY_INITIALIZER=1 -DUSE_LINKER_INIT_OPTION=1 -DUSE_LINKER_FINI_OPTION=1 -DENABLE_THREADS=1 -DHAVE_PTHREAD=1 -DHAVE_PTHREAD_ONCE=1 -DHAVE_PTHREAD_RWLOCK_INIT=1 -DHAVE_PTHREAD_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1 -DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1   -I../../../include -I./../../../include -I../../../include/krb5 -I./../../../include/krb5   -g -D_REENTRANT  -c t_crc.c
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DKRB5_KRB4_COMPAT=1 -DHAVE_BT_RSEQ=1 -DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DHAVE_LIBRESOLV=1 -DHAVE_RES_NINIT=1 -DHAVE_RES_NCLOSE=1 -DHAVE_RES_NSEARCH=1 -DHAVE_NS_INITPARSE=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_RES_SEARCH=1 -DHAVE_PRAGMA_WEAK_REF=1 -DDELAY_INITIALIZER=1 -DUSE_LINKER_INIT_OPTION=1 -DUSE_LINKER_FINI_OPTION=1 -DENABLE_THREADS=1 -DHAVE_PTHREAD=1 -DHAVE_PTHREAD_ONCE=1 -DHAVE_PTHREAD_RWLOCK_INIT=1 -DHAVE_PTHREAD_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1 -DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1   -I../../../include -I./../../../include -I../../../include/krb5 -I./../../../include/krb5   -g -D_REENTRANT  -c crc32.c
cc -L../../../lib -R/usr/local/lib -g  -o t_crc t_crc.o crc32.o
Undefined			first referenced
 symbol  			    in file
krb5int_pthread_loaded              t_crc.o
ld: fatal: Symbol referencing errors. No output written to t_crc
gmake[3]: *** [t_crc] Error 1
gmake[3]: Leaving directory `/builds/krb5-1.4.3/src/lib/crypto/crc32'
gmake[2]: *** [check-recurse] Error 1
gmake[2]: Leaving directory `/builds/krb5-1.4.3/src/lib/crypto'
gmake[1]: *** [check-recurse] Error 1
gmake[1]: Leaving directory `/builds/krb5-1.4.3/src/lib'
gmake: *** [check-recurse] Error 1


Can anyone help with this?  Not sure why it compiled fine, but fails the
compile of the test package.  Is there something funky with pthreads on
sun that the test suite is not picking up?

thank you very much,
ivo




More information about the Kerberos mailing list