LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with compiling my program. (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-compiling-my-program-53480/)

Zeth_htp 04-04-2003 09:48 PM

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.

doublefailure 04-04-2003 09:54 PM

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

Zeth_htp 04-04-2003 09:56 PM

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!

doublefailure 04-04-2003 10:02 PM

i have no idea

u can mount each cd
and $ find /mnt/cdrom -name "*kernel*"
until you find something like kernel-source

Zeth_htp 04-04-2003 10:12 PM

Thank you.


All times are GMT -5. The time now is 12:52 AM.