Hello everybody,

it seems like compiling licq for socks support isn't piece of cake !
I've followed the instructions in README.SOCKS which solves many errors 
during compilation. But still, after a couple of minutes, gmake dies in the 
same way it did before I added #define INCLUDE_PROTOTYPES to main.cpp and 
socket.cpp. But the weird thing is the it fails with main.o and socket.o (the 
compiled versions). I'm no c++ expert but IMHO this shouldn't happen at this 
stage...

Here are the last lines of gmake :

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'
socket.o: In function `INetSocket::SetLocalAddress(bool)':
socket.o(.text+0xa39): undefined reference to `SOCKSgetsockname'
socket.o: In function `INetSocket::OpenConnection(void)':
socket.o(.text+0xbf2): undefined reference to `SOCKSconnect'
socket.o: In function `INetSocket::StartServer(unsigned int)':
socket.o(.text+0xc93): undefined reference to `SOCKSbind'
socket.o(.text+0xccf): undefined reference to `SOCKSlisten'
socket.o: In function `INetSocket::CloseConnection(void)':
socket.o(.text+0xd50): undefined reference to `SOCKSclose'
socket.o: In function `INetSocket::SendRaw(CBuffer *)':
socket.o(.text+0xda6): undefined reference to `SOCKSsend'
socket.o: In function `INetSocket::RecvRaw(void)':
socket.o(.text+0xe33): undefined reference to `SOCKSrecv'
socket.o: In function `TCPSocket::RecvConnection(TCPSocket &)':
socket.o(.text+0xecf): undefined reference to `SOCKSaccept'
socket.o: In function `TCPSocket::SendPacket(CBuffer *)':
socket.o(.text+0x11aa): undefined reference to `SOCKSsend'
socket.o(.text+0x1204): undefined reference to `SOCKSsend'
socket.o: In function `TCPSocket::RecvPacket(void)':
socket.o(.text+0x140e): undefined reference to `SOCKSrecv'
socket.o(.text+0x15c7): undefined reference to `SOCKSrecv'
collect2: ld returned 1 exit status
gmake[2]: *** [licq] Error 1
gmake[2]: Leaving directory `/usr/src/licq-1.0.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/licq-1.0.4'
gmake: *** [all] Error 2


Thank you in advance !

Dario
 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



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

Reply via email to