LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 09-11-2009, 06:29 PM   #1
fatimap
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Cannot find linux/config.h


Hello,
I am fairly new to the forum. I am trying the build the scull module from LinuxDeviceDriver examples and ran into the following issue:

"
adminuser@VirtualBoxImages-desktop:~/Desktop/examples/scull$ make
make -C /lib/modules/2.6.27-7-generic/build M=/home/adminuser/Desktop/examples/scull LDDINC=/home/adminuser/Desktop/examples/scull/../include modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /home/adminuser/Desktop/examples/scull/main.o
/home/adminuser/Desktop/examples/scull/main.c:17:26: error: linux/config.h: No such file or directory
/home/adminuser/Desktop/examples/scull/main.c:674: fatal error: opening dependency file /home/adminuser/Desktop/examples/scull/.main.o.d: Permission denied
compilation terminated.
make[2]: *** [/home/adminuser/Desktop/examples/scull/main.o] Error 1
make[1]: *** [_module_/home/adminuser/Desktop/examples/scull] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2
"

How can I get the config.h for the 2.6.27.7 kernel? Is there a patch file that I could use?

Thanks,
Fatima
 
Old 09-12-2009, 03:52 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Squeeze (Fluxbox WM)
Posts: 1,324
Blog Entries: 43

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
The config.h is now called autoconf.h. You could make a symbolic link to solve this:
Code:
cd /usr/src/linux-headers-2.6.27-7-generic/include/linux
ln -s autoconf.h config.h
 
  


Reply

Tags
configh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find | key in Kurumin Linux and need to change Keyboard config. issinho Linux - Laptop and Netbook 2 03-30-2006 02:54 PM
WINE - CONFIG File, can't find it to do first config Hero Doug Linux - Software 1 09-06-2005 12:03 PM
How do i find the proper linux config file? justinfl General 2 10-09-2003 12:01 AM
Cannot find gtk-config and glib-config NOT_Skeletor Linux - Software 3 06-27-2003 10:39 AM


All times are GMT -5. The time now is 01:23 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration