Remove libdl from your LOCAL_SHARED_LIBRARIES, and add LOCAL_LDLIBS += -ldl instead in your Android.mk
The Android.mk is for a full system/firmware build, and assumes that libdl is going to be built at the same time than libssl. For the NDK, you need to tell your libcrypto/libssl to rely on the version that is already installed on the target system. On Mon, Jun 21, 2010 at 10:45 PM, Abhyudai Shanker < abhyudai.shan...@gmail.com> wrote: > I am tryin to 'make' the code I have downloaded from the link : > > http://www.google.com/url?sa=D&q=http://android.git.kernel.org/%3Fp%3Dplatform/external/openssl.git%3Ba%3Dsummary&usg=AFQjCNHSVU0QjNdHMsLAuZX-ln7YKqEmCA > > This code provides libcrypto.so and libssl.so which I am interested in. > > I am basically trying to get *libcrypto.so and libssl.so* which would > required to run my openssl based code on my htc nexus one phone. > > However, when i try to run the above downloaded code, it compiles all the > files required for libcrypto.so but gives the error: > make: *** No rule to make target > `/cygdrive/c/android-ndk-r4/samples/DMVPNC/bin/ > ndk/local/armeabi/libdl.so', needed by > `/cygdrive/c/android-ndk-r4/samples/DMVPN > C/bin/ndk/local/armeabi/libcrypto.so'. Stop. > > However, other projects which require the same libdl.so are getting it. > > I am not able to understand why this is happening. Please guide me as to > how i should proceed > > Looking forward to hear from you > > Abhyudai Shanker > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting