Unable to compile network driver modules with FC6 - 2.6.18
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unable to compile network driver modules with FC6 - 2.6.18
I just switched to linux at home, installing FC6. I'm trying to get my network connection working with a D-Link DWL-G122 (B1) wireless, but have been unable to compile the driver module:
[Daniel@localhost Module]$ make -C /lib/modules/2.6.18-1.2798.fc6 SUBDIRS=$PWD modules
make: Entering directory `/lib/modules/2.6.18-1.2798.fc6'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/lib/modules/2.6.18-1.2798.fc6
I saw the FC6 bugs page and figured out that Anaconda had installed the i586 kernel, so I installed the i686 kernel ...but didn't solve the problem. Any suggestions?
You have kernel-devel & kernel-headers installed also matching current running kernel. Also, at Fedora's update site is the latest kernel update 2.6.19-1.2895.fc6, you should manually download it and the matching kernel-devel and kernel-headers packages and install/upgrade them with command:
rpm -Uvh packagename
Replace "packagename" with actual name of package.
If you don't have kernel-devel or kernel-headers packages installed, you would have to install them (newer updates) with install command as such:
rpm -ivh packagename
If you are not sure if they are installed there will be a install.log file in /root with list of all installed packages in the order they were installed. If you selected "Development" category of packages during installation, they should be installed.
The reason I recommend applying the updated kernel packages is because usually they are better and you will have to re-compile your network drivers after updating them latter, so it is better to get that out of the way before compiling your net drivers.
Last edited by Junior Hacker; 01-29-2007 at 01:09 AM.
Junior Hacker - thanks for the help. I guess I didn't install the development set of packages; I didn't have the kernel-devel or kernel-headers installed. So I added them last night along with the 2.6.19 kernel. But I then got errors for gcc, so I'll have to add that package tonight...
You can post the errors here and someone can possibly assist, actually, it would be better to start a new thread for the gcc thing, but also do a search first through the search option in main menu on the right side of this page to find other threads with gcc errors, for keywords you may want to put down exact error message you got.
Last edited by Junior Hacker; 01-30-2007 at 03:33 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.