addnote : zImage is not a big-endian 32-bit ELF image

Ken Tossell ken at
Fri Jul 19 05:25:34 EST 2002

Quoting Srikrishnan Sundararajan <ssrikrishnan at>:

> Hi,
> I'm trying to compile the kernel for ppc64 on an
> RS6000 machine. While doing 'make zImage', I get the
> following error:
> ./addnote zImage
> zImage is not a big-endian 32-bit ELF image.
> make[1]: *** [zImage] Error 1
> make[1]: Leaving directory
> '/usr/src/linux-2.4.13.Suse/arch/ppc64/boot'
> Upon reading the addnote.c file, I find that this
> error message is printed if either of the following is
> not found as part of the zImage's ELF signature.
> ELFCLASS32 (for 32-bit I guess) and ELFDATA2MSB(For
> big-endian)
> Am I missing any thing? Any help will be appreciated.
> srikrishnan

Which patch did you apply? Also, it might be better to use the 2.4.19-rc1
kernel. It is very stable.

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list