Hello again..

I am attempting to get my wired ethernet card working. For some reason it doesn't work out of the box.. which is funny because typically its the wireless card that is a pain to get working, but in this case it worked out of the box. I followed a tutorial on this forum for backtrack 2 final.. it made it look very easy to install the proper drivers. I went to the intel website to get the modules for my card. I followed both the instructions on this forum and the instructions in the README file of the modules I got and when I attempt to issue the 'make install' I get the following error:
Code:
make -C /lib/modules/2.6.21.5/build SUBDIRS=/usr/src/e100-3.5.17/src modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
  CC [M]  /usr/src/e100-3.5.17/src/e100.o
/usr/src/e100-3.5.17/src/e100.c:141:26: error: linux/config.h: No such file or directory
/usr/src/e100-3.5.17/src/e100.c: In function 'e100_up':
/usr/src/e100-3.5.17/src/e100.c:2087: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/usr/src/e100-3.5.17/src/e100.c:2676:49: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/usr/src/e100-3.5.17/src/e100.c: In function 'e100_probe':
/usr/src/e100-3.5.17/src/e100.c:2675: error: 'INIT_WORK' undeclared (first use in this function)
/usr/src/e100-3.5.17/src/e100.c:2675: error: (Each undeclared identifier is reported only once
/usr/src/e100-3.5.17/src/e100.c:2675: error: for each function it appears in.)
make[2]: *** [/usr/src/e100-3.5.17/src/e100.o] Error 1
make[1]: *** [_module_/usr/src/e100-3.5.17/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [default] Error 2
Can anyone help me with this error? I haven't been able to find a solution yet and I would like to get my wired card working. Currently backtrack 3 doesn't see it at all. If I issue 'ifconfig eth0 up' I get an error message saying there is no such device. But I can see my ethernet card using the 'lspci' command. These are the name of the drivers I got from the intel site: e100-3.5.17

Any help would greatly be appreciated in helping me figure this one out..
I should added that I am running backtrack 3 final off a USB key with persistent changes working i.e. all my changes are being saved

thank you in advance

cheers

todd


-------------------------------EDIT-----------------------------------------

I was just reading on another website about FC6 at the '/usr/src/linux-2.6.21.5/linux/config.h' folder/file is no longer part of the directory structure.
Is it possible that it no longer exists in the backtrack 3 directory structure? They offer up of a solution of either commenting out the line in the install file that refers to that directory or I change the directory to the kernel directory location and finally under /linux directory to a touch of config.h .

I am not sure if that is a fix.. but it might be worth a shot to try it ?

cheers

todd

kk I managed to make a little progress.. I found another post in the forums that had this error show up in it. This is what I did to fix the
'error: linux/config.h' error:

Code:
cd /usr/src/LINUX_VERSION/include/linux

then issue this command:
ln -s autoconf.h config.h
I can't take credit for discovering it, another user posted this fix. After issuing this command I attempted to install the modules again and I have more errors to try and fix

Code:
bt src # make install
make -C /lib/modules/2.6.21.5/build SUBDIRS=/usr/src/e100-3.5.17/src modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
  CC [M]  /usr/src/e100-3.5.17/src/e100.o
/usr/src/e100-3.5.17/src/e100.c: In function 'e100_up':
/usr/src/e100-3.5.17/src/e100.c:2087: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/usr/src/e100-3.5.17/src/e100.c:2676:49: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/usr/src/e100-3.5.17/src/e100.c: In function 'e100_probe':
/usr/src/e100-3.5.17/src/e100.c:2675: error: 'INIT_WORK' undeclared (first use in this function)
/usr/src/e100-3.5.17/src/e100.c:2675: error: (Each undeclared identifier is reported only once
/usr/src/e100-3.5.17/src/e100.c:2675: error: for each function it appears in.)
make[2]: *** [/usr/src/e100-3.5.17/src/e100.o] Error 1
make[1]: *** [_module_/usr/src/e100-3.5.17/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [default] Error 2
bt src # pwd
/usr/src/e100-3.5.17/src
bt src #
Any ideas what might be causing these errors now?

thank you in advance

cheers

todd