Compiling 2.3.39

Hopefully this isn't to tough...

I am trying to compile 2.3.39 (latest development kernel), I updated all my libraries to/or above the required levels.  I did a make xconfig and set my configuration.  I then followed that up with a make dep and finally a make bzImage, which fails with the following error:

init/main.c:O:malformed option '-D __pentiumpro__-D__pentiumpro'

This occured within seconds of pressing enter -- I don't believe this is normal.  Could anyone give me a hint on what went wrong?  Thanks NASA

BTW:  my system is based off of Redhat 6.0 and I am using egcs-2.96.66 for a compiler.
LVL 1
nasaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

didierCommented:
There should probably be a space between the two defines

as in : '-D __pentiumpro__ -D__pentiumpro'

Now as to why this is messed up, I'm not sure.

Could be that your config puts the build in a mode which
uncovers a bug in the makefiles (it's a development kernel
after all).

Try to reset the config to default and build a kernel this
way just to validate that theory.

If it works it's likely that the makefiles have a bug.

-D
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nasaAuthor Commented:
As you mentioned, there does seem to be a problem with the makefiles.  I have seen a couple of other people mention similar problems.  Thanks

Nasa
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.