Compiling the kernel

I'm still having problems compiling a new kernel.   Can someone tell me - is Xconfig a program, like Configure and Menuconfig that comes with the new kernel source?  I ort to be able to invoke this compiler after I've uncompressed a new kernel to its rightful place in /usr/scr.   But I can't.   I've got all the programs that are recommended for installing a new kernel, but where is XCONFIG?   Please someone tell me.

thanks

MAC
cliffhanger121599Asked:
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.

maswanCommented:
Xconfig is not a separate program, but something that is invoked from the makefile.

Just type "make xconfig" in the source directory. (/usr/src/linux, or wherever you put it.)

Or "make menuconfig", "make config" depending on how you want to config the kernel.
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
cliffhanger121599Author Commented:
Thanks for your reply
I forgot to mention that I'm doing all you suggest and I'm getting the following:
rm -f include/asm
(cd include ;ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: entering directory /usr/scr/linux/scripts
gcc -06 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
mcpu=pentium-march=pentium -ffast-maths -fexpensive-optimizations -c -o tkparse.o tkparse.c
cc1:invalid option 'pentium'
...................................'cpu pentium'
...................................'arch=pentium'
....................................-fno-exceptions
make[1]***[kparse.o] Error 1
make[1] Leaving directory as above
make:***{xconfig] Error 2
Any ideas!!!!

MAC

0
maswanCommented:
Ok, then I try harder. :)

What version of gcc do you have? Perhaps upgrading/reinstalling gcc would help?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

cliffhanger121599Author Commented:
Thanks for your reply, I forgot to mention that i've already done what you suggest and get a garbled output, the giste of which is
gcc -o6 -fomit-frame-pointer-fno-exceptions etc
cc1: invalid option 'pentium'
cc1 ........................... 'cpu=pentium'
cc1............................. 'arch=pentium'
cc1..............................'-fno-exceptions'
make{1} tkparse Error1
make*** xconfig Error2

Any ideas?

MAC
0
cliffhanger121599Author Commented:
Sorry i've just repeated myself ignore that.

The gcc version is 2.7.2.3-14 which I beleive is very recent

MAC
0
maswanCommented:
Does it work if you try and compile it with the "gcc -O6"... line manually, without the options it complains on?
0
cliffhanger121599Author Commented:
Sorry, I'm new to linux you will have to spoon feed me.   What would I type to use the gcc -06 line manually?

thanks
MAC
0
cliffhanger121599Author Commented:
Many thanks for all the contribution.   I've solved it by matching the ver. of gcc and cpp.   Worked first time.

Regards

MAC
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.