On Sat, 25 Aug 2007 16:55:32 -0400
dan sikorsky <[EMAIL PROTECTED]> wrote:

> freebsd 6.2 i386 generic
> geforce 7300gt
> fresh install.. have updated source, and new ports tree..
> installd x11, and then nvidia drivers no luck, all i get is
> [EMAIL PROTECTED] /usr/ports/x11/nvidia-driver]# make install
> ===>  Building for nvidia-driver-100.14.11
> ===> src (all)
> cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"100.14.11\" 
> -msoft-float -fno-unit-at-a-time -minline-all-stringops  -D_KERNEL 
> -DKLD_MODULE -std=c99 -nostdinc  -I/src -I. -I@ -I@/contrib/altq 
> -finline-limit=8000 --param inline-unit-growth=100 --param 
> large-function-growth=1000 -fno-common  -mno-align-long-strings 
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
> nvidia_ctl.c cc1: error: unrecognized command line option
> "-Wno-pointer-sign" *** Error code 1


Dan, "-Wno-pointer-sign" is not the command line option of gcc-3.4.*,
but of gcc-4.*. Interestingly, this will probably work (without deleting
what is already built):

 # cd /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11/src
 # make
 # cd /usr/ports/x11/nvidia-driver
 # make install

Nikola Lečić
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to