On Fri, Jul 13, 2001 at 04:27:11PM -0700, crombie wrote: > hi, > > attempting to install linksys nc100 ethernet card on > debian potato. when compiling using that long gcc > command, > > gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet > -Wall -Wstrict -prototypes -O6 -c tulip.c > '[ -f /usr/include/linux/modversions.h ] && echo > -DMODVERSIONS` > > i get errors with problem in finding modversions.h. in fact, i dun have > anything > under /usr/src/ > > i looked at the makefile and it was looking for stuff in /usr/src/linux. > > --help. > > > Howdy Crombie,
Try the command 'apt-cache search kernel-source' and then install the kernel source package that matches up to the version of the kernel that you're currently running with, for instance... cd /usr/src apt-get install kernel-source-2.2.19 Then I think you have to untar or bunzip2 it like so... tar zxvf <kernel.tar.gz file> or tar jxvf <kernel.tar.bz2 file> Then it should make a directory called 'linux' and you can optionally do the following (it's a good idea)... mv linux linux-2.2.19 ln -sv linux-2.2.19 linux Hope that get you what you're looking for, Jimmy Richards --- Debian gives me a Woody ---
bin4ibxd6OnrW.bin
Description: PGP Key 0x0062D7A7.
pgpA3kd12jpco.pgp
Description: PGP signature