OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Cross compile error
Joshp
post Mar 17 2004, 09:12 AM
Post #1





Group: Members
Posts: 265
Joined: 15-February 04
From: The Chicago land area ,Illinois, USA
Member No.: 1,875



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
Go to the top of the page
 
+Quote Post
lardman
post Mar 18 2004, 04:35 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



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
Go to the top of the page
 
+Quote Post
Joshp
post Mar 18 2004, 02:58 PM
Post #3





Group: Members
Posts: 265
Joined: 15-February 04
From: The Chicago land area ,Illinois, USA
Member No.: 1,875



Thanks lardman works great.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 04:27 AM