View Single Post
Old 08-24-07, 05:52 AM   #4
stieltje
Registered User
 
Join Date: Aug 2007
Posts: 1
Default Re: Error with install nvidia driver

Still does not work:


/NVIDIA-FreeBSD-x86-1.0-7185]# bunzip2 patch-driver.bz2 && patch < patch-driver
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- NVIDIA-FreeBSD-x86-100.14.11/x11/driver/Makefile.orig 2007-06-14 00:44:06.000000000 +0200
|+++ NVIDIA-FreeBSD-x86-100.14.11/x11/driver/Makefile 2007-06-23 01:49:37.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 5.
1 out of 1 hunks failed--saving rejects to Makefile.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- NVIDIA-FreeBSD-x86-100.14.11/x11/extension/Makefile.orig 2007-06-14 00:44:06.000000000 +0200
|+++ NVIDIA-FreeBSD-x86-100.14.11/x11/extension/Makefile 2007-06-23 01:51:10.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 6.
1 out of 1 hunks failed--saving rejects to Makefile.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- NVIDIA-FreeBSD-x86-100.14.11/x11/lib/Makefile.orig 2007-06-14 00:44:06.000000000 +0200
|+++ NVIDIA-FreeBSD-x86-100.14.11/x11/lib/Makefile 2007-06-23 01:51:51.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 4.
1 out of 1 hunks failed--saving rejects to Makefile.rej
done

:> export_syms
awk -f /sys/conf/kmod_syms.awk nvidia.kld export_syms | xargs -J% objcopy % nvidia.kld
ld -Bshareable -d -warn-common -o nvidia.ko nvidia.kld
objcopy --strip-debug nvidia.ko
install -o root -g wheel -m 555 nvidia.ko /boot/modules
kldxref /boot/modules
===> lib (install)
===> lib/libGL (install)
===> lib/libnvidia-tls (install)
===> lib/libGLcore (install)
===> lib/libXvMCNVIDIA (install)
===> lib/compat (install)
===> lib/compat/libGL (install)
===> lib/compat/libnvidia-tls (install)
===> lib/compat/libGLcore (install)
===> x11 (install)
===> x11/driver (install)
install: /usr/X11R6/lib/modules/drivers: No such file or directory
*** Error code 71

Stop in /home/stieltje/nvidia_tmp/NVIDIA-FreeBSD-x86-1.0-7185/x11/driver.
*** Error code 1

Stop in /home/stieltje/nvidia_tmp/NVIDIA-FreeBSD-x86-1.0-7185/x11.
*** Error code 1

Stop in /home/stieltje/nvidia_tmp/NVIDIA-FreeBSD-x86-1.0-7185.




# less Makefile.rej
***************
*** 4,10 ****
X11BASE= /usr/X11R6
.endif

- LIBDIR= ${X11BASE}/lib/modules
LIB= nvidia-wfb
SHLIB_MAJOR= 1
SHLIB_LINK= libwfb.so
--- 4,11 ----
X11BASE= /usr/X11R6
.endif

+ #LIBDIR= ${X11BASE}/lib/modules
+ LIBDIR= ${X11BASE}/lib/xorg/modules
LIB= nvidia-wfb
SHLIB_MAJOR= 1
SHLIB_LINK= libwfb.so
stieltje is offline   Reply With Quote