Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 18:32:53 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Brodey Dover <pcfxer@rogers.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: nvidia-driver-169.07
Message-ID:  <20080228183253.GA57295@FreeBSD.org>
In-Reply-To: <47C5F7D0.4040803@rogers.com>
References:  <47C5F7D0.4040803@rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080228183253.GA57295>