Hi Thanks again for the good advice.
Ok... I've tried again to install my modem driver: I got stuck shortly after
extracting the files from the tar.gz file. I try to give full details here:

I will be extremely grateful if somebody could tell me what I could do
differently to make it work.

I have an Aztech internal modem in my computer:
Model: MSP2900 56k PCI Modem

The installation cd has a linux tar.gz file in it: slmdm-2.7.14

I created a Modem directory in my home directory home/modem

Then I extracted all the files into that direcectory. So now my directory
structure is home/modem/slmdm-2.7.14

Files in that directory are:

amrmo_init.c
tax_init.c
mdm_params.c
slusb.modules-dist
amrmo.o
fax.o
mdm_sltty.c
slver
Changes
ekernel-ver.c
modem_driver.h
sysdep.c
COPYRIGHT
linux_compat.h
README
sysdep_linux.c
country.dat
Makefile
slamr.modules-dist
sysdep_pci.c
editme.c
mdm_init.c
slmdm.modules-dist
usb.o
FAQ
mdm.o
slmdm.spec
usb_st7554.c

====
I opened the console and for safety gave the 'su' command (It did not ask me
for a password because I did not register a system admin password when I
installed 9.2)

The readme file stated that I had to edit the Makefile to contain

KERNEL_INCLUDES=/path/to/linux/include

So I followed their suggestion and typed the following command in the
console terminal:

[EMAIL PROTECTED] slmdm-2.7.14]# make KERNEL_INCLUDES=/path/to/linux/include

The immediate response was four pages of commands, and because I am stil
typing this e-mail in Windows (because my modem is not installed in linux I
have to retype all the computer's responses here: will try to do so
accurately)

gcc-Wall - O3 - fomit-frame-poi8nter -
D_KERNERL_-DMODULE-DEXPORT_SYMTAB-I. -I/path/to/linux/include -
DMODVERSOINS -- include /path/to/linux/include/linux/modversions.h -o
amrmo_init.o-c amrmo_init.c

<command line>: 138586157:43120:
/path/to/linxu/include/llinux/modversions.h: No such file or directory

In file included from /usr/include/linux/prefetch.h:13,
        from/user/include/linux/list.h:6,
        from /usr/include/llinux/module.h:11,
        from amrmo_init.c:47:
/usr/include/asm/processor.h:55 error: 'CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)
/usr/include/asm/processor.h:55L errorL requested alignment is not a
constant
In file included from /usr/include/linux/moduel.h:297,
        from amrmo_init.c:47:
/usr/include/linux/version.h:2:2 # error
"+++++++++++++++++++++++"
You should not include /usr/include/{linux,asm}/header files directly for
the compilation of kernel modules." "glibc now uses kernel header files from
a well-defined working kernel version (as recommended by Linus Torvalds)
THese files are glibc internal and may not match the ?????? currently runing
kernel. They should only be included via other sytem header files - user
space programs should not directly include <linux/*.h> or <asm/*.h> as
well." To build kernel modules please do the following: Have the kenel
sources installed Make sure that the symbolic link
/lib/moudules/uname -r/build exists and points to the matching kernel source
directory

Now coppy /boot/vmlinuz.version.h to
/lib/modules/uname-r/build/include/linux/version.h

When compiling make sure to use the folloiwng compiler option to use the
correct include files:

-l/lib/modules/uname-r/build/include instead of =l/usr/include/linux

Please udjust the Makefile accordingly.

============================================

IT seems as thought his message is repeated a few times and then it ends off
iwth

In file included from amrmo_init.c:53
linux_compat.h:55:40 : missing binary operator before toke (Repeated a few
times for different compat.h:77:40 etc.)

then:
amrmo:init.c: In fucntion 'amrmo_probeL
warning: implicit declaration of function 'pci_request_regions'
and warning : implicit declaration of cunction ' pci_dev_driver'

make: *** [amrmo_init.o] ERROR 1

[EMAIL PROTECTED] slmdm-2.7.14]#


PLEASE HELP! What do I do to get this driver compiled and installed at the
right place? I hope somebody can make sense of what I've typed above.


Thank you So much:

Weiers


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to