LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-23-2005, 07:46 PM   #1
e13438
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Rep: Reputation: 0
error making a module


Hey, I know this is a stupidity, but however I'm too newbie to solve it: I'm trying to compile the bcm57xx driver from Broadcom because the tg3 driver provided with my Debian distribution doesn't want to work. When i type "make" it says

make -C SUBDIRS=/home/emilio/driver/bcm5700-8.2.18/src modules
make: *** SUBDIRS=/home/emilio/driver/bcm5700/src/: file or directory doesn't exist. Stop.
make: *** [default] Error 2

Does it have any relation with the fact that I haven't the kernel-source package installed in my system? (weird...)

Thanks.
 
Old 11-24-2005, 03:10 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Possibly, compiling your own drivers often requires the kernel sources to be installed. By default, this doesn't happen under Debian. Use apt to install the kernel sources for the kernel you're running ("uname -r" will give you the kernel version) and then try compiling your driver again.
 
Old 11-24-2005, 12:52 PM   #3
e13438
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I tried with aptitude (is that the same?) to install the kernel sources, and the only thing I found was the "kernel-headers" of my kernel version. Isn't enough with that? Do I have to download the sources package from my other computer (running windows) and burn a CD in order to install them in my system?
 
  


Reply



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
making sys call ex:insmod,rmmod from function in user module shashishankar_h Linux - General 1 09-01-2005 12:36 AM
module making linuxhippy Slackware 3 03-26-2005 02:01 PM
scripting module making & installing linuxhippy Slackware 2 03-24-2005 06:30 PM
Problems while making the module in Mandrake 10.1 atulhi Mandriva 7 03-05-2005 04:51 AM
3c900 making problem with 3c59x module? realos Linux - General 1 11-08-2002 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 AM.

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