LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   precompile error when installing modem drivers (https://www.linuxquestions.org/questions/linux-newbie-8/precompile-error-when-installing-modem-drivers-65150/)

tertullian 06-12-2003 06:14 AM

precompile error when installing modem drivers
 
hi

i am installing modem drivers from a tgz file.

they are extracted

after

make clean

I am instructed by the readme fille to make 536ep

I get:

module precompile check
/lib/modules....autoconf.h does not exist
please install kernal source
make *** [check] error 1

I do not understand this message, can antone point me in a direction.

I have redhat 7.3

thanks heaps
brad

chakkerz 06-12-2003 08:13 AM

you need to install the kernel source package that come with your linux distribution (or alternatively those of the kernel you are currently running). The reason for this is that the modem drivers need to access the sources to compile.

in redhat 7.3 the kernel package will be on the first install cd,
in
/RedHat/RPMS (on the CD)
it will be called
kernel-2.4.18-3.athlon.rpm
kernel-2.4.18-3.i386.rpm
or
kernel-2.4.18-3.i686.rpm

one way or another, we currently are up to version 2.4.20 so you might want to consider upgrading either way.
ftp://ftp.kernel.org/
or
ftp://mirror.aarnet.edu.au/
have the current kernel available for download (you just have to find it)

there is a thread here :
http://www.linuxquestions.org/questi...threadid=49035
which relates to compiling a new kernel

tertullian 06-12-2003 09:19 PM

thanks but still need some direction
 
i have installed the kenrnal source fro the dist cd.

however when i boot i am still running the old kernal 2.4.18-3i686

my sytem is athlon so i installed 2.4.18-3athlon

there is a dirctory that matches this install in

/lib/modules/...

but my kernal remains the same when i boot.

regards
brad

chakkerz 06-12-2003 11:10 PM

ah yes

Installing the kernel sources doesn't mean your kernel is upgated. The sources are just that, the source code. After you've installed the sources, you need to go into the /usr/src/linux directory and make a new kernel.

This howevever isn't the issue, neither is that the sources supplied are old (redhat 7.3 comes with 2.4.18, so even if you compile those sources, you'll still be on that kernel version) and you will need to download the latest sources from the web, or get them of a mag cover disk.

The real issue is that, after intalling the sources you should be able to compile the modem drivers, without getting the error.

If you update the kernel, you'll probably still have to compile the modem drivers, in fact, almost definintly.


All times are GMT -5. The time now is 10:07 PM.