Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-11-2002, 04:39 PM
|
#1
|
Member
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 411
Rep:
|
Intel HaM modem driver
Can someone help me install the Intel® MD563X-HaM V.92 chipset Linux driver????
I am using Red Hat Linux 7.1
6 steps to install
1. login as ROOT
2. extract the archive into a directory with "tar -xvf <archivename>.tgz"
3. cd into the directory it created.
4. Type: make clean
5. Type: make all
6. Type: make install
The "make clean" function runs ok, but "make all" cannot find "all". Another forum suggested "make ham". This looked like the solution, but ends up with following Error messages:
. . .
#make ham
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname
-r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX"\ ham;
make[1] Entering directory
'/home/downloads/drivers/modem/Intel_HaM/Intel.v92ham-425/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 include from .. /inc/hamdefs.h.65,
from .. /inc/hamcore.h:39,
from coredrv.c:33
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers
/usr/include/linux/modversions.h:1:2: #error but headers from an appropriate kernel-source
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory '/x-modem/Intel.v92ham-425/coredrv'
make[1]: *** [ham] Error 2
#
It is the last three lines that concern me.
Any help would be very welcome.
Johng
|
|
|
02-12-2002, 05:57 AM
|
#2
|
LQ Newbie
Registered: Feb 2002
Location: Connecticut, USA
Distribution: Redhat 9
Posts: 22
Rep:
|
A Variation on the steps I have seen quite frequently is this:
0) make clean
!) ./configure <assorted args here>
2) make
3) make check
4) make install
This works for alot of the GNU compilations,
maybe it will work for this...
Hope it helps
Grimnir
|
|
|
02-12-2002, 06:08 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you've not got the kernel headers installed on your system which is what
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers
/usr/include/linux/modversions.h:1:2: #error but headers from an appropriate kernel-source
means.
|
|
|
02-12-2002, 03:46 PM
|
#4
|
Member
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 411
Original Poster
Rep:
|
Thank you Grimnir and Chris for your replies.
When I "un-tar" the driver file, it creates 2 shell script files (hamboot and haminst), an executable file (hamregistry), makefile, and 3 sub-directories (coredrv, inc, serial).
Directory 'coredrv' contains 6 .c files, plus hamcore.lib and makefile.
Directory 'inc' contains 6 .h files
Directory 'serial' contains one .c file and makefile
As a newbee, I need to ask more questions.
Grimnir: What are the "assorted args" referred to in the line ./configure ?
Chris: How do I install the kernel headers needed?
Cheers
Johng
|
|
|
02-18-2002, 02:17 PM
|
#5
|
LQ Newbie
Registered: Feb 2002
Location: Arkansas
Posts: 1
Rep:
|
Same problem
I would like to the answer to the above questions because i am having the same problems
|
|
|
02-18-2002, 10:46 PM
|
#6
|
LQ Newbie
Registered: Feb 2002
Location: Connecticut, USA
Distribution: Redhat 9
Posts: 22
Rep:
|
Quote:
Originally posted by Johng
Grimnir: What are the "assorted args" referred to in the line ./configure ?
|
You need to look insiide the INSTALL file that is in the directory with the make file and the configure file, that will give you specifics what argument are available for configure (if any) and general help. The most common Argument is --prefix=<directory> which is where you want the compiled files to go when you install, this usually defaults to /usr/local, but some times you want the files to go to /usr so you would run configure like this:
./configure --prefix=/usr
Try looking in the INSTALL file in the directory where the make and configure files are.
Hope it helps,
Grim
|
|
|
02-19-2002, 04:06 AM
|
#7
|
LQ Newbie
Registered: Feb 2002
Posts: 8
Rep:
|
I have had a same problem like you did, RedHat7.1 comes with kernel 2.4.x and the intel hamdrivers are ready to compile with a kernel not newer than 2.2.x. So go to the intel site, get the new drivers that are prepared for compilation under a 2.4.x kernel and try again.
You might run into other problems after that, but keep posting and you will get answers ;-)
Greetz, dJezzer
|
|
|
02-19-2002, 09:59 PM
|
#8
|
Member
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 411
Original Poster
Rep:
|
Hi
In response to Grimnir, the ./configure command does not appear to have anywhere to go (to do).
And djezzer, I have been trying to install the Intel-v92ham-425.tar from the Intel site, the "readme" file states - "20 November 2001: This release supports 2.4.x kernels."
So at this time, I have not made any progress. The point raised by Chris sounds like a lead, but I don't know what to do about it.
Cheers
Johng
|
|
|
02-20-2002, 02:31 AM
|
#9
|
LQ Newbie
Registered: Feb 2002
Posts: 8
Rep:
|
The reply made by acid_kewpie will get you back on track. Get the new kernel 2.4.17 (latest known stable kernel) including the kernel headers. Compile the kernel and you will be able to compile the hammodem drivers. A good kernel compilation manual can be found at Linuxnewbies ( http://www.linuxnewbie.org/nhf/intel....4upgrade.html ). Be careful, in the submenu 'Network device support' you have to activate the options 'PPP support for sync tty ports' and the same option for async ports. Without those your modem won't find the PPPservice.
Good luck, dJezzer
|
|
|
02-21-2002, 04:14 PM
|
#10
|
Member
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 411
Original Poster
Rep:
|
Thank you dJezzer
I have got the instructions you refer to, and will see what happens.
Cheers
Johng
|
|
|
All times are GMT -5. The time now is 04:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|