ports/144058: new nvidia-driver-96 breaks X
Alex de Kruijff
freebsd at akruijff.dds.nl
Thu Feb 18 12:10:01 UTC 2010
>Number: 144058
>Category: ports
>Synopsis: new nvidia-driver-96 breaks X
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 18 12:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alex de Kruijff
>Release: 8.0
>Organization:
>Environment:
FreeBSD Alex1.lan 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Jan 2 12:53:09 CET 2010 root at Alex1.lan:/usr/obj/usr/src/sys/GENERIC i386
nvidia0: <GeForce4 MX 440 with AGP8X> on vgapci0
>Description:
The new driver nvidia-driver-96 doesn't compile. Right now KDE4 doesn't start with this driver, and I need to recompile it to get it to work.
>How-To-Repeat:
# cd /usr/ports/x11/nvidia-driver-96; make
===> Building for nvidia-driver-96.43.16
===> src (all)
cc -O2 -pipe -march=pentium4m -DNV_VERSION_STRING=\"96.43.16\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -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 -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_dev.c
nvidia_dev.c:138: error: conflicting types for 'nvidia_dev_mmap'
nvidia_dev.c:20: error: previous declaration of 'nvidia_dev_mmap' was here
*** Error code 1
Stop in /temp/ports/work/usr/ports/x11/nvidia-driver-96/work/NVIDIA-FreeBSD-x86-96.43.16/src.
*** Error code 1
Stop in /temp/ports/work/usr/ports/x11/nvidia-driver-96/work/NVIDIA-FreeBSD-x86-96.43.16.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver-96.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver-96.
>Fix:
Open /etc/X11/xorg.conf
Change: Driver "nvidia"
To: Driver "nv"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list