Hi all, *** This is a longish email, sorry about that. I've been using 1.0.3 on FreeBSD and although it works (I am only using SMS for now) it often takes a few attempts before kannel properly initialises the attached Seimens M20.
So I am upgrading to 1.1.5 but am having fun and games compiling this version - I am more familiar with Solaris than FreeBSD so if anyone has built 1.1.5 with FreeBsd (4.4-release) then a quick walk through would be appreciated. First off make depend couldn't resolve an apparently OK include path to giconv.h. I edited the #include statement so that the full path was stated and this seemed to fix that little problem. Now, make is reporting these errors: gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 - I/usr/local/include/libxml2/libxml -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lm - lc_r -L/usr/local/lib -lxml2 -lz -lgiconv -lm -L/usr/local/lib /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': /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c:123: undefined reference to `ws_create' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c:182: undefined reference to `ws_compile_data' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c:194: undefined reference to `ws_free_byte_code' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c:197: undefined reference to `ws_compile_file' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c:206: undefined reference to `ws_result_to_string' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c:213: undefined reference to `ws_destroy' wmlscript/wmlsc.o: In function `pragma_meta': /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c(.text+0x4eb): undefined reference to `ws_utf8_to_latin1' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c(.text+0x4fa): undefined reference to `ws_utf8_to_latin1' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c(.text+0x50f): undefined reference to `ws_utf8_to_latin1' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c(.text+0x586): undefined reference to `ws_utf8_free_data' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c(.text+0x592): undefined reference to `ws_utf8_free_data' /home/admin/tmp/gateway-1.1.5/wmlscript/wmlsc.c(.text+0x59b): undefined reference to `ws_utf8_free_data' *** Error code 1 Further, the documentation says that for FreeBSD the following is needed: CFLAGS='pthread' ./configure and, perhaps, CFLAGS='-Wall -02 -g' ./configure I have messed around trying to get the CFLAGS included but am thrashing around a bit here (I am not familiar with autoconf and am struggling to find clear examples of exactly what I need to do). Any pointers, useful RTFMs and examples from those of you who have done this would be gratefully received! Many thanks in advance for your time and trouble, cheers, Andy.