Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-26-2007, 05:11 AM   #1
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
/usr/src/linux/include/linux/version.h doesn't exsist

Hello Guys,
I'm having some problems due to upgrading Xorg and making fglrx (ati's driver) not working because of the upgrade.

When I've tried to re-install the ati-drivers was looking for the file :
/usr/src/linux/include/linux/version.h which doesn't exsist.
I've used slackware packages to build the current kernel, but it didn't have /usr/src/linux- built at all, so I've downloaded kernel and unpacked it to /usr/src/linux- and created ln -s /usr/src/linux- /usr/src/linux.
I was expecting that /usr/src/linux/include/linux/version.h would exsists, but it doesn't.

What steps should I make in-order to create that file (so ATI installation would be succesful).

Old 10-26-2007, 06:43 PM   #2
Registered: Feb 2006
Distribution: Debian Sid
Posts: 373

Rep: Reputation: 106Reputation: 106
Not sure what you mean by built.

If you downloaded from, that file does not exist in the source code. It is generated at compile time.

Don't know much about slack but it is included in the slackware package:



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware and /usr/src/linux/include neraka Linux - Newbie 6 03-21-2009 09:01 PM
kernel includes at /usr/src/linux/include do not match current kernel. blanny Red Hat 1 03-09-2006 07:53 AM
location of kernel /usr/src/linux/include ??????? Lord Lance Mandriva 7 12-13-2003 07:41 AM
/usr/include/linux/version.h #error ? jeppe Linux - Newbie 6 09-01-2003 01:15 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

All times are GMT -5. The time now is 10:44 PM.

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