Help - Search - Members - Calendar
Full Version: Cross compile error
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Linux Applications
Joshp
Am trying to complie the jffs2 mondule for the 2.4.18 sharp kernel. And I keep getting:
make -C /root/zaurus_kernel/linux SUBDIRS=/root/zaurus_kernel/mtd/kernel modules
make[1]: Entering directory `/root/zaurus_kernel/linux'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
scripts/split-include: scripts/split-include: cannot execute binary file
make[1]: *** [include/config/MARKER] Error 126
make[1]: Leaving directory `/root/zaurus_kernel/linux'
make: *** [all] Error 2

Any Ideas.

JP
lardman
scripts/split-include looks like it needs to be executable on x86 and has probably been cross-compiled.

Either: work out how to specify native- and cross-gcc (it's possible I think though the names are probably different), or just compile split-include with the native x86 compiler and try again.


Si
Joshp
Thanks lardman works great.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.