HopelessFantasy / openetna

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

Build From Source Error missing linux toolchain arm-eabi-gcc #194

Closed GoogleCodeExporter closed 8 years ago

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

What steps will reproduce the problem?
1. make -j3
2.
3.

What is the expected output? What do you see instead?
Start compiling, instead arm cross complier is missing.

What version of the boot.img and system.img are you using?
compiling (froyo) bootV2.1.1.img and systemV6.0-rc5.img

Can you provide logcat output during that error?
N/A

Please provide any additional information below.

The whole directory linux-x86 is missing. A google search gives a possible 
solution to download the files:

http://labs.embinux.org/index.php/Toolchain_For_Android

However there is an error in the database when it comes to submitting
email address for the download link. :(

Below is partial output after running the make command.

$ make -j3
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=cyanogen_eve
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=FRG83
============================================
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: No 
such file or directory
find: `drm/java': No such file or directory
...
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc: No 
such file or directory
make: *** [out/target/product/eve/obj/lib/crtbegin_dynamic.o] Error 127

Does anyone have a alternative download link or a solution to this issue?

Thanks.

Original issue reported on code.google.com by manndar...@gmail.com on 8 Oct 2010 at 7:07

GoogleCodeExporter commented 8 years ago
Try with this one... are you compiling from scratch?

Original comment by saxand...@gmail.com on 9 Oct 2010 at 8:58

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Tetsuo6...@gmail.com on 15 Oct 2010 at 8:37

GoogleCodeExporter commented 8 years ago
The prebuilt/linux-x86 should be there.
Try to do repo init and repo sync from scratch. Which commands did you use for 
that?

Original comment by polyth...@gmail.com on 24 Oct 2010 at 6:52

GoogleCodeExporter commented 8 years ago
Yes, I can comfirm that the directories (linux-x86, linux-x86_64) are there in 
prebuilt. Currently compiling... looks promising.

These are the commands I used (from the BuildFromSource instructions):
repo init -u git://github.com/OpenEtna/android_manifest.git -b froyo
repo sync

Thanks.

Original comment by manndar...@gmail.com on 25 Oct 2010 at 4:07

GoogleCodeExporter commented 8 years ago
@manndarryl: May i consider that your compiling issue is fixed ?

Original comment by Tetsuo6...@gmail.com on 26 Oct 2010 at 9:17

GoogleCodeExporter commented 8 years ago

Original comment by polyth...@gmail.com on 1 Nov 2010 at 9:26

GoogleCodeExporter commented 8 years ago
I also got the following error:

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

And I tried your suggestion by downloading the arm-eabi-gcc to the specified 
path,
but the error still happens. 

Original comment by Ma.Wei...@gmail.com on 13 Mar 2011 at 8:05

GoogleCodeExporter commented 8 years ago
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) 

Original comment by Ma.Wei...@gmail.com on 13 Mar 2011 at 8:45

GoogleCodeExporter commented 8 years ago
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.
This is on a WMware ubuntu 10.10.

Original comment by Ma.Wei...@gmail.com on 13 Mar 2011 at 9:03