Installing modem on FC2

Marcelo Manzato fed_usp at yahoo.com.br
Sun Jun 27 21:26:08 UTC 2004


Hi, 

I´m having some problems on installing an Intel 357EP
modem driver on FC2. Actually, the driver is for FC1,
but it´s a test edition to kernel 2.6.x as well.
Following is the error that occurs when I try to
compile the driver. Please, if someone has a
suggestion, just let me know.

Thanks a lot.

****************************************************
# make 357
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/bin/intel-537EP_secure-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
/lib/modules/2.6.5-1.358/build/include/linux/irq.h:20,
                 from
/lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
                 from
/lib/modules/2.6.5-1.358/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.5-1.358/build/include/asm/irq.h:16:25:
irq_vectors.h: No such file or directory
In file included from
/lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
                 from
/lib/modules/2.6.5-1.358/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.5-1.358/build/include/linux/irq.h:70:
error: `NR_IRQS' undeclared here (not in a function)
In file included from
/lib/modules/2.6.5-1.358/build/include/linux/irq.h:72,
                 from
/lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
                 from
/lib/modules/2.6.5-1.358/build/include/linux/delay.h:13,
                 from coredrv.c:34:
/lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:28:
error: `NR_IRQ_VECTORS' undeclared here (not in a
function)
/lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:32:
error: `NR_IRQS' undeclared here (not in a function)
coredrv.c:73: warning: conflicting types for built-in
function `putchar'
coredrv.c: In function
`interruptible_sleep_on_persistReadQ':
coredrv.c:706: warning: `interruptible_sleep_on' is
deprecated (declared at
/lib/modules/2.6.5-1.358/build/include/linux/wait.h:231)
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory
`/usr/local/bin/intel-537EP_secure-2.37.50.0/coredrv'
make: *** [537] Error 2
***************************************************

______________________________________________________________________

Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/





More information about the fedora-list mailing list