Results 1 to 2 of 2
Thread: Kernel compilation error
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2011
Kernel compilation error
I'm trying to compile the linux-126.96.36.199 kernel on ubuntu 11.04
I untared the archive, did a "make defconfig"
and I get this error when running
fs/binfmt_aout.c: Assembler messages:
fs/binfmt_aout.c:156: Error: operand type mismatch for `cmp'
make: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2
Can someone assist me ?
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
First, never built the kernel as root - only to install it after building. Build the kernel as a regular user instead. You also have to tweak the Makefile as well as create the .config file. Read the HowToFaq on building a kernel on the Ubuntu web site. One other thing, the 2.6.12 kernel is very old and not one you would run on a 11.04 system - you would need to rebuild all system libraries and applications as well, and probably build it all with an older version of gcc.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!