Problem updating nvidia driver

Fraser Tweedale frase at frase.id.au
Thu Jun 12 04:16:06 UTC 2008


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 
> -Wmissin
> g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
> -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' 
> was here
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05/src.
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05.
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver.
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver.
> 
> ===>>> make failed for x11/nvidia-driver
> ===>>> Aborting update
> 
> ===>>> Update for nvidia-driver-169.12 failed
> ===>>> Aborting update
> -----------------------------------------------
> 
> Any ideas?
> 
> Thanks
> 
> 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=yes' 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080612/a56b9a10/attachment.pgp


More information about the freebsd-questions mailing list