LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode (https://www.linuxquestions.org/questions/linux-software-2/where-is-kernel-directory-in-rh9-kernel-2-4-20-8-for-compiling-hsp56-mr-pctel-mode-209363/)

rudy3107 07-25-2004 02:54 AM

Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode
 
I`ve HSP56 MR(pctel) modem,and i`m trying to configure on RedHat 9 kernel Ver-2.4.20-8
but when i try to run pctel setup it give following error message,saying it is not finding
kernel path at /usr/src in /usr/src directory only one Directory "debug" exists
i did`t changed any default settings or kernel
direcory while install. can anyone tell me where is kernel path for RedHat 9
kernel Ver-2.4.20-8 or what is the syntax for correct kernel source tree

i know i can find kernel RPM in 3rd CD,other than this,by default while install RH9,it will not copy kernel to system ?

---------ERROR MSG ------------------
./setup
checking for running kernel version...2.4.20
checking for ptserial...ptserial-2.4.7.c
checking for gcc...2.96
searching for kernel includes...
** error

could not find any kernel sources in /usr/src
you have either not installed your kernel sources or your kernel sources are installed in another place then /usr/src/
please enter your correct kernel source tree, e.g./usr/src/linux: /usr/src/

** error

could not find a version.h file at these kernel sources

please read the FAQ about installation requirements

** compilation error

please read the FAQ about reporting compilation problems
and report this problem.
-------------END of ERROR MSG ---------------

Thank you in Advance.

Quis 07-25-2004 04:17 AM

did you have the kernel source installed?

try in a console:
rpm -qa |grep kernel

if your /usr/src folder doesn't contain a directory like: ./linux-2.4.20-8 you propably have no sources installed.

remember kernel and kernel-sources are not the same


All times are GMT -5. The time now is 05:55 AM.