Help Required on TLS iPhone configuration with pjproject-2.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this is how i do for simulator:

echo "==================================== i386 ===================================="
export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
ARCH="-arch i386" CFLAGS="-O2 -m32 -miphoneos-version-min=4.0" LDFLAGS="-O2 -m32 -miphoneos-version-min=4.0"  ./configure-iphone --with-ssl="/Users/alex/Desktop/Downloads/ios-openssl-master" --disable-video --disable-speex-aec --disable-l16-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec
make dep && make clean  && make

then for device(i have more hops for armv7s && arm64:
echo "==================================== ARM7 ===================================="
export ARCH="-arch armv7"
export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
ARCH="-arch armv7" ./configure-iphone --with-ssl="/Users/alex/Desktop/Downloads/ios-openssl-master" --disable-video --disable-speex-aec --disable-l16-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec

if u will google ios-openssl-master u will find a github depositary. Be sure that u r using correct library openssl, bcs for some libraries i got strange decline for configure script (but a same as u i has correct arch in bundles).

Oct 17, 2013, ? 9:50 AM, Gaurav Kasliwal <gaurav.kasliwal at advantal.net> ???????(?):

> I tried:
> $ lipo -info libcrypto.a 
> Architectures in the fat file: libcrypto.a are: 
> i386 x86_64 armv7 (cputype (12) cpusubtype (11)) 
> (cputype (16777228) cpusubtype (0)) 
> 
> $ lipo -info libssl.a 
> Architectures in the fat file: libssl.a are: 
> i386 x86_64 armv7 (cputype (12) cpusubtype (11)) 
> (cputype (16777228) cpusubtype (0)) 
> 
> My required architectures are there in the lipo fat files. 
> Now what should I do to make it work with TLS on iPhone and simulator. 
> Even I set following variables too before compiling PJSIP.
> These I set in order to set the paths of OpenSSL libs as:
> 
> $export OPENSSL=<Path to my openSSL folder created when openSSL libs built>
> $export CFLAGS=
> "-O2 -Wno-unused-label -I${OPENSSL}/include -O2 -m32 -miphoneos-version-
> min=7.0"
> $export LDFLAGS="-L${OPENSSL}/lib -O2 -m32 -miphoneos-version-min=7.0"
> 
> Please suggest and help.
> 
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131018/6eeedf98/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1541 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131018/6eeedf98/attachment-0001.p7s>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux