From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 04:16:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDCD91065682 for ; Thu, 12 Jun 2008 04:16:06 +0000 (UTC) (envelope-from Fraser@mail.frase.id.au) Received: from mail.frase.id.au (203-219-142-174.static.tpgi.com.au [203.219.142.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1FC8FC18 for ; Thu, 12 Jun 2008 04:16:05 +0000 (UTC) (envelope-from Fraser@mail.frase.id.au) Received: from mail.frase.id.au (localhost [127.0.0.1]) by mail.frase.id.au (8.14.2/8.14.2) with ESMTP id m5C4G4Vw027466 for ; Thu, 12 Jun 2008 14:16:04 +1000 (EST) (envelope-from Fraser@mail.frase.id.au) Received: (from Fraser@localhost) by mail.frase.id.au (8.14.2/8.14.2/Submit) id m5C4G3KC027465 for freebsd-questions@freebsd.org; Thu, 12 Jun 2008 14:16:03 +1000 (EST) (envelope-from Fraser) Date: Thu, 12 Jun 2008 14:16:03 +1000 From: Fraser Tweedale To: freebsd-questions@freebsd.org Message-ID: <20080612041602.GB20722@bacardi> References: <484F960D.90500@eskk.nu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jho1yZJdad60DJr+" Content-Disposition: inline In-Reply-To: <484F960D.90500@eskk.nu> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Problem updating nvidia driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 04:16:06 -0000 --jho1yZJdad60DJr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 11, 2008 at 11:08:29AM +0200, Leslie Jensen wrote: > The update of nvidia-driver-169.12 fails on my system. > ( 7.0-RELEASE-p1 FreeBSD) > ---------------------------------------- > estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 > -Wmissin > g-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef=20 > -Wno-pointer-sign -ff > ormat-extensions -c nvidia_subr.c > nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init' > nv-freebsd.h:406: error: previous declaration of 'nv_os_agp_init' was here > nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown' > nv-freebsd.h:407: error: previous declaration of 'nv_os_agp_teardown'=20 > was here > *** Error code 1 >=20 > Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05/sr= c. > *** Error code 1 >=20 > Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05. > *** Error code 1 >=20 > Stop in /usr/ports/x11/nvidia-driver. > *** Error code 1 >=20 > Stop in /usr/ports/x11/nvidia-driver. >=20 > =3D=3D=3D>>> make failed for x11/nvidia-driver > =3D=3D=3D>>> Aborting update >=20 > =3D=3D=3D>>> Update for nvidia-driver-169.12 failed > =3D=3D=3D>>> Aborting update > ----------------------------------------------- >=20 > Any ideas? >=20 > Thanks >=20 > Leslie FWIW I had major issues with 173.14.05 (X.org crash to syscons at random and usually immediately when using GLX stuff) and reverted to 169.12 which is running once again without issue. Anyhow, I remember experiencing issues like what you're mentioning though it's a while ago so my memory is hazy. IIRC, it comes from conflicts between the Mesa and Nvidia libraries, and there was some voodoo that seemed to help (though I'm not sure if it's still used), which was to set `USE_NVIDIA_GL=3Dyes' in /etc/make.conf. There may also be some library rebuilding needed once that make variable has been set (libGL and friends). Disclaimer: the above advice is based on a hazy memory of dealing with similar issues and may be totally inaccurate and/or snake oil. frase --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhQowAACgkQPw/2FZbemTUwOgCdEUi3GyNc7I3tDg7wPXcfHjW1 4xkAoKQtoAqTMdF7/J4h0EWJtih9Z5zf =/AE0 -----END PGP SIGNATURE----- --jho1yZJdad60DJr+--