Motorola Development Community

Member Login

Quick Search



Development Hacking, development, scripts etc


Reply
  #1  
Old 06-01-2009
Halftux's Avatar
EZX Parser
 
Join Date: Sep 2007
Location: Germany
Posts: 358
Thanks: 28
Thanked 81 Times in 52 Posts
Unhappy MKEZX crosstool build error

Hello all,

I need help for building MKEZX crosstool-ezx please.
I used:

Ubuntu 6.06
gcc/g++ 4.0
configs/default
LD_LIBRARY_PATH is not set
using bin/bash and bin/sh is linked to it

The error is during building binutils-arm / configure libiberty:
Code:
make[1]: Entering directory `/home/halftux/mkezx-0.9.20/build/ezx/binutils-arm'
Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... no
checking for perl... perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-gcc... arm-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-libiberty] Fehler 1
make[1]: Leaving directory `/home/halftux/mkezx-0.9.20/build/ezx/binutils-arm'
make: *** [debian/stamp-makefile-build] Fehler 2
The libiberty config.log is attached.
Any help is appreciated. Thank you.
Attached Files
File Type: txt config.log.txt (7.7 KB, 47 views)
__________________
-------------------------------------
In any apple is a worm. Through each window flies a bug.
That's why I take Linux, because what does not fly can not crash.
Reply With Quote
  #2  
Old 06-05-2009
swifty's Avatar
mostly harmless
 
Join Date: Jul 2005
Location: Franconia
Posts: 4,768
Thanks: 78
Thanked 197 Times in 173 Posts
Default

As you can see, there is not much response here
You can try to get some help on the mailinglist,
but the chance is very low because:
[mkezx] build errors (with fixes)
__________________
Reply With Quote
  #3  
Old 06-06-2009
Halftux's Avatar
EZX Parser
 
Join Date: Sep 2007
Location: Germany
Posts: 358
Thanks: 28
Thanked 81 Times in 52 Posts
Default

Thank you Swifty for your replay.

Maybe I invoke the build with a wrong command.
All host packages were build without error.
It is funny that the script want to build also something for EZX.
When I have some time I will figure it out.

I think first I need to install the host packages.
But I did it under qemu and it took 4 hours.

BTW did somebody know how to set right host flag.

I dont know how to use this command to make a new config...
$o->forHost( [$new_value] )
Get or sets the 'for host' flag.
__________________
-------------------------------------
In any apple is a worm. Through each window flies a bug.
That's why I take Linux, because what does not fly can not crash.
Reply With Quote
  #4  
Old 09-23-2009
jendral_hxr's Avatar
Moto Fans SENR
 
Join Date: Apr 2007
Location: Malang, Indonesia
Posts: 532
Thanks: 8
Thanked 6 Times in 6 Posts
Send a message via Yahoo to jendral_hxr
Default

mkezx went down?!?!
__________________
struct love {
int care;
float beauty;
char *lust; };
Reply With Quote
  #5  
Old 09-23-2009
swifty's Avatar
mostly harmless
 
Join Date: Jul 2005
Location: Franconia
Posts: 4,768
Thanks: 78
Thanked 197 Times in 173 Posts
Default

Quote:
Originally Posted by jendral_hxr View Post
mkezx went down?!?!
It looks dead
here is some life:
JerryWeb Projects - MkPhone
__________________
Reply With Quote
  #6  
Old 09-23-2009
Halftux's Avatar
EZX Parser
 
Join Date: Sep 2007
Location: Germany
Posts: 358
Thanks: 28
Thanked 81 Times in 52 Posts
Unhappy Sad but true

But the svn is still alive.

Code:
svn co https://svn.jerryweb.org/public/mkezx/trunk mkezx
https://svn.jerryweb.org/wsvn/public/mkezx/trunk/
__________________
-------------------------------------
In any apple is a worm. Through each window flies a bug.
That's why I take Linux, because what does not fly can not crash.
Reply With Quote
  #7  
Old 12-30-2009
MotoFans NWBE
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 17 Times in 6 Posts
Default

i've checked your the log
Code:
configure:2144: checking whether the C compiler works
configure:2150: ./a.out
./configure: line 2151: ./a.out: cannot execute binary file
configure:2153: $? = 126
configure:2162: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
as you see, the computer tried to run a.out which is compiled for arm only! So failed. You can delete some related lines in the file "configure".

Last edited by novesky; 12-30-2009 at 08:47 AM.
Reply With Quote
  #8  
Old 12-30-2009
Halftux's Avatar
EZX Parser
 
Join Date: Sep 2007
Location: Germany
Posts: 358
Thanks: 28
Thanked 81 Times in 52 Posts
Default solved

Quote:
Originally Posted by novesky View Post
i've checked your the log
Thank you very much. I hope you did not spent to much time.

Quote:
as you see, the computer tried to run a.out which is compiled for arm only! So failed. You can delete some related lines in configure.
That is a realy good hint I think this will help me for future errors.
However I wanted to build only a crosstool for the host and the script was building more than that also for arm and at this point the crosstool wasn't installed. So I think I used the wrong build command mentioned in post #3. Maybe build-package instead of build-host-package. Sorry that I made it not clear that this error was a user fault so to say it is solved. Thank you for your reply.
__________________
-------------------------------------
In any apple is a worm. Through each window flies a bug.
That's why I take Linux, because what does not fly can not crash.
Reply With Quote
  #9  
Old 12-31-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Congrats, Halftux!
__________________
Say developer, but it's so hard!
Reply With Quote
  #10  
Old 01-01-2010
MotoFans NWBE
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 17 Times in 6 Posts
Default

My pleasure. It didn't take much time. In fact, i got the same error while i was compiling other programs such as python. It's no difficult.
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ezx-devkit and crosstool blackglasses Development 2 11-08-2007 01:18 AM
MKEZX help m41d3n A1200 General Chat 1 05-04-2007 08:25 PM
what is MkEZX? and does anyone try it? eakrin Development 11 10-11-2006 11:44 PM
Need help with ezx-crosstool-0.5 on SuSE 10.0 Kenno Development 4 06-10-2006 11:53 AM
how to get ezx-crosstool work with E680? eakrin Development 0 05-14-2006 09:14 AM

 
Advertisement

Partner Links





Web Analytics