# uname -a
Linux gold.voipuser.org 2.4.21-4.0.1.ELsmp #1 SMP Thu Oct 23 01:27:36 EDT 2003 i686 i686 i386 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 5)
libssl is 0.9.7a
- [root@gold enroll]# make linux
- gcc -c -g -c -D_POSIX_THREADS -DSOLARIS -DOSPD_DEBUG -DOSP_SDK
- -DOPENSSL_NO_KRB5 -DOSPC_DEBUG=1 -I./ -I../include -I../crypto
- osptnepinit.c
- gcc -c -g -c -D_POSIX_THREADS -DSOLARIS -DOSPD_DEBUG -DOSP_SDK
- -DOPENSSL_NO_KRB5 -DOSPC_DEBUG=1 -I./ -I../include -I../crypto
- osptnepenroll.c
- gcc -c -g -c -D_POSIX_THREADS -DSOLARIS -DOSPD_DEBUG -DOSP_SDK
- -DOPENSSL_NO_KRB5 -DOSPC_DEBUG=1 -I./ -I../include -I../crypto osptnep.c
- gcc -c -g -c -D_POSIX_THREADS -DSOLARIS -DOSPD_DEBUG -DOSP_SDK
- -DOPENSSL_NO_KRB5 -DOSPC_DEBUG=1 -I./ -I../include -I../crypto
- osptneputil.c
- gcc -o ../bin/enroll osptnepinit.o osptnepenroll.o osptnep.o
- osptneputil.o ../src/ospopenssl.o -L../lib -L../lib -losptk -lssl
- -lcrypto -lpthread -ldl -lm -I./ -I../include -I../crypto
- ../lib/libssl.a(kssl.o)(.text+0x187): In function `populate_cksumlens':
-
- undefined reference to `valid_cksumtype'
- ../lib/libssl.a(kssl.o)(.text+0x1bc): In function `populate_cksumlens':
-
- undefined reference to `krb5_checksum_size'
- ../lib/libssl.a(kssl.o)(.text+0x1f3): In function `populate_cksumlens':
-
- undefined reference to `krb5_checksum_size'
- ../lib/libssl.a(kssl.o)(.text+0x6d4): In function `kssl_cget_tkt':
-
- undefined reference to `krb5_free_context'
- ../lib/libssl.a(kssl.o)(.text+0x6ee): In function `kssl_cget_tkt':
- undefined reference to `krb5_auth_con_free'
we have eliminated the need to link with krb libraries by including -DOPENSSL_NO_KRB5 flag. Maybe it is still required if OpenSSL was build with KRB support.