Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make clean fatal: cannot open file '.../version.h' [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zanzer7
n00b
n00b


Joined: 11 Oct 2004
Posts: 30
Location: Denmark

PostPosted: Mon Mar 14, 2005 10:29 am    Post subject: make clean fatal: cannot open file '.../version.h' [SOLVED] Reply with quote

Hello.

I'm having some trouble with the intel8x0 alsa drivers, and I figure I'd better remove every module/kernel option related to this, and start over... but when I run make clean from /usr/src/linux, I get:
Code:
euph0r1c linux # make clean
awk: cmd. line:1: fatal: cannot open file '/usr/src/linux-2.6.11-gentoo-r3/include/linux/version.h' for reading (No such file or directory)

I ls -la too see if the version.h file was there, and nope, it wasn't... not in /usr/src/linux/include/linux/version.h either.
The first error I ever got concerning version.h was when I tried to configure vmware...
Before this, I'd recompiled the kernel a few times before, and I'd also run make clean some times... but now it doesn't seem to work, and I'm getting an error at boot-time, when it's trying to load the intel8x0 module (which I've removed every relation (I could find) to)

Any help will be greatly appreciated
Thanks in advance!

=======
=======

EDIT:

I managed to fix this only minutes after I posted :roll:
Anyway, for the few of you who might encounter this very problem, what I did was
Code:
euph0r1c linux # cp /usr/include/linux/version.h /usr/src/linux/include/linux/version.h && cp /usr/include/linux/version.h /usr/src/linux-2.6.11-gentoo-r3/include/linux/version.h

Of course, remember to edit linux-2.6.11-gentoo-r3 to whatever kernel you're using... if you get some 'file not found' error, try using this command progessively:
Code:
euph0r1c linux # find /*/version.h
euph0r1c linux # find /*/*/version.h
euph0r1c linux # find /*/*/*/version.h
etc...

An alternative way to do this 'progressive find' would be greatly appreciated, as this is the only way I know to search for files :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum