[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

gcc compiler version problems



I'm a newbie, I have RH 8.0 installed.  I'm having problems with my integrated video (i845 chipset).  I need to build a kernel (2.4.20).

It specified a minimum gcc level, but mine (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) was higher so I didn't think much about it.

I get partway through and get an error compiling the modules:  "Illegal combination of registers in line 72" .  Researching that it says:
The recommended compiler for the kernel is gcc 2.95.x (x >= 3), and it should be used when you need absolute stability. You may use gcc 3.0.x instead if you wish, although it may cause problems. Later versions of gcc have not received much testing for Linux kernel compilation, and there are almost certainly bugs (mainly, but not exclusively, in the kernel) that will need to be fixed in order to use these compilers.

Ouch.  It also says:
The Red Hat gcc 2.96 compiler subtree can also be used to build this tree. You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not build the kernel correctly.

Now, how do I get the correct compiler installed on my machine?

-g
Can't fix X without XFree86 install, can't install XFree86 without 2.4.20, can't install 2.4.20 cause gcc ain't right....  A few choice cursewords are being thought just now.  It's been a learning experience - and it hasn't been fun so far.
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]