Need help with Encore softmodem ENF656-PCI-INPR.
Code:
00:12.0 Communication controller: Ambient Technologies Inc HaM
controllerless modem (rev 02) Flags: medium devsel, IRQ 10 Memory at
19100000 (32-bit, non-prefetchable) I/O ports at 7400 [size=256]
Capabilities: [60] Power Management version 2
I when to the Intel site where the driver for this modem is kept and downloaded the file.
I had use this file once before when I was testing out RH 8 and I was able to get it to work. However I am using Fedora core 2 and I can not get it to work.
Per the instructions
Code:
3. INSTALLATION Prerequisites: 1. root access 2. bash shell to run install scripts 3. a HaM modem 4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING (found on your distribution's CD) 6 steps to install 1. login as ROOT 2. extract the archive into a directory with "tar -zxvf <archivename>.tgz" 3. cd into the directory it created. 4. Type: make clean 5. Type: make ham Error occurs here: make:*** [ham] Error 2 6. Type: make install
I did a rpm -qa | fgrep kernel and got back
kernel-2.6.5-1.358
kernel-utils-2.4.9.1.131
Here is the results of trying to do step Type: make ham
There seems to be 2 errors what they mean I have no idea. What I have to do no idea.
So thats why I am asking for some help here.
.
Code:
[root@localhost Intel-v92ham-453]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/download_files/encore_modem/unzipped/Intel-v92ham-453/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/download_files/encore_modem/unzipped/Intel-v92ham-453/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/download_files/encore_modem/unzipped/Intel-v92ham-453/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/download_files/encore_modem/unzipped/Intel-v92ham-453/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-v92ham-453]# make ham
Module precompile check
Current running kernel is: 2.6.5-1.358
/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
cd coredrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
ham;
make[1]: Entering directory `/root/download_files/encore_modem/unzipped/Intel-v92ham-453/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -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: In function `kcli':
coredrv.c:317: warning: implicit declaration of function `cli'
coredrv.c: In function `ksave_flags':
coredrv.c:322: warning: implicit declaration of function `save_flags'
coredrv.c: In function `krestore_flags':
coredrv.c:327: warning: implicit declaration of function `restore_flags'
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:354: 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 `/root/download_files/encore_modem/unzipped/Intel-v92ham-453/coredrv'
make: *** [ham] Error 2