LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /usr/src/linux doesnt exist? (https://www.linuxquestions.org/questions/linux-newbie-8/usr-src-linux-doesnt-exist-143564/)

santasballz 02-08-2004 01:05 AM

/usr/src/linux doesnt exist?
 
when iam trying to install a driver for wireless lan, the following comes up:
/usr/src/linux is missing or incomplete
what's going on? how do i fix this?

Capt_Caveman 02-08-2004 01:20 AM

Usually the linux source is not installed by default (takes up space and alot of people don't ever need it). It should be on your installation disks (usually the third disk, depending on the distro), so you can just install the linux source files off of there.

santasballz 02-08-2004 01:43 AM

hmm not sure if i quite understand. i have to install something?
i have suse 9 pro and there are 5 disks

megaspaz 02-08-2004 01:45 AM

just look for a file on your cds that look something like kernel-source-X.XX.XXXX.rpm and click it to install that. the X's are just numbers for the kernel version. basically look for an rpm with kernel-source in the name of it.

santasballz 02-08-2004 01:58 AM

alright. and after installing it i will be able to install the driver without hhavingg the problem?

megaspaz 02-08-2004 02:03 AM

well from the other threads you have regarding installing those drivers, i don't know. :p

you need to look at the make thread you started and tell us if you've installed gcc, make, and your development packages.

globeTrotter 02-08-2004 06:02 AM

i had to install the source files to get my winmodem driver working. you sound like you've got the source file installed right??? if so follow on. su to become root then
# cd /usr/src
# ls
you should get a list of files. look specifically for one named 'kernel-x.x.xx-x'
where the x.x.xx-x is your kernel version number. if it's not there, you havent installed the source files. if it is your in luck. now you have to make a file named 'linux' that is a symbolic link to your source file. so:
# ln -s kernel-x.x.xx-x linux
now
# ls
this time you should see the 'linux' file in the list. Now try to install the driver again. make sure you are root when installing drivers and files.
good luck
GT

santasballz 02-08-2004 10:32 AM

thank you poeple


All times are GMT -5. The time now is 06:02 AM.