I have a problem with adding a library to reference ril.
I've created a library libtest.so which has few simple functions
(socket connections). I added the source code of the library to /
external/libtest. Android.mk is configured so that shared library is
built. Building goes as follows:
o...@otto-pc:~/droidimon$ mmm -B external/libtest
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=generic
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=MASTER
============================================
make: Entering directory `/home/otto/droidimon'
target thumb C: libisi <= external/libtest/test1.c
target thumb C: libisi <= external/libtest/test2.c
target thumb C: libisi <= external/libtest/test3.c
target SharedLib: libisi (out/target/product/generic/obj/
SHARED_LIBRARIES/libtest_intermediates/LINKED/libtest.so)
target Prelink: libisi (out/target/product/generic/symbols/system/lib/
libtest.so)
libelfcopy: Warning: Range lists in .debug_info section aren't in
ascending order!
target Strip: libtest (out/target/product/generic/obj/lib/libtest.so)
Install: out/target/product/generic/system/lib/libtest.so
make: Leaving directory `/home/otto/droidimon'
I've also edited reference-ril Android.mk to include libtest:
LOCAL_SHARED_LIBRARIES := \
libcutils libutils libril libtest
Building of android goes without errors also.
When starting emulator:
emulator -debug modem,radio -show-kernel -logcat radio -http-proxy
172.16.42.133:8080
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting