LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-03-2005, 05:27 PM   #1
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Rep: Reputation: 15
Need help with Encore softmodem ENF656-PCI-INPR


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
 
Old 02-03-2005, 07:14 PM   #2
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
hi,
it seems like you need to install the the kenel source for header files,the kernel source is in the fedora core 2 cd's.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
set up softmodem in gentoo onickel Linux - Laptop and Netbook 0 10-13-2005 09:09 AM
installing encore ralink wireless adaptor in xandros laptop supersocialist Linux - Wireless Networking 0 05-19-2005 11:41 PM
Encore Router Firewall Blocks P2P rickh Linux - Hardware 0 05-02-2005 12:14 AM
Canīt find my PCI Agere SoftModem in /dev/modem opensas Linux - Hardware 1 12-17-2004 10:20 AM
[COLOR=red]ENCORE WIRELESS PCI Card 802.11b [/COLOR] enrique145 Linux - Hardware 3 07-07-2004 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration