Results 1 to 2 of 2
Hey, I'm trying to compile the linux-18.104.22.168 kernel on ubuntu 11.04 I untared the archive, did a "make defconfig" and I get this error when running "sudo make": fs/binfmt_aout.c: Assembler ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-11-2011 #1
- Join Date
- Jul 2011
Kernel compilation error
I'm trying to compile the linux-22.214.171.124 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 ?
- 07-12-2011 #2
- 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!