LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-21-2000, 11:07 PM   #1
gravel
LQ Newbie
 
Registered: Aug 2000
Posts: 17

Rep: Reputation: 0
Unhappy


I am trying to compile new drivers for my geforce that I got from Nvidia's site. I untared them and am trying to "make", but for some reason make can't find any of the "include" files. How can I fix this?

Thanks
 
Old 08-22-2000, 12:02 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,738

Rep: Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523
Can you give us a little more info? What error are you getting, what disto are you using, do you have the kernel headers installed, etc.
 
Old 08-22-2000, 03:24 PM   #3
gravel
LQ Newbie
 
Registered: Aug 2000
Posts: 17

Original Poster
Rep: Reputation: 0
I am using RH 6.2 with kernel 2.2.16-3. I believe that I installed the kernel headers, it was one of the packages that I RPM'ed in. The error messages that I am getting is:

.....
linux/fs.h: no such file or directory
linux/errno.h: no such file or directory
.....

and so on

I found these files in /usr/src/linux2.2.16, I believe, so I am assuming that that is the reason. How can I put these files in the right place so make can find them, or what can I do to fix this problem.
 
Old 08-23-2000, 01:43 AM   #4
bickford
Member
 
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79

Rep: Reputation: 15
Lightbulb header files

Way back in the day a linux kernel would typically untar itself into a directory with a naming structure of linux-X.XX.XX within /usr/src/. Also, within this dir there would be a softlink called linux pointing to the linux-X.XX.XX directory. Now they seem to have gone back to a system where if you untar a kernel it simply untars itself to /usr/src/linux. In either case, there is always a directory (or a link) in /usr/src named linux. Is there in fact a "linux" directory within /usr/src/? I understand that you found the header files within /usr/src/linux-2.2.16 but perhaps there is no softlink called "linux" pointing to that directory? If there isn't type "ln -s /usr/src/linux-2.2.16 /usr/src/linux" which will create a file called "linux" which when cd'd to will put you in the linux-2.2.16 directory. Your other option is to actually edit the .c file which is including the header files to look in the linux-2.2.16 directory, i.e. linux-2.2.16/fs.h. Making the softlink is probably a better idea. Let us know how it goes, k? =)
 
Old 08-26-2000, 07:57 PM   #5
gravel
LQ Newbie
 
Registered: Aug 2000
Posts: 17

Original Poster
Rep: Reputation: 0
Sorry it took this long to give you my results, I work alot. I had no luck in compiling anything. I made sure there was a linux directory in /usr/src, and it is linked to linux-2.2.16. I think that so I can get the drivers compiled, I am going to edit the *.c file, though I still want to figure out what the problem is. Any other ideas would be helpful. BTW, I re-installed RH6.2 and rpm'ed the new kernel in. Look at my sig for machine specs.
 
Old 08-26-2000, 08:07 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,738

Rep: Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523
Did you install the nVidia kernel module first and then install the XFree module?

BTW, nice system. If you get a chance: http://www.linuxquestions.org/questi...hp?threadid=47
 
Old 08-26-2000, 11:27 PM   #7
gravel
LQ Newbie
 
Registered: Aug 2000
Posts: 17

Original Poster
Rep: Reputation: 0
Talking

got it working, thanks for the help. I edited the .c file and everything works now, X looks great. Now to get the SBLive to work, my next project. I will do the hd thing a little later on tonight and post results here. Still new to Linux so I have to revert back to windows every so often, but now that I got X running, I won't have to use Lynx, or windows any more.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compliling Quanta 3.2.2 fails Mikessu Linux - Software 0 05-07-2004 08:42 AM
Error compliling kernel shams Linux - Software 4 02-14-2004 12:46 AM
Compliling problems amw2320 Slackware 4 02-09-2004 10:40 PM
compliling giFT scottie Linux - Software 1 11-16-2003 08:03 PM
Compliling a C program harperonline Programming 3 09-10-2003 08:45 AM

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

All times are GMT -5. The time now is 09:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration