From owner-freebsd-ports@FreeBSD.ORG Mon May 16 09:11:58 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 A80D016A4CE for ; Mon, 16 May 2005 09:11:58 +0000 (GMT) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70A0243D9D for ; Mon, 16 May 2005 09:11:58 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.3/8.13.3) with ESMTP id j4G9BvJm013187; Mon, 16 May 2005 02:11:57 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.3/8.13.1/Submit) id j4G9BvSQ013186; Mon, 16 May 2005 02:11:57 -0700 (PDT) (envelope-from obrien) Date: Mon, 16 May 2005 02:11:57 -0700 From: "David O'Brien" To: Steve Hodgson Message-ID: <20050516091157.GB4670@dragon.NUXI.org> References: <200505151343.07338.steve@howes-macnaghten.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505151343.07338.steve@howes-macnaghten.com> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i cc: ports@freebsd.org Subject: Re: Problems compiling rdesktop 1.4.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 09:11:58 -0000 On Sun, May 15, 2005 at 01:43:07PM +0100, Steve Hodgson wrote: > I'm having problems compiling net/rdesktop on two machines, a RELENG_5 and a > RELENG_5_3 box, with the following error .. > -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdp.o -c rdp.c > rdp.c: In function `rdp_out_unistr': > rdp.c:164: error: syntax error before "iconv_h" > rdp.c:171: error: `iconv_h' undeclared (first use in this function) > rdp.c:171: error: (Each undeclared identifier is reported only once > rdp.c:171: error: for each function it appears in.) > rdp.c:171: error: `iconv_t' undeclared (first use in this function) > rdp.c:174: warning: implicit declaration of function `iconv_open' > rdp.c:183: warning: implicit declaration of function `iconv' > rdp.c:186: warning: implicit declaration of function `iconv_close' > rdp.c: In function `rdp_in_unistr': > rdp.c:239: error: syntax error before "iconv_h" > rdp.c:243: error: `iconv_h' undeclared (first use in this function) > rdp.c:243: error: `iconv_t' undeclared (first use in this function) > *** Error code 1 > > The following patch fixes this for me... > > --- rdp.c.orig Sun May 15 13:37:47 2005 > +++ rdp.c Sun May 15 13:37:53 2005 > @@ -24,9 +24,7 @@ > #include "rdesktop.h" > > #ifdef HAVE_ICONV > -#ifdef HAVE_ICONV_H > #include > -#endif What is the output of the 'make configure' step?