Source Directory?


Recommended Posts

I'm kinda a linux newbie so please forgive my ignorance.

I'm trying to compile a Wireless Ethernet USB driver for Mandrake 9.0. To do this i run "make configure" and it asks me a few questions. One of them is my source tree directory. It defaults to /usr/src/linux/ which doesn't exist. The only thing in /usr/src/ is another directory called RPMS which contains empty folders?

Any ideas?

Link to comment
Share on other sites

You probably need to install the kernel-source-2.4.19-16mdk rpm. It will install the source code and headers for the kernel in /usr/src/linux-2.4.19 and make a directory /usr/src/linux which is a symlink to the other directory.

Link to comment
Share on other sites

Thats the one, thanx. Now all I need to do is get this blasted driver to work. Correct me if I'm wrong but if the driver works a new device will apear in the /dev/ folder won't it.

Link to comment
Share on other sites

If it is for a network card it is usually /dev/eth0 , just do

insmod whateverthenameis.o (if the file is in /lib/modules/2.4.19-16mdk/kernel/drivers/net/)

If it loads sucessfully, read the documentation that comes with the driver as to what to add to /etc/modules.conf and others to make it load at startup.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.