=D0=92 Tue, 16 Aug 2011 19:23:06 +0100
Alvaro Castillo <gobledb@gmail.com> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> I try to compile a x11/nvidia-driver and give this error.
>=20
> =3D=3D=3D> Building for nvidia-driver-270.41.19
> =3D=3D=3D> src (all)
> cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"270.41.19\"
> -D__KERNEL__ -DNVRM -Wno-unused-function -O -mno-red-zone
> -mcmodel=3Dkernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
> -DKLD_MODULE -nostdinc
> -I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19/src
> -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param
> inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common
> -fno-omit-frame-pointer -mno-sse -mcmodel=3Dkernel -mno-red-zone
> -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=3Diso9899:1999 -fstack-protector -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
> -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
> -fdiagnostics-show-option -c nvidia_linux.c
> cc1: warnings being treated as errors
> nvidia_linux.c: In function 'linux_ioctl_nvidia':
> nvidia_linux.c:42: warning: passing argument 3 of 'fget' makes integer
> from pointer without a cast
> nvidia_linux.c:42: error: too few arguments to function 'fget'
> *** Error code 1
>=20
> Stop
> in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19/src.
> *** Error code 1
>=20
> Stop
> in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19.
> *** Error code 1
>=20
> Stop in /usr/ports/x11/nvidia-driver.
> *** Error code 1
>=20
> uname -a:
> FreeBSD shuttle0.lan 9.0-BETA1 FreeBSD 9.0-BETA1 #2: Mon Aug 8
> 17:05:59 WEST 2011
> netSys@shuttle0.lan:/usr/obj/usr/src/sys/HYDROGEN amd64
>=20
> Ports has been updated since 19:20 (GMT0)
>=20
> Step to reproduce:
> # cd /usr/ports/x11/nvidia-driver
> # make
>=20
> Options to compile: (From make config command)
>=20
> WITH_FREEBSD_AGP=3Dyes
> WITH_ACPI_PM=3Dyes
> WITHOUT_LINUX=3Dno
> WITH_WBINVD=3Dno
>=20
> -------------------------------------------------------------------------=
---------------------------------
http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026533.html
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"