FreeBSD Port: nvidia-driver-169.07

Alexey Dokuchaev danfe at FreeBSD.org
Thu Feb 28 18:32:53 UTC 2008


On Wed, Feb 27, 2008 at 06:52:48PM -0500, Brodey Dover wrote:
> Trying to compile from ports and unfortunately I continuously receive 
> this stop in the compile process. I have removed and deleted everything 
> that I could from distfiles and temp directories and have been unable to 
> compile. My temporary solution is to run the latest version below this 
> in ports 9x...
> 
> Code:
> /cd /usr/ports/x11/nvidia-driver/;make install clean
> ===>  Building for nvidia-driver-169.07
> ===> src (all)
> cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"169.07\" 
> -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL 
> -DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq 
> -I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings 
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual  -fformat-extensions -std=c99 -c nvidia_subr.c
> nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
> ./nv-freebsd.h:337: error: previous declaration of 'nv_os_agp_init' was here
> nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
> ./nv-freebsd.h:337: 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:338: error: previous declaration of 'nv_os_agp_teardown' 
> was here
> nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
> ./nv-freebsd.h:338: error: previous declaration of 'nv_os_agp_teardown' 
> was here
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.07/src.
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.07.
> *** Error code 1
> 
> Stop in /usr/ports/x11/nvidia-driver.
> *** Error code 1

Confirmed.  This only happens when building against FreeBSD AGP though,
which is not default; that's why I missed it in my testing.  Fix is in
the works.

./danfe


More information about the freebsd-ports mailing list