Hi everyone.

I am trying to compile Kannel, but the following error keeps appearing.
My OS is FreeBSD 4.7 stable.

The configure script is run with the following parametres:
#./configure --disable-ssl-thread-test --with-wtls=openssl

---- cut ----
gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/include/openssl -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lm -lc_r -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm -L/usr/local/lib -L/usr/lib -lcrypto -L/usr/local/ssl/lib -lcrypto
/usr/lib/libc.so: WARNING! setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended.
/usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
wmlscript/wmlsc.o: In function `main':
/usr/local/src/gateway/wmlscript/wmlsc.c:124: undefined reference to `ws_create'
/usr/local/src/gateway/wmlscript/wmlsc.c:184: undefined reference to `ws_compile_data'
/usr/local/src/gateway/wmlscript/wmlsc.c:195: undefined reference to `ws_free_byte_code'
/usr/local/src/gateway/wmlscript/wmlsc.c:198: undefined reference to `ws_compile_file'
/usr/local/src/gateway/wmlscript/wmlsc.c:208: undefined reference to `ws_result_to_string'
/usr/local/src/gateway/wmlscript/wmlsc.c:215: undefined reference to `ws_destroy'
wmlscript/wmlsc.o: In function `pragma_meta':
/usr/local/src/gateway/wmlscript/wmlsc.c(.text+0x4eb): undefined reference to `ws_utf8_to_latin1'
/usr/local/src/gateway/wmlscript/wmlsc.c(.text+0x4fa): undefined reference to `ws_utf8_to_latin1'
/usr/local/src/gateway/wmlscript/wmlsc.c(.text+0x50f): undefined reference to `ws_utf8_to_latin1'
/usr/local/src/gateway/wmlscript/wmlsc.c(.text+0x586): undefined reference to `ws_utf8_free_data'
/usr/local/src/gateway/wmlscript/wmlsc.c(.text+0x592): undefined reference to `ws_utf8_free_data'
/usr/local/src/gateway/wmlscript/wmlsc.c(.text+0x59b): undefined reference to `ws_utf8_free_data'
*** Error code 1

Stop in /usr/local/src/gateway.
---- cut ----

Can anyone help please?
--
Kind regards,

Henrik Jørgensen


Reply via email to