From owner-freebsd-questions@FreeBSD.ORG Sat Jul 31 04:18:17 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 19B3516A4CE for ; Sat, 31 Jul 2004 04:18:17 +0000 (GMT) Received: from smtp811.mail.sc5.yahoo.com (smtp811.mail.sc5.yahoo.com [66.163.170.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 739EB43D4C for ; Sat, 31 Jul 2004 04:18:16 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@66.122.48.149 with login) by smtp811.mail.sc5.yahoo.com with SMTP; 31 Jul 2004 04:17:40 -0000 From: Joshua Tinnin To: freebsd-questions@freebsd.org Date: Fri, 30 Jul 2004 21:17:48 -0700 User-Agent: KMail/1.6.2 References: <200407291223.04271.krinklyfig@spymac.com> <20040730064342.L35382@familysquires.net> In-Reply-To: <20040730064342.L35382@familysquires.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407302117.48621.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 04:18:17 -0000 (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