Errors while building a Standalone tool chain.

by Nagendra Kumar » Thu, 03 Sep 2009 01:37:34 GMT


Sponsored Links
 ello Everybody,

I got the answer for my Question.

The Solution is *bash ./build/tools/build-ndk-sysroot.sh --build-out=
~/android/bin/out/target/product/generic
(path to <ANDROID_PRODUCT_OUT>**)*

The PATH for ANDROID_PRODUCT_OUT has to be set correctly..!

Cheers,
Nagendra

On Wed, Sep 2, 2009 at 10:03 AM, Nagendra Kumar <nagendrarav...@gmail.com>wrote:


--~--~---------~--~----~------------~-------~--~----~



Errors while building a Standalone tool chain.

by Nagendra Kumar » Thu, 03 Sep 2009 01:38:59 GMT


 i all,

I want to port a C library in Android with the help of NDK.
To do this i am trying to build the standalone Cross tool chain to get the
pre build libraries which Android is already having.

To build this i am running "build-ndk-sysroot.sh", which is present in the
NDK ( *<NDK_DIR>/build/tools*)
I am using the following command to build the sysroot directory, which
contains the libraries and include files ordered in a proper manner.

*bash ./build/tools/build-ndk-sysroot.sh --build-out=path to
<ANDROID_CODE>*

I set the ANDROID_NDK_ROOT path and set the environment variables also.
But i am getting the following mentioned errors.

*ERRORS:*

nagen...@nagendra-desktop:~/android-ndk-1.5_r1$ sudo bash
./build/tools/build-ndk-sysroot.sh
--build-out=/home/nagendra/beagledroid_latest
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/lib/crtbegin_static.o': No such file
or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/lib/crtbegin_dynamic.o': No such file
or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/lib/crtend_android.o': No such file
or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/STATIC_LIBRARIES/libc_intermediates/libc.a':
No such file or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/STATIC_LIBRARIES/libm_intermediates/libm.a':
No such file or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/STATIC_LIBRARIES/libstdc++_intermediates/libstdc++.a':
No such file or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/obj/STATIC_LIBRARIES/libthread_db_intermediates/libthread_db.a':
No such file or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/symbols/system/lib/libdl.so': No such
file or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/symbols/system/lib/libc.so': No such file
or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/symbols/system/lib/libm.so': No such file
or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/symbols/system/lib/libstdc++.so': No such
file or directory
cp: cannot stat
`/home/nagendra/beagledroid_latest/symbols/system/lib/libthread_db.so': No
such file or directory
Copy: ./build/platforms/android-1.5/common/include/zlib.h
install: cannot stat
`/home/nagendra/beagledroid_latest/../../../../external/zlib/zlib.h': No
such file or directory
chmod: cannot access `./build/platforms/android-1.5/common/include/zlib.h':
No such file or directory
Link: ./build/platforms/android-1.5/arch-arm/usr/include/zlib.h
Copy: ./build/platforms/android-1.5/common/include/zconf.h
install: cannot stat
`/home/nagendra/beagledroid_latest/../../../../external/zlib/zconf.h': No
such file or directory
chmod: cannot access `./build/platforms/android-1.5/common/include/zconf.h':
No such file or directory
Link: ./build/platforms/android-1.5/arch-arm/usr/include/zconf.h
Copy: ./build/platforms/android-1.5/common/include/jni.h
install: cannot stat
`/home/nagendra/beagledroid_latest/../../../../dalvik/libnativehelper/include/nativehelper/jni.h':
No such file or directory
chmod: cannot access `./build/platforms/android-1.5/common/include/jni.h':
No such file or directory
Link: ./build/platforms/android-1.5/arch-arm/usr/include/jni.h
./build/tools/build-ndk-sysroot.sh: line 220: cd:
/home/nagendra/beagledroid_latest/../../../../system/libthread_db/include:
No such file or directory
Cop


Sponsored Links


Other Threads

1. Blapk Market

Guys nanya dong
Sejak beberapa hari error ,trus sy update kok skrg malah ga keluar apa apa yah 
di blapk market ? Cuma tab uninstalled sama installed aja...

TIA

Ari Mardawa Kencana
www.anm-architect.com
Email : a...@anm-architect.com
ym! arimardawa
BB pin:24ab35ba 

Sent from my BlackBerry smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!

-- 
"Indonesian Android Community [id-android]" 

2. "Video cannot be played" error when BT headset is disconnected during Video playback

Can someone help me understand, if we can send an event to pause the
playback when the BT headset is disconnected?

- Akash





-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Which source code part should I find for monitoring the call of system API

4. I had this working (EAP-TLS) in 2.

5. HTC Incredible

6. How to scroll/move text within TextView on home screen widget ?

7. ListView focus behaving different when using minSdkVersion=3