From owner-freebsd-questions Mon Aug 13 9: 5:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nsu.ru (b.ns.ssc.nsu.ru [193.124.215.221]) by hub.freebsd.org (Postfix) with ESMTP id 7BFE137B40D for ; Mon, 13 Aug 2001 09:05:24 -0700 (PDT) (envelope-from lucky@land3.nsu.ru) Received: from land3.nsu.ru ([193.124.213.230]) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 15WKDQ-0008CA-00 for questions@freebsd.org; Mon, 13 Aug 2001 23:05:20 +0700 Received: from localhost (lucky@localhost) by land3.nsu.ru (8.11.4/8.11.4) with ESMTP id f7DG5G932620 for ; Mon, 13 Aug 2001 23:05:16 +0700 (NOVST) (envelope-from lucky@land3.nsu.ru) Date: Mon, 13 Aug 2001 23:05:15 +0700 (NOVST) From: Alexey Privalov To: questions@freebsd.org Subject: licq & socks5 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-questions" in the body of the message