From: danish on
Hi,

Is it possible to compile kernel 2.6.24 on a RHEL3 on VMware. I tried
it, but during #make, it spewed a lot errors. I couldnt really
understand much except the first line mentioning

#error, Sorry your compiler is too old.
..........................................................
...........................................................
.........................................................
.........................................................

Will I have to compile a newer version of gcc (gcc4) for the
compilation to work) or is there a workaround.

Thanks,
Danish
From: 1PW "OneNpOeSnPuAtMwhistle att a0l dot on
danish wrote:
> Hi,
>
> Is it possible to compile kernel 2.6.24 on a RHEL3 on VMware. I tried
> it, but during #make, it spewed a lot errors. I couldnt really
> understand much except the first line mentioning
>
> #error, Sorry your compiler is too old.
> .........................................................
> ..........................................................
> ........................................................
> ........................................................
>
> Will I have to compile a newer version of gcc (gcc4) for the
> compilation to work) or is there a workaround.
>
> Thanks,
> Danish

Hello Danish:

Are your other applications so entrenched in RHEL3 that an upgrade to
RHEL5.2 is out of the question? Not only would it get gcc 4.1.2, but
it wouldn't be long before any possible Red Hat support would be
retired for RHEL3.

Respectfully,

--
1PW
From: Jean-David Beyer on
1PW wrote:
> danish wrote:
>> Hi,
>>
>> Is it possible to compile kernel 2.6.24 on a RHEL3 on VMware. I tried
>> it, but during #make, it spewed a lot errors. I couldnt really
>> understand much except the first line mentioning
>>
>> #error, Sorry your compiler is too old.
>> .........................................................
>> ..........................................................
>> ........................................................
>> ........................................................
>>
>> Will I have to compile a newer version of gcc (gcc4) for the
>> compilation to work) or is there a workaround.
>>
>> Thanks,
>> Danish
>
> Hello Danish:
>
> Are your other applications so entrenched in RHEL3 that an upgrade to
> RHEL5.2 is out of the question? Not only would it get gcc 4.1.2, but
> it wouldn't be long before any possible Red Hat support would be
> retired for RHEL3.
>
> Respectfully,
>
It depends on what you mean for retirement of support. There is some support
still available for RHEL3. If you have a subscription to RHEL3, you can
upgrade to RHEL 5 (or 4, but why bother) for free. I skipped RHEL4
altogether (though I run CentOS4 on my older machine).

General Availability: Oct 23, 2003
Full Support (including hardware updates): Oct 23, 2003 -- April 30, 2006
Deployment Support: May 1, 2006 -- Jun 30, 2007
Maintenance Support: Jul 1, 2007 -- Oct 31, 2010

OTOH, if the O.P. upgrades to RHEL 5, he will get support longer:

General Availability: Mar 14, 2007
End of Full Support: Mar 31, 2010
End of Deployment Support: Sep 30, 2010
End of Maintenance Support: Mar 31, 2014

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 17:10:01 up 8 days, 21:47, 4 users, load average: 4.41, 4.28, 4.16
From: Sam on
danish writes:

> Hi,
>
> Is it possible to compile kernel 2.6.24 on a RHEL3 on VMware. I tried
> it, but during #make, it spewed a lot errors. I couldnt really
> understand much except the first line mentioning
>
> #error, Sorry your compiler is too old.
> .........................................................
> ..........................................................
> ........................................................
> ........................................................
>
> Will I have to compile a newer version of gcc (gcc4) for the
> compilation to work) or is there a workaround.

Do you really believe that the above error message was issued just to make
your life difficult, or either, perhaps, just perhaps, a valid reason why
the kernel cannot be compiled by your older version of gcc, and kbuild is
nice enough to spell it out for you, instead of having you waste your time
compiling the massive kernel, just to have it blow up later down the road?

Furthermore, since you have RHEL, presumably you have a support contract
with Red Hat, and they would be the best ones to help you implement whatever
you're trying to do.

From: danish on
On Jun 20, 4:48 am, Sam <s...(a)email-scan.com> wrote:
> danish writes:
> > Hi,
>
> > Is it possible to compile kernel 2.6.24 on a RHEL3 on VMware. I tried
> > it, but during #make, it spewed a lot errors. I couldnt really
> > understand much except the first line mentioning
>
> > #error, Sorry your compiler is too old.
> > .........................................................
> > ..........................................................
> > ........................................................
> > ........................................................
>
> > Will I have to compile a newer version of gcc (gcc4) for the
> > compilation to work) or is there a workaround.
>
> Do you really believe that the above error message was issued just to make
> your life difficult, or either, perhaps, just perhaps, a valid reason why
> the kernel cannot be compiled by your older version of gcc, and kbuild is
> nice enough to spell it out for you, instead of having you waste your time
> compiling the massive kernel, just to have it blow up later down the road?
>
> Furthermore, since you have RHEL, presumably you have a support contract
> with Red Hat, and they would be the best ones to help you implement whatever
> you're trying to do.
>
> application_pgp-signature_part
> 1KDownload

Hi,

You all are very true. Upgrade to RHEL5 would be the most logical
thing to do, but i was just trying out. I guess, there is nothing
wrong if I wanna try out something.
Anyways, thanks everyone for your advice.

Regards,
Danish