Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 09:47:06 +0700 (NOVST)
From:      Alexey Privalov <lucky@land3.nsu.ru>
To:        hackers@freebsd.org
Subject:   licq & socks5 (fwd)
Message-ID:  <Pine.BSF.4.21.0108140946410.34740-100000@land3.nsu.ru>

next in thread | raw e-mail | index | archive | help


---------- Forwarded message ----------
Date: Mon, 13 Aug 2001 23:05:15 +0700 (NOVST)
From: Alexey Privalov <lucky@land3.nsu.ru>
To: questions@freebsd.org
Subject: licq & socks5

hi guys..
i`m trying to compiling licq with socks5 support, but i`d received following
message:
c++ -O2 -fno-exceptions -fno-check-new -pthread -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  -lsocks5 -lssl -lcrypto -lc_r -lc_r
/usr/libexec/elf/ld: cannot find -lsocks5
gmake[2]: *** [licq]  error 1

when i add -L/usr/local/lib in Makefile then i see:
c++ -O2 -fno-exceptions -fno-check-new -pthread -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  -L/usr/local/lib -lsocks5 -lssl -lcrypto -lc_r -lc_r
socket.o: In function `INetSocket::SetLocalAddress(bool)':
socket.o(.text+0x6d6): undefined reference to `SOCKSgetsockname'
socket.o: In function `INetSocket::OpenConnection(void)':
socket.o(.text+0x871): undefined reference to `SOCKSconnect'
socket.o: In function `INetSocket::StartServer(unsigned int)':
socket.o(.text+0x930): undefined reference to `SOCKSbind'
socket.o(.text+0x973): undefined reference to `SOCKSlisten'
socket.o: In function `INetSocket::CloseConnection(void)':
socket.o(.text+0x9d2): undefined reference to `SOCKSclose'
socket.o: In function `INetSocket::SendRaw(CBuffer *)':
socket.o(.text+0xa0f): undefined reference to `SOCKSsend'
socket.o: In function `INetSocket::RecvRaw(void)':
socket.o(.text+0xa82): undefined reference to `SOCKSrecv'
socket.o: In function `TCPSocket::RecvConnection(TCPSocket &)':
socket.o(.text+0xb0b): undefined reference to `SOCKSaccept'
socket.o: In function `TCPSocket::SendPacket(CBuffer *)':
socket.o(.text+0xdad): undefined reference to `SOCKSsend'
socket.o(.text+0xe02): undefined reference to `SOCKSsend'
socket.o: In function `TCPSocket::RecvPacket(void)':
socket.o(.text+0xfb5): undefined reference to `SOCKSrecv'
socket.o(.text+0x1100): undefined reference to `SOCKSrecv'
gmake[2]: *** [licq]  error 1


before compiling i`d installed socks5 lib and checked that libsocks5 exist in
/usr/loca/lib

what i must do?

thanks for all.

/lucky



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108140946410.34740-100000>