krunal09 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Building trunk/pjsip_android failed if MY_USE_TLS is set to 1 #1007

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Today I tried to update my sip stack, but it will fail if I enable TLS.
The linker has a problem with multiple definition of 'mult':

StaticLibrary  : libcrypto.a
SharedLibrary  : libpjsipjni.so
./out/apps/pjsip/armeabi/libzrtp4pj.a(ZrtpTextData.o):(.data+0x240): multiple 
definition of `mult'
./out/apps/pjsip/armeabi/libg7221.a(basic_op.o):/mnt/hudson/jobs/pjsip_android/w
orkspace/apps/pjsip/project/build/..//third_party/build/g7221/../../g7221//.//co
mmon/basic_op.c:184: first defined here
/mnt/hudson/jobs/pjsip_android/workspace/build/prebuilt/linux-x86/arm-eabi-4.4.0
/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: Warning: size of 
symbol `mult' changed from 52 in 
./out/apps/pjsip/armeabi/libg7221.a(basic_op.o) to 5 in 
./out/apps/pjsip/armeabi/libzrtp4pj.a(ZrtpTextData.o)
/mnt/hudson/jobs/pjsip_android/workspace/build/prebuilt/linux-x86/arm-eabi-4.4.0
/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: Warning: type of 
symbol `mult' changed from 13 to 1 in 
./out/apps/pjsip/armeabi/libzrtp4pj.a(ZrtpTextData.o)
collect2: ld returned 1 exit status
make: *** [out/apps/pjsip/armeabi/libpjsipjni.so] Fehler 1

Original issue reported on code.google.com by marcello...@gmail.com on 31 May 2011 at 10:21

GoogleCodeExporter commented 9 years ago
Yes, unfortunately, G7221 and TLS are exclusive options for now. So if you want 
TLS, disable G7221.

That was the root of issue 1001.

Original comment by r3gis...@gmail.com on 31 May 2011 at 10:51