HopelessFantasy / openetna

Automatically exported from code.google.com/p/openetna
0 stars 0 forks source link

"/bin/sh: ../../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: not found" #445

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Did you search through the other issues to make sure that this issue has
not been already reported?

Yes I see the the following case similar to my problem, but I don't
know what is the resolution. I already downloaded the arm-eabi-gcc
you sent and the problem remains.
http://code.google.com/p/openetna/issues/detail?id=194#makechanges

Did you look at the FAQ http://wiki.openetna.com/w/Manual:FAQ ?
Did you use SetCPU or other means to overclock the cpu? The report will
only be accepted if the problem occurs _without_ overclocking!

What steps will reproduce the problem?
1.Install VMWare Workstation ubuntu 64-bit (not sure if this matters).
2.Compile Froyo SDK.
3.

What is the expected output? What do you see instead?

The error happens early and the build stops.
/bin/sh: ../../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: 
not found

What version of OpenEtna are you using?

Can you provide logcat output during that error?

If the issue made your phone crash&reboot, please provide the output of
"adb shell cat /proc/last_kmsg" on the boot following the crash.

Please provide any additional information below.

I checked the file exists and has the right permossion.
But it cannot be executed:

cd  ~/WIP/sdk/AP/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
chmod 755 arm-eabi-gcc
ls -l arm-eabi-gcc
-rwxr-xr-x 1 wma wma 425467 2011-03-13 00:00 arm-eabi-gcc
./arm-eabi-gcc
bash: ./arm-eabi-gcc: No such file or directory

This should eliminate the symbolic link or relative path problems, but still it 
doesn’t the file under the current directory. 
However I file I created can be found:

touch a
chmod 755 a
a
a: command not found
./a
(empty executable file "a" Works) 

I tried to copy another good executable file "ls" to the corrent dir and see if
it has different behavior than the arm-eabi-gcc executable. And it is fine:
wma@ubuntu:~/WIP$ cp /bin/ls .
wma@ubuntu:~/WIP$ ls
ls  sdk  arm-eabi-gcc  weiminfilename1
wma@ubuntu:~/WIP$ ls -l
total 524
-rwxr-xr-x 1 wma wma 425467 2011-03-13 00:55 arm-eabi-gcc
-rwxr-xr-x 1 wma wma 105840 2011-03-13 00:56 ls
drwxr-xr-x 3 wma wma   4096 2011-03-11 19:17 sdk
-rwxr-xr-x 1 wma wma      0 2011-03-13 00:55 weiminfilename1
wma@ubuntu:~/WIP$ ./ls
arm-eabi-gcc  ls  sdk  weiminfilename1

It seems the binary file arm-eabi-gcc itself has problem.

Original issue reported on code.google.com by Ma.Wei...@gmail.com on 14 Mar 2011 at 12:50

GoogleCodeExporter commented 9 years ago
You have to use a x64 binary.

I did not try this.
prebuilt/linux-x86/too --> you are using linux-x86 toolchain?
Isn't there one for 64bits?

Original comment by trmfrei...@gmail.com on 14 Mar 2011 at 3:19

GoogleCodeExporter commented 9 years ago
You are right. After I installed the following. The problem is gone.
sudo apt-get install ia32-libs
I also installed the following additional packages and elliminated more
errors, but now I have the following error that I don't know how to
resolve:

target Generated: libjs <= external/webkit/JavaScriptCore/pcre/pcre_internal.h
Install: out/target/product/bcm21553/system/lib/libxml.so
target thumb C++: libxml2wbxml <= packages/apps/IM/libwbxml/src/expat_parser.cpp
sh: cpp: Too many levels of symbolic links
Use of uninitialized value in printf at 
external/webkit/JavaScriptCore/pcre/dftables line 83.
Use of uninitialized value $pcre_internal{"lcc_offset"} in numeric ne (!=) at 
external/webkit/JavaScriptCore/pcre/dftables line 90.
Use of uninitialized value $pcre_internal{"fcc_offset"} in numeric ne (!=) at 
external/webkit/JavaScriptCore/pcre/dftables line 108.
fcc_offset != 128 at external/webkit/JavaScriptCore/pcre/dftables line 109.
make: *** 
[out/target/product/bcm21553/obj/STATIC_LIBRARIES/libjs_intermediates/chartables
.c] Error 25
make: *** Deleting file 
`out/target/product/bcm21553/obj/STATIC_LIBRARIES/libjs_intermediates/chartables
.c'
make: *** Waiting for unfinished jobs....
 [ Error Make Android Image  ] 
 [ GAME OVER : __ ] 

Original comment by Ma.Wei...@gmail.com on 15 Mar 2011 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by trmfrei...@gmail.com on 5 May 2011 at 1:49