LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Intel HaM modem driver (https://www.linuxquestions.org/questions/linux-software-2/intel-ham-modem-driver-14052/)

Johng 02-11-2002 04:39 PM

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

Grimnir 02-12-2002 05:57 AM

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

acid_kewpie 02-12-2002 06:08 AM

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.

Johng 02-12-2002 03:46 PM

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

Dennismull 02-18-2002 02:17 PM

Same problem
 
I would like to the answer to the above questions because i am having the same problems

Grimnir 02-18-2002 10:46 PM

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

djezzer 02-19-2002 04:06 AM

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

Johng 02-19-2002 09:59 PM

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

djezzer 02-20-2002 02:31 AM

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

Johng 02-21-2002 04:14 PM

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 09:13 PM.