LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problems Installing drivers for an Internal conexant modem (https://www.linuxquestions.org/questions/linux-hardware-18/problems-installing-drivers-for-an-internal-conexant-modem-129707/)

Agent M 12-29-2003 04:01 AM

Problems Installing drivers for an Internal conexant modem
 
I'm having a problem with a conexant internal modem.

Am running Mandrake 9.2 and trying to install a driver for it...When doing "Make install" it runs through some commands and then stops becuse of an error......

"KERNELSRC does not point to a proper directory ( /lib/modules/2.4.22-10mdk/build ) . Stop."

The "build" directory doesn't exist and from what I understand its trying to find Kernel header files??? not sure where these are?? any ideas??

The driver I'm trying to use is available from the following URL:
//uk.geocities.com/loui2k/linu...03041600.tar.gz


Am still fairly new to Linux and would appreciate any and all help :newbie:

Shade 12-29-2003 08:14 AM

/lib/modules/<kernelversion>/build

is simply a symlink to

/usr/src/<kernelversion>

Here's how to fix this:
Get the source for the kernel, if you don't have it. (check /usr/src/ to see.)
Once you've got it, untar it in /usr/src with
tar xjvf <kernelversion>.tar.bz2
Now, simply create that symlink.
ln -s /usr/src/<kernelversion> /lib/modules/<kernelversion>/build

Where <kernelversion> would be something like linux-2.4.22
Now, try again :)
(You need the kernel sources, usually, to compile any kind of driver module.)

-Shade

Agent M 12-30-2003 06:55 AM

Thanks, The Kernel Source isn't there, and have just found out that its not even on any of the 3 CD's ...so am now downloading it....will let you know how I go :)

Btw, what is a symlink?...would that be similar to a windows shortcut??

Agent M 05-30-2004 02:07 AM

Its working btw ( mostly ) , just needed the kernel source. Have another prob now though, but will go find a more appropiate thread for it. Thanks for your help Shade :)


All times are GMT -5. The time now is 03:26 PM.