Paul Wolstenholme <[EMAIL PROTECTED]> writes: > gcc -D_REENTRANT=1 -I. -Igw -Wall -O2 -g > -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 -lc_r -L/usr/local/lib -liconv -lm > -L/usr/lib -lcrypto -lssl > wmlscript/wmlsc.o: In function `main': > wmlscript/wmlsc.c:123: undefined reference to `ws_create'
I'd say you need to track the problem back in compiling objects for libwmlscript.a, here's what I get on my Linux machine, e.g. the wmlscript archive should contain a `wm.o' file providing the first missing symbol. [EMAIL PROTECTED] ~/src/gateway] nm wmlscript/wmlsc.o | grep -w ws_create U ws_create [EMAIL PROTECTED] ~/src/gateway] nm libwmlscript.a | grep -w ws_create U ws_create U ws_create 00000000 T ws_create [EMAIL PROTECTED] ~/src/gateway] for i in `ar t libwmlscript.a`; do nm `find -name $i` | grep T.ws_create && echo $i; done 00000000 T ws_create ws.o -- Guillaume Cottenceau