i have a problem with wtls 
with kannel 1.4 
am using ubuntu 7.10 server 64
i configure it with command./configure
        --enable-docs  --enable-start-stop-daemon --enable-ssl
        --with-ssl=/usr/lib/ssl --with-wtls=openssl
        --prefix=/usr/local/kannel


i got no error and i wtls support i got :

Configuring WTLS support ...
checking for WTLS library... openssl
checking for RSA_new in -lcrypto... yes
checking openssl/objects.h usability... yes
checking openssl/objects.h presence... yes
checking for openssl/objects.h... yes
checking openssl/rc5.h usability... yes
checking openssl/rc5.h presence... yes
checking for openssl/rc5.h... yes

but i got errors in make 

gcc -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE 
-I/usr/include/libxml2 -I/usr/local/openssl/lib/include -rdynamic -o gw/wapbox 
gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lrt -lresolv 
-lnsl -lm  -lpthread -L/usr/lib -lxml2 -L/usr/local/openssl/lib/lib -lcrypto 
-lssl -L/usr/local/ssl/lib -lcrypto
libwap.a(wtls_statesupport.o): In function `wtls_encrypt_rc5':
/home/user/kannel-snapshot/wap/wtls_statesupport.c:410: undefined reference to 
`RC5_32_set_key'
/home/user/kannel-snapshot/wap/wtls_statesupport.c:416: undefined reference to 
`RC5_32_cbc_encrypt'
/home/user/kannel-snapshot/wap/wtls_statesupport.c:432: undefined reference to 
`RC5_32_cbc_encrypt'
libwap.a(wtls_statesupport.o): In function `wtls_decrypt_rc5':
/home/user/kannel-snapshot/wap/wtls_statesupport.c:347: undefined reference to 
`RC5_32_set_key'
/home/user/kannel-snapshot/wap/wtls_statesupport.c:355: undefined reference to 
`RC5_32_cbc_encrypt'
/home/user/kannel-snapshot/wap/wtls_statesupport.c:373: undefined reference to 
`RC5_32_cbc_encrypt'
collect2: ld returned 1 exit status
make: *** [gw/wapbox] Error 1

and i have openssl library with version  "OpenSSL 0.9.8g 19 Oct 2007"
and configured with ./config --enable-rc5 

i dont know if this enough to make openssl support rc5 

if some one knows how to enable wtls in kannel 1.4 


A.A.A
_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

Reply via email to