LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-27-2007, 07:38 PM   #1
DanThomas
LQ Newbie
 
Registered: Jan 2007
Location: Princeton, NJ
Distribution: FC6
Posts: 6

Rep: Reputation: 0
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?
 
Old 01-29-2007, 01:05 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 01-30-2007, 07:32 AM   #3
DanThomas
LQ Newbie
 
Registered: Jan 2007
Location: Princeton, NJ
Distribution: FC6
Posts: 6

Original Poster
Rep: Reputation: 0
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...
 
Old 01-30-2007, 03:26 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 01-31-2007, 07:59 AM   #5
DanThomas
LQ Newbie
 
Registered: Jan 2007
Location: Princeton, NJ
Distribution: FC6
Posts: 6

Original Poster
Rep: Reputation: 0
I installed the gcc packages without any trouble, but then got errors on the driver files... I've started a new thread for those, here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect network printer with fc6 Marty757 Linux - Networking 0 11-24-2006 12:06 PM
FC6 sucks....unable to connect to wireless network vikramkone Linux - Laptop and Netbook 2 11-20-2006 01:40 PM
unable to compile new modules in the kernel Menestrel Slackware 1 01-09-2005 05:41 AM
compile and use driver modules in 2.6.2 TroelsSmit Linux - Newbie 1 04-19-2004 08:50 AM
Unable to compile modules in 2.4 (Mandrake 8.0) Asuka Tabi Linux - Software 0 05-02-2001 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration