emerson2703
(usa CentOS)
Enviado em 09/10/2009 - 14:14h
renato_pacheco
(usa Slackware) [3] Enviado em 09/10/2009 - 13:39h:
O link correto para a sua placa é esse aki:
http://ftp.de.debian.org/debian/pool/main/a/atl2/atl2_2.0.5.orig.tar.gz
Depois d descompactado, vc dá o comando:
# make
Depois d compilado, execute o comando abaixo para copiar o módulo para o sistema:
# cp atl2.ko /lib/modules/`uname -r`/kernel/drivers/net
Para carregar o módulo, faça:
# modprobe atl2
Quando comando make da erro.
[root@Firewall-Teste atl2-2.0.5]# make
make -C /lib/modules/2.6.18-92.el5/build SUBDIRS=/usr/atl2-2.0.5 modules
make[1]: Entrando no diretório `/usr/src/kernels/2.6.18-92.el5-i686'
CC [M] /usr/atl2-2.0.5/atl2_main.o
/usr/atl2-2.0.5/atl2_main.c:72: error: ‘PCI_VENDOR_ID_ATTANSIC’ undeclared here (not in a function)
/usr/atl2-2.0.5/atl2_main.c: In function ‘atl2_request_irq’:
/usr/atl2-2.0.5/atl2_main.c:712: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/atl2-2.0.5/atl2_main.c:1548:49: error: macro "INIT_WORK" requires 3 arguments, but only 2 given
/usr/atl2-2.0.5/atl2_main.c: In function ‘atl2_probe’:
/usr/atl2-2.0.5/atl2_main.c:1548: error: ‘INIT_WORK’ undeclared (first use in this function)
/usr/atl2-2.0.5/atl2_main.c:1548: error: (Each undeclared identifier is reported only once
/usr/atl2-2.0.5/atl2_main.c:1548: error: for each function it appears in.)
/usr/atl2-2.0.5/atl2_main.c:1548: warning: statement with no effect
/usr/atl2-2.0.5/atl2_main.c:1549:55: error: macro "INIT_WORK" requires 3 arguments, but only 2 given
/usr/atl2-2.0.5/atl2_main.c:1549: warning: statement with no effect
make[2]: ** [/usr/atl2-2.0.5/atl2_main.o] Erro 1
make[1]: ** [_module_/usr/atl2-2.0.5] Erro 2
make[1]: Saindo do diretório `/usr/src/kernels/2.6.18-92.el5-i686'
make: ** [all] Erro 2
[root@Firewall-Teste atl2-2.0.5]#