Hello experts,<br><br>I'm trying to build the android src code after putting the strongswan code in androidsrc/external folder.<br>However, i'm getting the following error while doing a 'make' for android:<br>
<br>external/strongswan/src/libcharon/plugins/stroke/stroke_socket.c: In function 'stroke_loglevel':<br>external/strongswan/src/libcharon/plugins/stroke/stroke_socket.c:450: warning: comparison of unsigned expression < 0 is always false<br>
target SharedLib: libcharon (out/target/product/passion/obj/SHARED_LIBRARIES/libcharon_intermediates/LINKED/libcharon.so)<br>prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcharon_intermediates/plugins/eap_sim/eap_sim_plugin.o: in function eap_sim_plugin_create:<b>external/strongswan/src/libcharon/plugins/eap_sim/eap_sim_plugin.c:87: error: undefined reference to 'simaka_manager_create'</b><br>
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcharon_intermediates/plugins/eap_sim_file/eap_sim_file_plugin.o: in function f.11282:eap_sim_file_plugin.c(.data.rel+0x28):<b> error: undefined reference to 'simaka_manager_register'</b><br>
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcharon_intermediates/plugins/eap_sim_file/eap_sim_file_plugin.o: in function f.11282:eap_sim_file_plugin.c(.data.rel+0x68): error: undefined reference to 'simaka_manager_register'<br>
collect2: ld returned 1 exit status<br>make: *** [out/target/product/passion/obj/SHARED_LIBRARIES/libcharon_intermediates/LINKED/libcharon.so] Error 1<br>root@ubuntu1-OptiPlex-160L:/home/NITIN/Gingerbread/android-2.3.5_r1# <br>
<br><br>I have enabled eap-sim, eap-sim-file and eap-radius plugins in the top Android.mk and <a href="http://Android.mk.in">Android.mk.in</a> under strongswan.<br>Please help , if I am supposed to do something else as well for enabling the above plugins on Android.<br>
<br><br>Thanks<br>Deepika<br clear="all"><br>-- <br>If you think you can or if you think you can't, you are right.<br>-Henry Ford<br>