-e building bzrtp
cd /Users/user/Documents/iOS/caspianphone/submodules/build/../build-i386-apple-darwin/bzrtp \
&& PKG_CONFIG_LIBDIR=/Users/user/Documents/iOS/caspianphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/pkgconfig \
CONFIG_SITE=/Users/user/Documents/iOS/caspianphone/submodules/build/..//build/iphone-config.site \
make -j1 && make install
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Making all in src
CC bzrtp.lo
CC cryptoPolarssl.lo
CC cryptoUtils.lo
CC packetParser.lo
CC zidCache.lo
CC stateMachine.lo
CCLD libbzrtp.la
Making all in include
Making all in bzrtp
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in test
CC bzrtpTest-bzrtpTest.o
CC bzrtpTest-testUtils.o
CC bzrtpTest-bzrtpCryptoTest.o
CC bzrtpTest-bzrtpParserTest.o
CCLD bzrtpTest
ld: warning: ignoring file /opt/local/lib/liblzma.dylib, file was built for x86_64 which is not the architecture being linked (i386): /opt/local/lib/liblzma.dylib
ld: warning: ignoring file /Users/user/Documents/iOS/caspianphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/libpolarssl.a, file was built for archive which is not the architecture being linked (i386): /Users/user/Documents/iOS/caspianphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/libpolarssl.a
Undefined symbols for architecture i386:
"_aes_crypt_cfb128", referenced from:
_bzrtpCrypto_aes128CfbEncrypt in libbzrtp.a(cryptoPolarssl.o)
_bzrtpCrypto_aes128CfbDecrypt in libbzrtp.a(cryptoPolarssl.o)
"_aes_setkey_enc", referenced from:
_bzrtpCrypto_aes128CfbEncrypt in libbzrtp.a(cryptoPolarssl.o)
_bzrtpCrypto_aes128CfbDecrypt in libbzrtp.a(cryptoPolarssl.o)
"_ctr_drbg_init", referenced from:
_bzrtpCrypto_startRNG in libbzrtp.a(cryptoPolarssl.o)
"_ctr_drbg_random", referenced from:
_bzrtpCrypto_getRandom in libbzrtp.a(cryptoPolarssl.o)
"_dhm_calc_secret", referenced from:
_bzrtpCrypto_DHMComputeSecret in libbzrtp.a(cryptoPolarssl.o)
"_dhm_free", referenced from:
_bzrtpCrypto_DestroyDHMContext in libbzrtp.a(cryptoPolarssl.o)
"_dhm_make_public", referenced from:
_bzrtpCrypto_DHMCreatePublic in libbzrtp.a(cryptoPolarssl.o)
"_dhm_read_public", referenced from:
_bzrtpCrypto_DHMComputeSecret in libbzrtp.a(cryptoPolarssl.o)
"_entropy_func", referenced from:
_bzrtpCrypto_startRNG in libbzrtp.a(cryptoPolarssl.o)
"_entropy_init", referenced from:
_bzrtpCrypto_startRNG in libbzrtp.a(cryptoPolarssl.o)
"_mpi_read_string", referenced from:
_bzrtpCrypto_CreateDHMContext in libbzrtp.a(cryptoPolarssl.o)
"_polarssl_sha256", referenced from:
_bzrtpCrypto_sha256 in libbzrtp.a(cryptoPolarssl.o)
"_sha1_hmac", referenced from:
_bzrtpCrypto_hmacSha1 in libbzrtp.a(cryptoPolarssl.o)
"_sha256_hmac", referenced from:
_bzrtpCrypto_hmacSha256 in libbzrtp.a(cryptoPolarssl.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bzrtpTest] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [build-bzrtp] Error 2
make: *** [broadcast_all] Error 2