On Fri, Jun 8, 2012 at 6:46 PM, Adam Lee <adam8157@gmail.com> wrote:
On Fri, Jun 08, 2012 at 06:08:44PM +0600, Aft nix wrote:
Sure about this? Check the output of `file vmlinux`
You were right then.
$file vmlinux $vmlinux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
What's the arch of your host system, and your toolchain?
$uname -ar $Linux kernel.vbox 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux $gcc -v Using built-in specs. Target: x86_64-redhat-linux
So, just add ARCH var when you making, like this: make ARCH=i386 menuconfig make ARCH=i386 bzImage Tested OK. -- Regards, Adam Lee -------------------------------- E-mail: adam8157@gmail.com Website: http://adam8157.info --------------------------------