From owner-freebsd-ports@FreeBSD.ORG Sat Jan 8 18:12:13 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5372816A4CE for ; Sat, 8 Jan 2005 18:12:13 +0000 (GMT) Received: from iramx2.ira.uni-karlsruhe.de (iramx2.ira.uni-karlsruhe.de [141.3.10.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D84A43D1D for ; Sat, 8 Jan 2005 18:12:12 +0000 (GMT) (envelope-from chvogt@tm.uka.de) Received: from iraspam.ira.uni-karlsruhe.de ([141.3.10.6] helo=spamhost.ira.uka.de) by iramx2.ira.uni-karlsruhe.de with esmtp (Exim 3.30 #10) id 1CnL4M-0001YP-00 for ; Sat, 08 Jan 2005 19:12:10 +0100 Received: from amavis by spamhost.ira.uka.de with scanned-ok (Exim 3.30 #3) id 1CnL4M-0000ZA-00 for ; Sat, 08 Jan 2005 19:12:10 +0100 Received: from iramx2.ira.uni-karlsruhe.de ([141.3.10.81]) by spamhost.ira.uka.de with esmtp (Exim 3.30 #3) id 1CnL42-0000XP-00 for ; Sat, 08 Jan 2005 19:11:50 +0100 Received: from i72archimedes.tm.uni-karlsruhe.de ([141.3.71.83]) by iramx2.ira.uni-karlsruhe.de with asmtp (Exim 3.30 #10) id 1CnL41-0001XP-00 for ; Sat, 08 Jan 2005 19:11:49 +0100 Message-ID: <41E02264.1050804@tm.uka.de> Date: Sat, 08 Jan 2005 19:11:48 +0100 From: Christian Vogt User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@FreeBSD.org X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig382CC02FDDFA82A9A189121C" Subject: Nc6 for FreeBSD 4.10 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 18:12:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig382CC02FDDFA82A9A189121C Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I am a Ph.D. student at the University of Karlsruhe, Germany. For a project on Mobile IPv6, I need a simple tool with which data can be transmitted over TCP. The problem is: I depend on outdated FreeBSD 4.10. I guess that Nc6 would give me everything I need. However, when I type # cd /usr/ports/net/nc6/ # make on my FreeBSD 4.10 system, I get an error message: ++++++++++ Making all in src source='circ_buf.c' object='circ_buf.o' libtool=no depfile='.deps/circ_buf.Po' tmpdepfile='.deps/circ_buf.TPo' depmode=gcc /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../contrib -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -O -pipe -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wcast-align -finline-functions -O -pipe -c `test -f 'circ_buf.c' || echo './'`circ_buf.c source='filter.c' object='filter.o' libtool=no depfile='.deps/filter.Po' tmpdepfile='.deps/filter.TPo' depmode=gcc /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../contrib -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -O -pipe -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wcast-align -finline-functions -O -pipe -c `test -f 'filter.c' || echo './'`filter.c filter.c:42: warning: function declaration isn't a prototype filter.c: In function `is_allowed': filter.c:208: `EAI_NODATA' undeclared (first use in this function) filter.c:208: (Each undeclared identifier is reported only once filter.c:208: for each function it appears in.) filter.c:209: `EAI_ADDRFAMILY' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/net/nc6/work/nc6-0.5/src. *** Error code 1 ++++++++++ The two identifiers EAI_NODATA and EAI_ADDRFAMILY appear only one time in the entire Nc6 code, namely, in a swich statement in file filter.c. I replaced the identifiers by their values (7 and 1, respectively), and, guess what, Nc6 compiled successfully. However, when I use the program for a TCP connection, it aborts with an error: # /usr/local/bin/nc6 1000::1 2000 nc6: forward host lookup failed for remote endpoint 1000::1: Non-recoverable failure in name resolution At this time, Nc6 is running in listen mode on node 1000::1. (I called /usr/local/bin/nc6 -l -p 2000 -s 1000::1 on the remote machine.) The funny thing is that I am providing an IPv6 address above, but Nc6 still seems to try doing name resolution. This does not change when I use the "-n" option. I suppose that the problem is due to the software in the Ports archive being incompatible with FreeBSD 4.10. Therefore, I wonder if you have an older version of Nc6 that I could use. As far as the additional software that Nc6 requires goes, I have the following versions on the FreeBSD 4.10 system: expat-1.95.6_1 gettext-0.12.1 libiconv-1.9.1_1 I would be so greatful if you could help me out! Best regards, - Christian PS: Please, send any reply also to "chvogt@tm.uka.de". Thanks. -- Christian Vogt, Institute of Telematics, University of Karlsruhe www.tm.uka.de/~chvogt/ --------------enig382CC02FDDFA82A9A189121C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB4CJkwstEk8gl2rURAtQ1AKDMM/tKPGCBmiuHCrQ/XQu5/KvFZQCdHM0N iwf8HdXHT7b5JgHxqiUdc4o= =5Ji+ -----END PGP SIGNATURE----- --------------enig382CC02FDDFA82A9A189121C--