LinuxQuestions.org
Review your favorite Linux distribution.
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, 08: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, 04: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, 01: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


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

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

All times are GMT -5. The time now is 10:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration