[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

modem intel 537



Tenho um modem Intel 537 instalado no slack funcionando perfeitamente (este e-mail
é a prova)... O lspci me retorna o seguinte:

00:0a.0 Communication controller: Individual Computers - Jens Schoenfeld Intel 537

Resolvi instalar Debian para aprender a usar esta distro.... Além de alguns erros
no carregamento de módulos, estou tendo dificuldades para instalar o driver do
modem... O lspci me retorna:

0000:00:0a.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface

Estou usando este driver: http://grajagan.rg3.net/intel-537-2.37.50.1.tgz
Funciona no slack 10 e supostamente deve funcionar no Debian...

Minha dúvida é se o problema é no pacote do driver ou falta alguma
biblioteca/software de 'desenvolvimento'... Instalei o Debian usando dois cds, e
pelo aptitude nao aparece a opção 'Desenvolvimento'... Só tenho os softwares bases
e ambiente gráfico, servidor...

O erro que ocorre é na hora de compilar o driver:

#make 537

if [ -a /boot/vmlinuz.version.h ]; then \
        cp /boot/vmlinuz.version.h /lib/modules/`uname
-r`/build/include/linux/version.h; fi
if [  ]; then \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_SOURCE_PATH=
"PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
else \
cd coredrv; make TARGET=TARGET_CATAWBA KERNEL_INCLUDES=/lib/modules/`uname
-r`/build/include \
       "PSTN_DEF=-DTARGET_CATAWBA -DTARGET_LINUX -DLINUX" 537core; \
        fi ;
make[1]: Entering directory `/usr/local/src/intel-537-2.37.50.0/coredrv'
cc -DTARGET_CATAWBA -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname
-r`/build/include -I ../inc -fno-common -DTARGET_CATAWBA   -c -o coredrv.o
coredrv.c
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from coredrv.c:35:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Arquivo ou diretório não encontrado
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from coredrv.c:35:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from coredrv.c:35:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a
function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/sched.h:23,
                 from coredrv.c:35:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: Arquivo ou diretório não encontrado
In file included from /usr/include/linux/irq.h:20,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/serialP.h:26,
                 from coredrv.c:42:
/usr/include/asm/irq.h:16:25: irq_vectors.h: Arquivo ou diretório não encontrado
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/serialP.h:26,
                 from coredrv.c:42:
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/serialP.h:26,
                 from coredrv.c:42:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
coredrv.c:73: warning: conflicting types for built-in function `putchar'
make[1]: ** [coredrv.o] Erro 1
make[1]: Leaving directory `/usr/local/src/intel-537-2.37.50.0/coredrv'
make: ** [537] Erro 2



Reply to: