how to install kernal-source code?
I need help installing new source code in Red hat Linux 9.0. I am installing a openswitch12 card which will be an IVR. In order to install the drivers for the card I need the kernel source and a complete compiling system installed. I installed the correct source file after that I get an error
gcc>= 2.96-98 is needed by kernel-source 2.4.20-8 What does this mean? and how can I fix this? |
it simply means that you need to install the 2.96-98 or later versions of gcc.
download the same and install it |
It's complaining that you compiler (gcc) is too old. You need to update it. I suppose the easiest way is to find an rpm for it.
I am using gcc 3.3.2 for instance, and it would seem that yours is older than 2.96 |
Where would I find this compiler? On the cd with Red Hat? Does it matter what version as long as its higher than 2.96?
|
http://fr.rpmfind.net/linux/rpm2html...mit=Search+...
You might as well install the latest and greatest: 3.3.2 for redhat is down about 15 lines. NOTE: you will probably need to update your entire toolchain...ie: make, autoconf, binutils. If rpm complains when you update your gcc then find the dependancies you need on www.rpmfind.org and install them. |
Quote:
i think just get the exact compiler 2.96-98 the package manager says. the more modern compilers are not backward compatable with binaries made with the older ones....... if you install 3.3.2 or even 3.0 the stuff it compiles may be broken. also you can only / should only compile a kernel module with exactly the same compiler used to compile the kernel itself ! it won't let you do otherwise |
When I run the new 3.2.2-5 rpm file I now get the following message:
Failed binutils>= 2.12.900.7-1 cpp= 3.2.2-5 blibc-devel>= 2.2.90-12 Does this mean I have to upgrade these before the 3.2.2-5 will work? |
Quote:
Quote:
|
Quote:
|
All times are GMT -5. The time now is 01:13 AM. |