|
|
#1 | |
|
Registered User
Join Date: Nov 2011
Posts: 3
|
When compiling nvidia kernel module with latest linux kernel 3.7.6, I got this error message:
If you are using a Linux 2.4 kernel, please make sureFortunately, I found a solution on the WWW (http://forums.gentoo.org/viewtopic-t-950330.html), pointing out a missing symlink which makes conftest.sh (subroutine select_makefile) run into a branch designed for V2.6 kernels (http://forum.chip.de/linux/kernel-3-7-6-nvidia-treiber-1710085.html): Code:
if [ -n "$PATCHLEVEL" -a $PATCHLEVEL -ge 6 \
-a -n "$SUBLEVEL" -a $SUBLEVEL -le 5 ]; then
SELECTED_MAKEFILE=Makefile.kbuild
RET=0
fi
![]() IMO, a check for kernel V2 vs. V3 should be added here ... Doing Code:
ln -s /usr/src/linux/include/generated/uapi/linux/version.h /usr/src/linux/include/linux/version.h |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to compile kernel module on 3.7 kernel | giaur | NVIDIA Linux | 3 | 01-03-13 11:11 AM |
| [BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic | rockob | NVIDIA Linux | 36 | 09-26-12 07:48 AM |
| upgrade to xorg server 1.13 damaged Geforce 7300 GT | KDE | NVIDIA Linux | 2 | 09-07-12 08:04 AM |
| Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) | ssnyder | NVIDIA Linux | 1 | 07-01-12 08:14 PM |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |