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
  Search this Thread
Old 03-28-2002, 11:32 PM   #1
mguzman
LQ Newbie
 
Registered: Feb 2002
Posts: 12

Rep: Reputation: 0
Please help me!!! I'm going nuts!!!!!


I tried to installed the driverss for my sound card, I found a solution, I think, but the problem is since Im new to linux, I don't know the lingo yet.
Can someone please explain to me in plain newbiew english linux talked, how to do the following? , please read quote....

"Yep, I had same problem with Redhat 7.2, but if you read the error, it is simply notifying you that it doesn't want you to link against the /usr/include/linux files, so the simple fix is to go into the Makefile and change -I/usr/src/linux/include to -I/lib/modules/2.4.7-10/build/include (assuming you haven't switched to a new kernel) and it should compile fine, however I'm still having issues with it (ugh). Anyways, you don't necessarily have to go out and download the whole kernel source again =) Good Luck!"
MAKEFILE AND CHANGE? how?

Please help, thank you very much for your help!!!!!
 
Old 03-29-2002, 12:30 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
When you unzip or untar a program, you will see a Makefile that is used to define the actions and parameters that the 'make' program uses to build a program. Alot of Makefiles are generic and may need some changes for YOUR system. So what this person is saying is to change that specific line in the Makefile from the more generic /usr/src/linux/include directory to one that is specific to redhat which is /usr/src/linux-2.4.7-10/build/include in order to make sure that the Makefile is pointing at what it's looking for. You can edit the Makefile with any editor and just plain old change the line by deleteing/backspacing and the old one and typeing the new. Hope this helped your question a little bit? If not i'm sure one of use can be more specific for you...
 
Old 03-30-2002, 02:16 AM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
One thing you can do to avoid this in the future (and avoid editing makefiles) is to link to your kernel source, "ln -s /usr/src/linux-2.4.7-10 /usr/src/linux"
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse going nuts on me! Quade Linux - Newbie 7 11-20-2004 09:55 AM
harddrive going nuts siphi Linux - Newbie 1 03-16-2004 07:51 PM
Going Nuts SelaAragon Linux - Software 10 03-14-2004 11:51 PM
driving me nuts!!! ihatebillgates Linux - Newbie 6 12-12-2003 08:03 AM
I'm going nuts! phonecian Red Hat 3 08-29-2003 10:03 PM


All times are GMT -5. The time now is 08:36 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