From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 22:43:12 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 C024816A4CE for ; Sun, 4 Jul 2004 22:43:12 +0000 (GMT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B0043D46 for ; Sun, 4 Jul 2004 22:43:12 +0000 (GMT) (envelope-from lukas@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:lukas@norge.freeshell.org [192.94.73.3]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i64Mh2Uc011890; Sun, 4 Jul 2004 22:43:02 GMT Received: (from lukas@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i64Mh2CW002001; Sun, 4 Jul 2004 15:43:02 -0700 (PDT) Date: Sun, 4 Jul 2004 15:43:02 -0700 (PDT) From: Luke X-X-Sender: lukas@norge.freeshell.org To: 3BSD In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: X.Org port broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: LukeD@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 22:43:12 -0000 > I just installed FreeBSD 5.2.1-RELEASE on a computer and after failing > to get XFree86 4.3.1,1 going on my DVI LCD monitor and nVidia FX5200 > card, I wanted to try my luck with X.Org's server, but the port simply > refuses to install.I tried to install it a couple of weeks ago and it > gave me tons of errors even then, this time, it gave me the following > error: > > > ndation"' -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 fu > nction) > 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. > *** Error code 1 > > Stop in /usr/ports/x11/xorg. > I did the same thing for the same reason last week and got the same error. The problem was caused by stale files on my system. Explicitly installing /usr/ports/x11/xorg-libraries before installing /usr/ports/x11/xorg did the trick. This error was just the first in a series of problems caused by stale files, but I fought my way through the installation process and now have xorg running with the latest nvidia drivers so now my video card works and I'm happy. :)