peluchi
(usa Slackware)
Enviado em 09/06/2010 - 17:15h
Boa tarde amigos, preciso de ajuda para instalar o modem no Slackware 13.1 64bits
Estou usando o driver martian-full-20100123 (o mesmo q uso no Ubuntu 10.04)
quando do lspci sai isso>>> 01:01.0 Communication controller: Agere Systems 56k WinModem (rev 01)
E quando tento compilar sai isso:
root@darkstar:~# cd /media/DADOS/Matheus/Internet/Modem_Drivers/martian
root@darkstar:/media/DADOS/Matheus/Internet/Modem_Drivers/martian# make
make -C kmodule/ modules
make[1]: Entering directory `/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule'
make -C /lib/modules/2.6.33.4/build M="/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule" modules
make[2]: Entering directory `/usr/src/linux-2.6.33.4'
CC [M] /media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.o
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:54:29: error: linux/ioctl32.h: No such file or directory
In file included from /media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/kmartian.h:12,
from /media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:62:
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:18: error: expected declaration specifiers or '...' before '*' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:18: error: 'fastcall' declared as function returning a function
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:18: warning: function declaration isn't a prototype
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:18: error: field 'fastcall' declared as a function
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:19: error: expected declaration specifiers or '...' before '*' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:19: error: 'fastcall' declared as function returning a function
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:19: warning: function declaration isn't a prototype
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:19: error: field 'fastcall' declared as a function
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:21: error: expected declaration specifiers or '...' before '(' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:21: warning: function declaration isn't a prototype
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:21: error: field 'FASTCALL' declared as a function
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:22: error: expected declaration specifiers or '...' before '(' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:22: warning: function declaration isn't a prototype
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:22: error: field 'FASTCALL' declared as a function
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:19: error: duplicate member 'fastcall'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:22: error: duplicate member 'FASTCALL'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h: In function 'mfifo_next':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:45: error: 'struct mfifo_ops' has no member named 'wrap'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h: In function 'mfifo_put':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:52: error: 'struct mfifo_ops' has no member named 'set'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:54: error: 'struct mfifo_ops' has no member named 'wrap'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h: In function 'mfifo_full':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:62: error: 'struct mfifo_ops' has no member named 'space'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h: In function 'mfifo_get':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:78: error: 'struct mfifo_ops' has no member named 'get'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:81: error: 'struct mfifo_ops' has no member named 'wrap'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h: In function 'mfifo_lastwr':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/mfifo.h:87: error: 'struct mfifo_ops' has no member named 'wrap'
In file included from /media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:64:
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/marsio.h: At top level:
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/marsio.h:8: error: expected ')' before '(' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/marsio.h:9: error: expected ')' before '(' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/marsio.h:10: error: expected ')' before '(' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/marsio.h:11: error: expected ')' before '(' token
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c: In function 'martian_isr':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:119: error: implicit declaration of function 'mars_read_register'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:131: error: implicit declaration of function 'mars_write_register'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:139: error: implicit declaration of function 'mars_write_word'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:160: error: implicit declaration of function 'process_stream'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:160: warning: value computed is not used
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:168: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:168: error: (Each undeclared identifier is reported only once
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:168: error: for each function it appears in.)
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c: In function 'martian_read':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:552: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:552: error: implicit declaration of function 'signal_pending'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:552: error: implicit declaration of function 'schedule'
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c: In function 'martian_add':
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:659: error: 'SA_INTERRUPT' undeclared (first use in this function)
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:659: error: 'SA_SHIRQ' undeclared (first use in this function)
/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.c:662: warning: passing argument 2 of 'request_irq' from incompatible pointer type
include/linux/interrupt.h:117: note: expected 'irq_handler_t' but argument is of type 'enum irqreturn_t (*)(int, void *, struct pt_regs *)'
make[3]: *** [/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule/martian.o] Error 1
make[2]: *** [_module_/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.33.4'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/media/DADOS/Matheus/Internet/Modem_Drivers/martian/kmodule'
make: *** [all] Error 2
root@darkstar:/media/DADOS/Matheus/Internet/Modem_Drivers/martian#
ALguem sabe me dizer o q acontece?