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. |
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.
|
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?
|
All times are GMT -5. The time now is 07:51 PM. |