Results 1 to 2 of 2
Hey,
I'm trying to compile the linux-2.6.12.1 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 ...
- 07-11-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 1
Kernel compilation error
Hey,
I'm trying to compile the linux-2.6.12.1 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 messages:
fs/binfmt_aout.c:156: Error: operand type mismatch for `cmp'
make[1]: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2
Can someone assist me ?
- 07-12-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
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!


Reply With Quote
