LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-04-2003, 09:48 PM   #1
Zeth_htp
LQ Newbie
 
Registered: Mar 2003
Distribution: Rethat 8.0
Posts: 23

Rep: Reputation: 15
Problem with compiling my program.


make -Cscripts
make[1]: Entering directory `/root/emu10k1-v0.20a/scripts'

/lib/modules/2.4.18-14/build directory does not exist. Please edit the file 'config'
in this directory and set KERNEL_SOURCE to the correct location of your
kernel source.

You are currently running kernel version 2.4.18-14, the source code should
be for this version.

Ok this is my first time compiling a program. And I get this error. I'm pretty sure I know what I need to do. But where is the proper kernal source?

I'm running RH8.0 kernal 2.4.18-14

Please help.
 
Old 04-04-2003, 09:54 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
your kernel is supposed to be in /usr/src/linux-2.4.18-14
if you don't have it, get kernel source rpm from your cd
 
Old 04-04-2003, 09:56 PM   #3
Zeth_htp
LQ Newbie
 
Registered: Mar 2003
Distribution: Rethat 8.0
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you, I'm going to start cheking my cd's if some one see's this before I say i've acomplished it. Please tell me what cd it is LOL. I bought red hat. Support Linux!
 
Old 04-04-2003, 10:02 PM   #4
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i have no idea

u can mount each cd
and $ find /mnt/cdrom -name "*kernel*"
until you find something like kernel-source
 
Old 04-04-2003, 10:12 PM   #5
Zeth_htp
LQ Newbie
 
Registered: Mar 2003
Distribution: Rethat 8.0
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you.

Last edited by Zeth_htp; 04-04-2003 at 10:28 PM.
 
  


Reply



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
help compiling a program minm Linux - Newbie 3 10-10-2005 01:14 AM
gtkglarea compiling program problem vas_dee Linux - Software 2 03-19-2005 05:23 AM
problem compiling kde and another program poboy975 Linux - Software 3 01-18-2005 12:41 AM
Compiling Program Star3132 Linux - General 8 06-29-2004 05:35 AM
QT3 Problem when compiling a program PaladinCowboy75 Linux - Software 0 10-23-2002 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:17 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
Open Source Consulting | Domain Registration