Add the following line in your make file and try. LOCAL_PRELINK_MODULE:=false
2009/8/11 tony <[email protected]> > > I need to link the static library provided by 3rd party to a shared > library,and in the Android.mk I use: > > LOCAL_STATIC_LIBRARIES += vendorlib > PRODUCT_COPY_FILES += \ > $(LOCAL_PATH)/$(VENDOR_LIB_PATH)/vendorlib.a:obj/lib/vendorlib.a > > The compile and link works in the previous android release.But now I > met error: > make: Circular .so <- .so dependency dropped. > make: Circular .so <- out/target/product/umts_xxx/symbols/system/lib/ > libvendor_jni dependency dropped. > make: Circular .so <- .so dependency dropped. > target Non-prelinked: libvendor_jni (out/target/product/umts_xxx/ > symbols/system/lib/libvendor_jni) > make: *** No rule to make target `NOTICE-TARGET-STATIC_LIBRARIES- > vendorlib', needed by `out/target/product/umts_xxx/system/lib/ > libvendor_jni.so'. Stop. > > > So I have to change it to: > > LOCAL_PREBUILT_LIBS := vendorlib > include $(BUILD_PREBUILT) > > But I still met error: > build/core/prebuilt.mk:10: *** dont use LOCAL_PREBUILT_LIBS anymore > LOCAL_PATH=frameworks/base/vendor/jni. Stop. > > Who knows hopw to solve the problem? > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
