Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 02:11:57 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Steve Hodgson <steve@howes-macnaghten.com>
Cc:        ports@freebsd.org
Subject:   Re: Problems compiling rdesktop 1.4.1
Message-ID:  <20050516091157.GB4670@dragon.NUXI.org>
In-Reply-To: <200505151343.07338.steve@howes-macnaghten.com>
References:  <200505151343.07338.steve@howes-macnaghten.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <iconv.h>
> -#endif

What is the output of the 'make configure' step?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050516091157.GB4670>