Join Today
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    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 Attached Files
    -------------------------------------
    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.

  2. #2
    Join Date
    Jul 2005
    Location
    Franconia
    Posts
    4,866

    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)

  3. #3
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    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.

  4. #4
    Join Date
    Apr 2007
    Location
    Malang, Indonesia
    Posts
    777

    Default

    mkezx went down?!?!
    I am cute, amn't I?

  5. #5
    Join Date
    Jul 2005
    Location
    Franconia
    Posts
    4,866

    Default

    Quote Originally Posted by jendral_hxr View Post
    mkezx went down?!?!
    It looks dead
    here is some life:
    JerryWeb Projects - MkPhone

  6. #6
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    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.

  7. #7

    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 09:47 AM.

  8. #8
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    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.

    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.

  9. #9
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Congrats, Halftux!
    Say developer, but it's so hard!

  10. #10

    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 to Thread

Similar Threads

  1. ezx-devkit and crosstool
    By blackglasses in forum Development
    Replies: 10
    Last Post: 05-14-2011, 09:21 AM
  2. MKEZX help
    By m41d3n in forum A1200 General Chat
    Replies: 1
    Last Post: 05-04-2007, 08:25 PM
  3. what is MkEZX? and does anyone try it?
    By eakrin in forum Development
    Replies: 11
    Last Post: 10-11-2006, 11:44 PM
  4. Need help with ezx-crosstool-0.5 on SuSE 10.0
    By Kenno in forum Development
    Replies: 4
    Last Post: 06-10-2006, 11:53 AM
  5. how to get ezx-crosstool work with E680?
    By eakrin in forum Development
    Replies: 0
    Last Post: 05-14-2006, 09:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1