Hello Maya, You could read the pjsip mailing list archives ;-) and find the solution. You use a symbol that not defined in your libraries. Samuel Le 11/07/10 22:24, Maya Zalcberg a ?crit : > Hi, > Have anyone succeeded on compiling the g729 codec with pjsip 1.6 for > iphone 4.0? > I keep getting that error: > > ... > n9/pjsua_app.o -L/Users/maya/Desktop/pjproject/pjlib/lib > -L/Users/maya/Desktop/pjproject/pjlib- > util/lib -L/Users/maya/Desktop/pjproject/pjnath/lib > -L/Users/maya/Desktop/pjproject/pjmedia/lib - > L/Users/maya/Desktop/pjproject/pjsip/lib > -L/Users/maya/Desktop/pjproject/third_party/lib -O2 - > isysroot > /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk > -framework > AudioToolbox -framework Foundation -lpjsua-arm-apple-darwin9 > -lpjsip-ua-arm-apple-darwin9 - > lpjsip-simple-arm-apple-darwin9 -lpjsip-arm-apple-darwin9 > -lpjmedia-codec-arm-apple-darwin9 - > lpjmedia-arm-apple-darwin9 -lpjmedia-audiodev-arm-apple-darwin9 > -lpjnath-arm-apple-darwin9 - > lpjlib-util-arm-apple-darwin9 -lresample-arm-apple-darwin9 > -lmilenage-arm-apple-darwin9 -lsrtp- > arm-apple-darwin9 -lgsmcodec-arm-apple-darwin9 > -lspeex-arm-apple-darwin9 -lilbccodec-arm- > apple-darwin9 -lg7221codec-arm-apple-darwin9 -lpj-arm-apple-darwin9 > -lpthread -framework > CoreAudio -framework CoreFoundation -framework AudioToolbox > ld: warning: -force_cpusubtype_ALL will become unsupported for ARM > architectures > Undefined symbols: > > "_pjmedia_codec_g729_init", referenced from: > _pjsua_media_subsys_init in > libpjsua-arm-apple-darwin9.a(pjsua_media.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [../bin/pjsua-arm-apple-darwin9] Error 1 > make[1]: *** [pjsua] Error 2 > make: *** [all] Error 1 > > > Regards, > Maya > > > _______________________________________________ > 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/20100712/d113e9d7/attachment.html>