|
|
#1 | |
|
Registered User
Join Date: Jun 2006
Posts: 4
|
Hi all,
i just updated my freebsd box to 9.0 RELEASE and i tried to rebuild my NVIDIA-FreeBSD-x86_64-290.10 device driver. It seems they check for FreeBSD Release and i get this error: Code:
In file included from nvidia_ctl.c:14: nv-freebsd.h:25:2: error: #error This driver does not support FreeBSD 9.x/-CURRENT! *** Error code 1 Stop in /usr/local/src/NVIDIA-FreeBSD-x86_64-290.10/src. *** Error code 1 Stop in /usr/local/src/NVIDIA-FreeBSD-x86_64-290.10. Thanx Roberto |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
You can remove the #error from the nv-freebsd.h header file to allow the driver to build/install. I'll file a bug to get the driver updated.
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2006
Posts: 4
|
Hi Zander
thanx for your quick reply. I've already think about skipping error the way you suggest and it compile correctly ("make") but entering "make install" command i get another error: Code:
===> x11 (install) ===> x11/driver (install) ===> x11/extension (install) ===> x11/bin (install) ===> x11/man (install) ===> doc (install) ERROR: Failed to load the NVIDIA module! *** Error code 1 Stop in /usr/local/src/NVIDIA-FreeBSD-x86_64-290.10. in my dmesg i see: Code:
KLD nvidia.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type Thanx Roberto |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Nov 2006
Posts: 228
|
Are you sure your kernel source matches the running kernel?
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jun 2006
Posts: 4
|
Hi adamk75,
yes my sources match my kernel release: just updated with cvsup Code:
[root@mrburns ~]# uname -ri 9.0-RELEASE GENERIC Code:
[root@mrburns ~]# kldload nvidia kldload: can't load nvidia: Exec format error |
|
|
|
|
|
#6 | |
|
FreeBSD in Science
Join Date: Jan 2007
Location: Northeim, Germany
Posts: 22
|
Quote:
In a second step you have to build and install new nvidia driver (don't forget to 'make clean' before). BTW, isn't it easier to patch the existing nvidia port a little bit to let him build and install the driver for you? Changing the version number in x11/nvidia-driver/Makefile and after that doing 'make makesum' should be enough to prepare the drivers build. Hope this helps, Rainer |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jun 2006
Posts: 4
|
Hi Rainer,
thanx for help, I succesfully solved modifiyng Makefile to download new driver version 290.10 following instruction here: http://forums.freebsd.org/showthread...nvidia+freebsd http://forums.freebsd.org/showthread...nvidia+freebsd and installed misc/compat8x and everithing worked fine Ciao Roberto |
|
|
|
![]() |
| Thread Tools | |
|
|