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. What is the default SDK directory?

Followed the installation instructions, (Help -> Install new
software... > etc); restarted Eclipse.  Instructions state to go to
Window-> Preferences and specify the Android SDK location.  Did I do
something wrong?  I didn't download the SDK manually; I followed the
instructions and assumed that the SDK download occurred somewhere
within the "Help->install new software..." process.  Do I also need to
download something manually and install it?

Thanks

-- 

2. webview Header Access

Hi,

I want to use Webkit.Webview to load an url using loadUrl(url), but
meanwhile provide the server some additional headers when the http
GET
is sent out. Is there any way to add headers or change the default
headers in Webview so that each time GET method would automatically
add my cusomized headers to load Urls?
I know I can add header when using HttpGet, but not know if I can
specify headers within Webview.


Thanks,
Vipendra

-- 

3. To Integrate or To Duplicate

4. how to make apps and download that apps in iPhone and BlackBerry Mobile

5. How to create Ribbon view?

6. how to fetch data from database like mysql/sqlite

7. Having Access To Android SDK Immediate Received Call Functions Answer/Hangup