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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-24-10, 09:01 PM   #1
hellboy1303
Registered User
 
Join Date: Jun 2010
Posts: 4
Question [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

I have dug around the web on this all day. I have attached my install log file, can't really find what the deal is, any clues?
I have all the kernel items installed (-devel, -headers)

Please help!!
Attached Files
File Type: log nvidia-installer.log (4.0 KB, 131 views)
hellboy1303 is offline   Reply With Quote
Old 06-24-10, 09:38 PM   #2
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

Quote:
Originally Posted by hellboy1303 View Post
I have dug around the web on this all day. I have attached my install log file, can't really find what the deal is, any clues?
I have all the kernel items installed (-devel, -headers)

Please help!!
You should have encrypted that file then left clues all over the internet on how to decode it. That would have made it a bit more challenging to help you. Just a bit.

What is your hardware? Flavor of linux? Self compiled kernel? What was the command you used to try to build the kernel module? Did previous nvidia installs work? Is this a 64bit system and a 32bit nvidia driver?

Yeah, some of this info can be gleaned from the log but why make people dig for it? We're happy to help but help us help you.
Lost Dog is offline   Reply With Quote
Old 06-25-10, 01:09 AM   #3
hellboy1303
Registered User
 
Join Date: Jun 2010
Posts: 4
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

I use Pardus 2009.2 Geronticus eremita. 32 bit.
Graphic card Digital-Alliance NVIDIA Geforce GT 220 Sonic.

and I have done this step.
akbar-pardus / # cd usr/src/linux-source-2.6.31.13-131/
akbar-pardus linux-source-2.6.31.13-131 # make oldconfig
Makefile:303: /usr/src/linux-source-2.6.31.13-131/scripts/Kbuild.include: No such file or directory
make: *** empty variable name. Stop.
make: *** [scripts_basic] Error 2
akbar-pardus linux-source-2.6.31.13-131 # make prepare
Makefile:303: /usr/src/linux-source-2.6.31.13-131/scripts/Kbuild.include: No such file or directory
/bin/sh: line 0: [: -lt: unary operator expected
/usr/src/linux-source-2.6.31.13-131/Makefile:303: /usr/src/linux-source-2.6.31.13-131/scripts/Kbuild.include: No such file or directory
make: *** empty variable name. Stop.
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.


help!!
hellboy1303 is offline   Reply With Quote
Old 06-25-10, 01:31 AM   #4
ledoc
Registered User
 
Join Date: Jan 2008
Posts: 330
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

What distro is pardus based on?

As far as I know, usually you should have a linux-headers package (/usr/src/linux-headers-blah) for that specific kernel.
ledoc is offline   Reply With Quote
Old 06-25-10, 01:48 AM   #5
hellboy1303
Registered User
 
Join Date: Jun 2010
Posts: 4
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

Quote:
Originally Posted by ledoc View Post
What distro is pardus based on?

As far as I know, usually you should have a linux-headers package (/usr/src/linux-headers-blah) for that specific kernel.
To begin with it was based on Gentoo, but as far as I can understand Pardus has from this original derivation become more than a fork, and instead I see how developers choose to come up with their own solutions with a lot of tools and scripts written in Python.
I might be wrong but what I see is a Gentoo base, but except from that a distribution with its own uniqueness.

linux-headers?? did you mean this below..??
akbar-pardus src # cd linux-headers-2.6.
linux-headers-2.6.29.6_23-1-rt/ linux-headers-2.6.31.13-131-pae/
linux-headers-2.6.31.13-131/
akbar-pardus src # cd linux-headers-2.6.31.13-131
akbar-pardus linux-headers-2.6.31.13-131 # ls
arch
Documentation
fs
ipc
lib
Module.symvers
scripts
tools
block
drivers
include
Kbuild
Makefile
net
security
usr
crypto
firmware
init
kernel
mm
samples
sound
hellboy1303 is offline   Reply With Quote
Old 06-25-10, 08:00 AM   #6
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

Is the issue building the kernel or installing the nvidia drivers? From the posts above it looks like you can't get the kernel to compile. Do you have all the needed -dev tools and build tools for your distro?
Lost Dog is offline   Reply With Quote
Old 06-25-10, 12:33 PM   #7
artem
Registered User
 
Join Date: Jun 2006
Posts: 705
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

`make prepare` only works for full kernel sources.

Please, install a development package for your running kernel.
artem is offline   Reply With Quote
Old 06-26-10, 01:29 AM   #8
hellboy1303
Registered User
 
Join Date: Jun 2010
Posts: 4
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

Quote:
Originally Posted by artem View Post
`make prepare` only works for full kernel sources.

Please, install a development package for your running kernel.
I think i have full kernel sources..
Please help!!
hellboy1303 is offline   Reply With Quote

Old 06-26-10, 08:39 AM   #9
artem
Registered User
 
Join Date: Jun 2006
Posts: 705
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

Quote:
Originally Posted by hellboy1303 View Post
I think i have full kernel sources..
Please help!!
"I think" is not equal to "I do have".

Please, ask at your distro forum. We cannot help you any much, since NVIDIA drivers are known to install without any problems if you have everything set up correctly.

It seems like you have messed up with your installation.
artem is offline   Reply With Quote
Old 09-16-10, 11:42 AM   #10
mbunal
Registered User
 
Join Date: Sep 2010
Posts: 1
Default Re: [Need Help!!] ERROR: Unable to build the NVIDIA kernel module.

i have same situation.
i install kernel-source kernel-headers gcc make binutils and required packages.

there is no directory: /usr/src/linux-source-2.6.31.13-131/scripts/ so nvidia installer fail.

script directory contains lots of files on my ubuntu. bt there is no that directory on pardus. so how can i solve that?

baris.
mbunal 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 07:13 AM.


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