sentiinela
(usa Ubuntu)
Enviado em 30/05/2012 - 12:14h
Boa tarde galera, estou tendo problema para instalar o drive do fabricante da placa de rede
http://www.tendacn.com.br/produtos/linha-lan-cards/tel9901g.html. Na verdade a placa foi reconhecia e esta funcionando com os drives do proprio sistema, porem ela esta funcionando em 10/100, e eu preciso dela em 100/1000 pois a rede da empresa é gigalan. Ao tentar executar os comandos do readme os mesmos não funcionam e não sei o que devo fazer (sou principiante em Linux), ai preciso da ajuda de vocês:
Eu uso o Kubuntu 12.0 ts
Kernel 3.2.0-24-generic
ao executar os comando vem os erros:
root@Firewall-Linux:/home/firewall/Linux/drive# ls
_desktop.ini Makefile README src
root@Firewall-Linux:/home/firewall/Linux/drive# make clean modules
make -C src/ clean
make[1]: Entrando no diretório `/home/firewall/Linux/drive/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Saindo do diretório `/home/firewall/Linux/drive/src'
make -C src/ modules
make[1]: Entrando no diretório `/home/firewall/Linux/drive/src'
make -C /lib/modules/3.2.0-24-generic/build SUBDIRS=/home/firewall/Linux/drive/src modules
make[2]: Entrando no diretório `/usr/src/linux-headers-3.2.0-24-generic'
CC [M] /home/firewall/Linux/drive/src/r8169_n.o
/home/firewall/Linux/drive/src/r8169_n.c:404:21: erro: expected ‘)’ before string constant
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_phy_timer_t_handler’:
/home/firewall/Linux/drive/src/r8169_n.c:551:64: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_timer_handler’:
/home/firewall/Linux/drive/src/r8169_n.c:587:64: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_init_board’:
/home/firewall/Linux/drive/src/r8169_n.c:640:2: erro: implicit declaration of function ‘SET_MODULE_OWNER’ [-Werror=implicit-function-declaration]
/home/firewall/Linux/drive/src/r8169_n.c:646:12: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c:750:89: erro: ‘struct pci_dev’ has no member named ‘slot_name’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_init_one’:
/home/firewall/Linux/drive/src/r8169_n.c:797:12: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c:808:5: erro: ‘struct net_device’ has no member named ‘open’
/home/firewall/Linux/drive/src/r8169_n.c:809:5: erro: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/firewall/Linux/drive/src/r8169_n.c:810:5: erro: ‘struct net_device’ has no member named ‘get_stats’
/home/firewall/Linux/drive/src/r8169_n.c:811:5: erro: ‘struct net_device’ has no member named ‘stop’
/home/firewall/Linux/drive/src/r8169_n.c:812:5: erro: ‘struct net_device’ has no member named ‘tx_timeout’
/home/firewall/Linux/drive/src/r8169_n.c:813:5: erro: ‘struct net_device’ has no member named ‘set_multicast_list’
/home/firewall/Linux/drive/src/r8169_n.c:830:12: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_open’:
/home/firewall/Linux/drive/src/r8169_n.c:1029:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c:1041:2: erro: implicit declaration of function ‘request_irq’ [-Werror=implicit-function-declaration]
/home/firewall/Linux/drive/src/r8169_n.c:1041:53: erro: ‘SA_SHIRQ’ undeclared (first use in this function)
/home/firewall/Linux/drive/src/r8169_n.c:1041:53: nota: each undeclared identifier is reported only once for each function it appears in
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_hw_PHY_reset’:
/home/firewall/Linux/drive/src/r8169_n.c:1117:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_hw_PHY_config’:
/home/firewall/Linux/drive/src/r8169_n.c:1145:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_hw_start’:
/home/firewall/Linux/drive/src/r8169_n.c:1219:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_init_ring’:
/home/firewall/Linux/drive/src/r8169_n.c:1302:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c:1342:3: erro: implicit declaration of function ‘pci_dma_sync_single’ [-Werror=implicit-function-declaration]
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_tx_timeout’:
/home/firewall/Linux/drive/src/r8169_n.c:1376:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_start_xmit’:
/home/firewall/Linux/drive/src/r8169_n.c:1409:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_interrupt’:
/home/firewall/Linux/drive/src/r8169_n.c:1643:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_close’:
/home/firewall/Linux/drive/src/r8169_n.c:1703:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c:1730:2: erro: implicit declaration of function ‘synchronize_irq’ [-Werror=implicit-function-declaration]
/home/firewall/Linux/drive/src/r8169_n.c:1732:2: erro: implicit declaration of function ‘free_irq’ [-Werror=implicit-function-declaration]
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_set_rx_mode’:
/home/firewall/Linux/drive/src/r8169_n.c:1805:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c:1818:17: erro: ‘struct net_device’ has no member named ‘mc_count’
/home/firewall/Linux/drive/src/r8169_n.c:1832:27: erro: ‘struct net_device’ has no member named ‘mc_list’
/home/firewall/Linux/drive/src/r8169_n.c:1832:55: erro: ‘struct net_device’ has no member named ‘mc_count’
/home/firewall/Linux/drive/src/r8169_n.c:1832:87: erro: dereferencing pointer to incomplete type
/home/firewall/Linux/drive/src/r8169_n.c:1834:43: erro: dereferencing pointer to incomplete type
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_get_stats’:
/home/firewall/Linux/drive/src/r8169_n.c:1864:36: erro: ‘struct net_device’ has no member named ‘priv’
/home/firewall/Linux/drive/src/r8169_n.c: Na função ‘rtl8169_init_module’:
/home/firewall/Linux/drive/src/r8169_n.c:1893:2: erro: implicit declaration of function ‘pci_module_init’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: ** [/home/firewall/Linux/drive/src/r8169_n.o] Erro 1
make[2]: ** [_module_/home/firewall/Linux/drive/src] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-headers-3.2.0-24-generic'
make[1]: ** [modules] Erro 2
make[1]: Saindo do diretório `/home/firewall/Linux/drive/src'
make: ** [modules] Erro 2
root@Firewall-Linux:/home/firewall/Linux/drive#
root@Firewall-Linux:/home/firewall/Linux/drive# make install
make -C src/ install
make[1]: Entrando no diretório `/home/firewall/Linux/drive/src'
install -m 644 -c r8169.o /lib/modules/3.2.0-24-generic/kernel/drivers/net/
install: impossível obter estado de "r8169.o": Arquivo ou diretório não encontrado
make[1]: ** [install] Erro 1
make[1]: Saindo do diretório `/home/firewall/Linux/drive/src'
make: ** [install] Erro 2
root@Firewall-Linux:/home/firewall/Linux/drive#
root@Firewall-Linux:/home/firewall/Linux/drive# make install
make -C src/ install
make[1]: Entrando no diretório `/home/firewall/Linux/drive/src'
install -m 644 -c r8169.o /lib/modules/3.2.0-24-generic/kernel/drivers/net/
install: impossível obter estado de "r8169.o": Arquivo ou diretório não encontrado
make[1]: ** [install] Erro 1
make[1]: Saindo do diretório `/home/firewall/Linux/drive/src'
make: ** [install] Erro 2
root@Firewall-Linux:/home/firewall/Linux/drive#
Aguardo a ajuda de voces.