Micronet SP2612R a Slackware 12

Sekcia: Hardware a Drivery 03.08.2007 | 12:20
Avatar bhujanga Debian  Používateľ
Zdravim vsetkych linuxakov a prosim o pomoc,
som zaciatocnik. Nainstaloval som si Slackware 12 a pokusam sa najprv spojazdnit internet. Mam sietovu kartu Micronet SP2612R. Stiahol som ovladac od vyrobcu pre linux, kernel 2.4x - 2.6.x (driver.zip). Rozbalil som tento archiv na ploche a v terminale som sa presunul do priecinka s rozbalenymi subormi. Podla navodu (README) treba zadat nasledujucu postupnost prikazov - make clean modules, make install, depmod -a . Lenze ked zadam prvy prikaz tak mi terminal vypise chybu takze ovladac ani nenainstalujem:

root@darkstar:~/Desktop/driver# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/Desktop/driver/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/root/Desktop/driver/src'
make -C src/ modules
make[1]: Entering directory `/root/Desktop/driver/src'
make -C /lib/modules/2.6.21.5-smp/build SUBDIRS=/root/Desktop/driver/src modules
make[2]: Entering directory `/usr/src/linux-2.6.21.5'
CC [M] /root/Desktop/driver/src/r1000_n.o
/root/Desktop/driver/src/r1000_n.c:46: error: expected ')' before string constant
/root/Desktop/driver/src/r1000_n.c: In function 'r1000_open':
/root/Desktop/driver/src/r1000_n.c:678: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/root/Desktop/driver/src/r1000_n.c: In function 'r1000_close':
/root/Desktop/driver/src/r1000_n.c:1450: error: 'entdev' undeclared (first use in this function)
/root/Desktop/driver/src/r1000_n.c:1450: error: (Each undeclared identifier is reported only once
/root/Desktop/driver/src/r1000_n.c:1450: error: for each function it appears in.)
make[3]: *** [/root/Desktop/driver/src/r1000_n.o] Error 1
make[2]: *** [_module_/root/Desktop/driver/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.21.5'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Desktop/driver/src'
make: *** [modules] Error 2

Je mi jasne ze nieco nie je v poriadku ale neviem co. Dakujem Vam za vsetky rady.