Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-15-12, 06:21 AM   #1
giaur
Registered User
 
Join Date: Jan 2012
Posts: 8
Default Unable to compile kernel module on 3.7 kernel

I'm trying to compile module on 3.7 kernel, but without success. This is dkms make.log:

Code:
DKMS make.log for nvidia-313.09 for kernel 3.7-0.slh.3-aptosid-amd64 (x86_64)
Sat Dec 15 13:11:32 CET 2012
./conftest.sh: 1703: [: -le: unexpected operator
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1
This is latest beta driver compilation log, the same if I use latest stable nvidia drivers. Everything works on 3.6 kernels. Is there any workaround?
giaur is offline   Reply With Quote
Old 12-15-12, 11:33 AM   #2
artem
Registered User
 
Join Date: Jun 2006
Posts: 704
Default Re: Unable to compile kernel module on 3.7 kernel

One: http://www.nvnews.net/vbulletin/showthread.php?t=196187

Two: https://devtalk.nvidia.com/default/t...3-7-patch-fix/
artem is offline   Reply With Quote
Old 12-15-12, 01:12 PM   #3
giaur
Registered User
 
Join Date: Jan 2012
Posts: 8
Default Re: Unable to compile kernel module on 3.7 kernel

Ok, so I should not ask any questions on this forum, right? I've alreday fixed this by myself by creating by ln -s to version.h, after this driver compiles without need to be patched.

But thanks for your response anyway, in this case I'm going to register on official nvidia forum and ask my future questions there.
giaur is offline   Reply With Quote
Old 01-03-13, 11:11 AM   #4
mahashakti89
Registered User
 
Join Date: Sep 2009
Posts: 14
Default Re: Unable to compile kernel module on 3.7 kernel

Quote:
Originally Posted by giaur View Post
Ok, so I should not ask any questions on this forum, right? I've alreday fixed this by myself by creating by ln -s to version.h, after this driver compiles without need to be patched.

But thanks for your response anyway, in this case I'm going to register on official nvidia forum and ask my future questions there.
Can you give the exact command line ??

Thanks

mahashakti89
mahashakti89 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:06 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.