Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2007 02:53:15 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        dan sikorsky <dan@cupid.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nvidia driver blues
Message-ID:  <200708260057.l7Q0vtpY018991@eunet.yu>
In-Reply-To: <46D09744.5060705@cupid.com>
References:  <46D09744.5060705@cupid.com>

index | next in thread | previous in thread | raw e-mail

On Sat, 25 Aug 2007 16:55:32 -0400
dan sikorsky <dan@cupid.com> 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
> 
> [root@green /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\" 
> -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common 
> -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ć


help

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