MBX kernel compile error

Yiran Duan yiranduan at yahoo.com
Wed Oct 18 08:02:29 EST 2000


Hi,

I tried to compile linux kernel for MBX board on
i686-pc-linux. The package I used to built my
cross-compiler is:

    binutils-2.10
    glibc-2.1.3
    gcc-2.95

The kernel package I used is

    linux-2.2.17

I passed make xconfig, make dep, make clean, but got
the following error at make zImage:

powerpc-linux-gcc -D__KERNEL__
-I/home/compiler/sources/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -D__powerpc__ -fsigned-char
-msoft-float -pipe -fno-builtin -ffixed-r2
-Wno-uninitialized -mmultiple -mstring -mcpu=860
-D__ASSEMBLY__ -c head.S -o head.o
head.S: Assembler messages:
head.S:1829: Error: unsupported relocation type
make[1]: *** [head.o] Error 1
make[1]: Leaving directory
`/home/compiler/sources/linux/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2

Could anyone give me any idea about where I was wrong?

Thank you.
Yiran.

Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list