Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Subject: hostrealm code won't compile in debug mode using Solaris Studio C X-RT-Original-Encoding: iso-8859-1 Content-Length: 900 When I compile MIT v1.13.2 code using debug compile options and the solaris studio v12.4 C compiler I see: + /opt/SUNWspro/solarisstudio12.4/bin/cc -m32 -g '-xchip=pentium' '-xregs=no%frameptr' -mt -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -KPIC -DPIC -dy -G -z text -h hostrealm_test.so.0 -o hostrealm_test.so main.so -R/usr/lib -L../../../lib -lkrb5 -lc -z defs Undefined first referenced symbol in file krb5int_zap main.so (symbol belongs to implicit dependency ../../../lib/libkrb5support.so.0) ld: fatal: symbol referencing errors Modifying the krb5-1.13.2/src/plugins/hostrealm/test/Makefile.in file so this: SHLIB_EXPDEPS= $(KRB5_DEPLIB) SHLIB_EXPLIBS= $(KRB5_LIB) becomes: SHLIB_EXPDEPS= $(KRB5_DEPLIB) $(SUPPORT_DEPLIB) SHLIB_EXPLIBS= $(KRB5_LIB) $(SUPPORT_LIB) fixes the undefined krb5int_zap symbol issue.