LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-12-2007, 11:05 PM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
nvidia build wants linux/config.h


I installed FC6 from the Linux Pro December 2006 DVD.
Then I bought a Wacom Intuos3 4.6 graphics tablet.
While trying to get it working I found out that 2.6.19 supports it.

I downloaded the 2.6.19.1 source, ran 'make oldconfig' using the .config that came with FC6 and accepted the defaults for the new bits.

The build and install worked, and I had no problems with it until I tried to build a new nvidia driver.

I'm using version 8773, and it fails with an error saying it cannot find linux/config.h.

The only linux/config.h I can find is an old one from 2.6.18, which does not work...

Any clues?

TIA
Jim
 
Old 01-12-2007, 11:18 PM   #2
tomtechguy
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch and Slackware
Posts: 10

Rep: Reputation: 0
The only thing I can think of is maybe /ust/src/linux isn't pointing to the correct place. Shouldn't you have a file named config.h the include directory of the source?
 
Old 01-13-2007, 12:05 AM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
That's where I would expect it, and where it is for 2.6.18-1. However it is not there for 2.6.19.1.

The only files named config.h present in the source tarball are
./linux-2.6.19.1/fs/dlm/config.h
./linux-2.6.19.1/net/tipc/config.h

and make does not appear to create one.

Jim
 
Old 01-13-2007, 12:20 AM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"However it is not there for 2.6.19.1"

Nope, it's not. Just "touch" it and add a blank one.

touch blah/linux-2.6.19.1/include/linux/config.h
 
Old 01-13-2007, 02:11 AM   #5
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
Thanks. That got me past that problem, but then the build failed with some undefined labels.

I upgraded to 1.0-9631, the last one that works with my card, and everything worked.

Now I just need to settle down, stop random hacking, and read the instructions <shudder> and maybe I'll get my Wacom tablet working...

Jim
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Hack web-enables Linux config/build process LXer Syndicated Linux News 0 10-05-2006 03:33 PM
Kernel Build config file Igor007 Programming 1 08-14-2005 02:39 PM
Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian digorykirke Linux - Software 0 03-16-2005 02:10 AM
RH9 - did 2.6.x kernel build and probs with .config stardotstar Red Hat 5 09-15-2004 06:21 PM
Config File in build directory dwessell Mandriva 1 05-08-2004 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration