Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 07:46:07 GMT
From:      Martin Nilsson <martin@gneto.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/93374: ports/net/rdesktop does not compile on 4.11
Message-ID:  <200602150746.k1F7k7jf022507@www.freebsd.org>
Resent-Message-ID: <200602150750.k1F7o3xM004678@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93374
>Category:       ports
>Synopsis:       ports/net/rdesktop does not compile on 4.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 07:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Martin Nilsson
>Release:        4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Jan 11 14:46:46 CET 2006
>Organization:
>Environment:
bsdbox# uname -a
FreeBSD bsdbox.filex.se 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Jan 11 14:46:46 CET 2006     root@bsdbox.filex.se:/usr/obj/home/FreeBSD/src/sys/SERVER  i386

>Description:
gcc 2..95.4 does not want to compile this port. 

rdp.c: In function `rdp_out_unistr':
rdp.c:164: syntax error before `iconv_h'
rdp.c:171: `iconv_h' undeclared (first use in this function)
rdp.c:171: (Each undeclared identifier is reported only once
rdp.c:171: for each function it appears in.)
rdp.c:171: `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: syntax error before `iconv_h'
rdp.c:243: `iconv_h' undeclared (first use in this function)
rdp.c:243: `iconv_t' undeclared (first use in this function)
gmake: *** [rdp.o] Fel 1
*** Error code 2

Stop in /home/FreeBSD/ports/net/rdesktop.

>How-To-Repeat:
              
>Fix:
Adding the following line to Makefile fixes this.

USE_GCC=        3.4+

This is probably not the correct fix for 5.x and 6.x but this is the gcc that I had installed.
>Release-Note:
>Audit-Trail:
>Unformatted:



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