LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling Old Kernel with Old GCC (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-old-kernel-with-old-gcc-4175524220/)

d4n4mp 11-03-2014 01:22 PM

Compiling Old Kernel with Old GCC
 
Hello guys, I'm a newbie in Linux but with a BIG problem in my company.

I'm having problems to make Linux find the multiserial board, it's very Old and didn't has support, it was discontinued. I just have the drivers for a specific linux kernel (2.6.14 and 2.6.9).

I downloaded both to test the drivers, but they didn't accept compile in GCC 4.4.7. I heard that GCC 2.95 can compile any kernel, and THIS is my problem. I just can't install this GCC 2.95, I spent two whole days trying.

Someone have any ideia in how I can do it??

My actual release is CentOS 6.0 with a default kernel 2.6.32-71.e16.i686

Thanks!

John VV 11-03-2014 01:55 PM

I hope this is not an outward facing machine . CentOS 6.0 is 3 years out of date and missing 3 YEARS of security updates

also
you will likley find that downloading random rpm's is the FASTEST way to royally "bleep"-up your system.

when centos 6.1 came out the 6.0 archive moved to the historical archive " The Vault"
NONE of the repos that were on the 6.0 dvd will work
you need to manually edit them to point to the historical archive
Warning:
THESE ARE 3YEARS OUT OF DATE !!!!
and are not supported and have not been supported !!!


http://vault.centos.org/
http://vault.centos.org/6.0/

the VERY LAST updates cent6.0 hade
http://vault.centos.org/6.0/updates/


install the gcc development group FROM THIS REPO
and install the kernel and source FROM THERE

this will install gcc and ALL the extra it NEEDS
Code:

su -
yum groupinstall "Development Tools"



All times are GMT -5. The time now is 06:23 AM.