From owner-freebsd-hackers Wed Aug 15 10:47:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id 8E75E37B434; Wed, 15 Aug 2001 10:47:04 -0700 (PDT) (envelope-from stolz@hyperion.informatik.rwth-aachen.de) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id f7FHl4M20336; Wed, 15 Aug 2001 19:47:04 +0200 (MEST) Received: from hyperion.informatik.rwth-aachen.de (hyperion.Informatik.RWTH-Aachen.DE [137.226.112.212]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/5) with ESMTP id f7FHl3U20330; Wed, 15 Aug 2001 19:47:03 +0200 (MEST) Received: from agamemnon.informatik.rwth-aachen.de (agamemnon.Informatik.RWTH-Aachen.DE [137.226.194.74]) by hyperion.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1) with ESMTP id TAA08311; Wed, 15 Aug 2001 19:45:58 +0200 (MET DST) Received: (from stolz@localhost) by agamemnon.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1-gb-2) id TAA01864; Wed, 15 Aug 2001 19:47:00 +0200 (MET DST) Date: Wed, 15 Aug 2001 19:47:00 +0200 From: Volker Stolz To: Alexey Privalov Cc: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: licq & socks5 (fwd) Message-ID: <20010815194700.A1836@i2.informatik.rwth-aachen.de> Reply-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In freebsd-hackers, you wrote: > i`m trying to compiling licq with socks5 support, but i`d received following > message: > -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)': Which FreeBSD version are you running? Are you using the port in /usr/ports/net/licq, as you should? This doesn't cause any trouble for me. LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include make WITH_SOCKS=1: ... c++ -O -pipe -march=pentium -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 gmake[2]: Leaving directory `/opt/ports/net/licq/work/licq-1.0.3/src' FreeBSD monster.ikea.net 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #27: Sun Aug 12 16:42:41 CEST 2001 vs@monster.ikea.net:/opt/obj/opt/src/sys/MONSTER i386 -- Neues aus Genua? http://germany.indymedia.org/ Volker Stolz * stolz@i2.informatik.rwth-aachen.de * PGP + S/MIME To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message