in reply to Re^2: Perl for ARMv7le
in thread Perl for ARMv7le

Have you tried without the -j4 switch? If you get different error messages at different runs, that sounds like a problem when running multiple build targets at the same time.

Also, it seems that some part of the build process expects to find a miniperl executable locally available. You could try to either build it or link the perl executable to it. But I wonder why it should fail for you when the instructions are correct.

Replies are listed 'Best First'.
Re^4: Perl for ARMv7le
by monk88 (Novice) on Dec 19, 2016 at 20:24 UTC

    I tried without the -j4 option, I get the same error

    ./generate_uudmap uudmap.h bitcount.h mg_data.h ./generate_uudmap: 1: ./generate_uudmap: Syntax error: word unexpected (expecting ")") make: *** uudmap.h Error 2

    also tried "arm" instead of " armle"for -Dtargetarch, but i end up getting same error

      So it seems to me that your shell is incompatible with the shell that generate_uudmap expects.

      This is something you will have to investigate yourself. Maybe it is just some shell variable that is not expanded as it should.

      Have you tried running the command manually or by explicitly using /bin/sh to run it?

        Yes, i get the following error: bash: ./generate_uudmap: cannot execute binary file: Exec format error

        this means it was compiled for other architecture , in this case arm and i was trying to execute it on my local which is x86_64 ?? Its almost seems like the the whole source code needs to reside on the target system, which is my armv7le system in this case.Probably i need to figure out on how to move the native compiler to my target and perform the ./configure and make.