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>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>=20
> [root@green /usr/ports/x11/nvidia-driver]# make install
> =3D=3D=3D>  Building for nvidia-driver-100.14.11
> =3D=3D=3D> src (all)
> cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=3D\"100.14.11\"=20
> -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common=20
> -msoft-float -fno-unit-at-a-time -minline-all-stringops  -D_KERNEL=20
> -DKLD_MODULE -std=3Dc99 -nostdinc  -I/src -I. -I@ -I@/contrib/altq=20
> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param=20
> large-function-growth=3D1000 -fno-common  -mno-align-long-strings=20
> -mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2=20
> -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs=20
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline=20
> -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=C4=8Di=C4=87



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