On Friday 26 April 2002 12:34, Dario Spagnolo wrote:
> Hello everybody,
>
> it seems like compiling licq for socks support isn't piece of cake !
[...]
> g++ -O2 -fno-exceptions -fno-check-new -o licq licq.o main.o icqpacket.o
> socket.o icqd.o icqd-udp.o icqd-tcp.o icqd-threads.o remoteserver.o
> icqevent.o buffer.o user.o history.o utility.o countrycodes.o log.o
> translate.o file.o message.o support.o pthread_rdwr.o onevent.o plugind.o
> sar.o languagecodes.o icqd-chat.o sighandler.o icqd-filetransfer.o hebrev.o
> icqcolor.o -Wl,--export-dynamic  -lssl -lcrypto -ldl -lpthread
> main.o: In function `main':
> main.o(.text+0x2d): undefined reference to `SOCKSinit'

that's strange ... configure should've added "-lsocks" or "-lsocks5" (without 
the quotes, of course) to your $LIBS ... but you should be able to compile by 
just adding that yourself to src/Makefile ... the line goes something like

LIBS = -lssl -lcrypto -ldl -lpthread  -lnsl

just add " -lsocks" or " -lsocks5", depending on whether you use socks4 or 5.
you might also have to add " -L/usr/lib/socks" if the compiler can'T find the 
library. you'll have to substitute the path with the path to your socks lib, 
of couse.

HTH,

stef

_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to