From owner-freebsd-questions@FreeBSD.ORG Sat Jul 31 05:17:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B672016A4CE for ; Sat, 31 Jul 2004 05:17:03 +0000 (GMT) Received: from smtp801.mail.sc5.yahoo.com (smtp801.mail.sc5.yahoo.com [66.163.168.180]) by mx1.FreeBSD.org (Postfix) with SMTP id 7818743D2F for ; Sat, 31 Jul 2004 05:17:03 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@66.122.48.149 with login) by smtp801.mail.sc5.yahoo.com with SMTP; 31 Jul 2004 05:16:40 -0000 From: Joshua Tinnin To: freebsd-questions@freebsd.org Date: Fri, 30 Jul 2004 22:16:47 -0700 User-Agent: KMail/1.6.2 References: <200407291223.04271.krinklyfig@spymac.com> <200407302117.48621.krinklyfig@spymac.com> <410B1F3F.5000905@makeworld.com> In-Reply-To: <410B1F3F.5000905@makeworld.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407302216.48310.krinklyfig@spymac.com> Subject: Re: Problem updating xorg-clients X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: krinklyfig@spymac.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2004 05:17:03 -0000 On Friday 30 July 2004 09:25 pm, Chris wrote: > Joshua Tinnin wrote: > > (message has been reformatted from top-posting ...) > > > > On Friday 30 July 2004 04:44 am, "Michael L. Squires" > > > > wrote: > >>On Thu, 29 Jul 2004, Joshua Tinnin wrote: > >>>I'm getting an error message (below) when trying to upgrade the > >>>xorg-clients port, and I'm not at all sure how to fix it. Am running > >>>5.2.1-RELEASE-p9 with xorg-6.7.0_1. > >>> > >>>- jt > >>> > >>>making all in programs/xhost... > >>>cc -O -pipe -march=athlon-xp -ansi -pedantic -Wno-system-headers > >>>-Dasm=__asm -Wall -Wpointer-arith -Wundef > >>>-I/usr/ports/x11/xorg-clients/work/xc > >>>-I/usr/ports/x11/xorg-clients/work/xc/exports/include > >>>-I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO > >>>-DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6 > >>> -DBSD44SOCKETS -DXVENDORNAME='"The X.Org Foundation"' > >>>-DXVENDORNAMESHORT='"X.Org"' -c xhost.c > >>>xhost.c: In function `change_host': > >>>xhost.c:423: error: syntax error before "siaddr" > >>>xhost.c:434: error: `siaddr' undeclared (first use in this function) > >>>xhost.c:434: error: (Each undeclared identifier is reported only once > >>>xhost.c:434: error: for each function it appears in.) > >>>xhost.c: In function `get_hostname': > >>>xhost.c:883: error: `XServerInterpretedAddress' undeclared (first use in > >>>this function) > >>>xhost.c:883: error: `sip' undeclared (first use in this function) > >>>xhost.c:884: warning: ISO C89 forbids mixed declarations and code > >>>xhost.c:888: error: syntax error before ')' token > >>>*** Error code 1 > >>> > >>>Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xhost. > >>>*** Error code 1 > >>> > >>>Stop in /usr/ports/x11/xorg-clients/work/xc/programs. > >>>*** Error code 1 > >>> > >>>Stop in /usr/ports/x11/xorg-clients. > >>>** Command failed [exit code 1]: /usr/bin/script -qa > >>>/tmp/portupgrade99236.6 make > >>>** Fix the problem and try again. > >> > >>I just built xorg from scratch under 5.2-CURRENT (of the past few days) > >>and didn't have this problem. > > > > I'm not sure what it is. I tried upgrading again today after a daily > > cvsup, and still getting this error. I know enough about programming to > > know what file and line has the problematic code, but I'm not sure what > > to do to fix it. I think it's on my end, as I haven't heard anyone else > > comment on this issue, but not sure why or where ... > > > > - jt > > Read /usr/ports/UPDATING for Xorg Yes, I did this - btw, I switched to Xorg about a week before it became default on -CURRENT. Since the switch to Xorg, there has only been one announcement about it in UPDATES, and it involves Gnome. Even so, I rebuilt x11-toolkits/libwnck and x11/libxklavier to be sure, but nothing changed as far as the errors go. Anyway, I'm not sure if there's something in there I'm missing and you're trying to get me to read it again, or if you're just saying to RTFM. If there's something in UPDATES I'm missing, please let me know, as I'm a bit lost here. - jt