Problems compiling rdesktop 1.4.1
David O'Brien
obrien at freebsd.org
Mon May 16 02:11:58 PDT 2005
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?
More information about the freebsd-ports
mailing list