Ol� a todos.

Estou tentando compilar o driver do modem intel 537 no Mandrake 10 com kernel 2.6.3-4mdk mas n�o tenho tido �xito.

Quando executo o comando make 537 ele me volta a seguinte mensagem de erro:

[EMAIL PROTECTED] intel-537EP]$ 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 `/home/hebermaia/download/modem/intel-537EP/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 /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/serialP.h:26,
from coredrv.c:42:
/lib/modules/2.6.3-4mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/serialP.h:26,
from coredrv.c:42:
/lib/modules/2.6.3-4mdk/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:72,
from /lib/modules/2.6.3-4mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/serialP.h:26,
from coredrv.c:42:
/lib/modules/2.6.3-4mdk/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.3-4mdk/build/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 `/home/hebermaia/download/modem/intel-537EP/coredrv'
make: ** [537] Erro 2




Ao executar o comando make check recebo a seguinte resposta:

[EMAIL PROTECTED] make check
Module precompile check
  Current running kernel is: 2.6.3-4mdk
  /lib/modules...   autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
  autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
  version.h matches running kernel



Ser� que algu�m poderia me ajudar?

Obrigado,

Heber

---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a