[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Symbol reference errors heimdal-0.6, solaris 8



All,

I'm building heimdal-0.6 on Solaris 8 with gcc 3.3.1 and the solaris linker /usr/ccs/bin/ld.

I'm using heimdal-0.6 with the db3.c patch and the ndbm_wrap.c patch that were submitted by Luke.  http://www.stacken.kth.se/lists/heimdal-discuss/2003-08/msg00024.html and http://www.stacken.kth.se/lists/heimdal-discuss/2003-08/msg00026.html.

Heimdal builds and installs fine, but the problem is that the resulting libraries have a lot of missing symbols, and nothing can link against them.

For example, after a 'make':
nm -p lib/krb5/.libs/libkrb5.a | egrep 'U krb5' | wc -l
says I have 658 undefined krb5_* functions:
0000000000 U krb5_set_error_string
0000000000 U krb5_data_alloc
0000000000 U krb5_data_copy
0000000000 U krb5_data_free
0000000000 U krb5_eai_to_heim_errno
0000000000 U krb5_ret_address
0000000000 U krb5_set_error_string
0000000000 U krb5_storage_free
0000000000 U krb5_storage_from_data
0000000000 U krb5_storage_seek
0000000000 U krb5_storage_set_byteorder
0000000000 U krb5_copy_principal
0000000000 U krb5_free_host_realm
0000000000 U krb5_free_principal
... truncated for brevity

I'm not sure what I'm doing wrong.  Here is what I use for my build environment:
unset CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
CFLAGS="-D_REENTRANT"
CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib"
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.1/lib"

export CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH

And here is my ./configure:
./configure --with-openssl=/usr/local/ssl --without-x

Any ideas?  My search of this mailing list and others is ongoing.

Many thanks for any suggestions,
Elliot