building ipjsua with xcode / ios 4.3 sdk : linking error

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

 



hi,

i am trying to build latest  pjsip  from trunk for iphone using these steps:

http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

but it fails with a video issue . does anyone have any idea?



Build ipjsua of project ipjsua with configuration Debug

Ld build/Debug-iphoneos/ipjsua.app/ipjsua normal armv6
cd "/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua"
setenv IPHONEOS_DEPLOYMENT_TARGET 3.2
setenv PATH
"/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6
-isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/build/Debug-iphoneos"
-L../../../pjlib/lib -L../../../pjlib-util/lib -L../../../pjnath/lib
-L../../../pjmedia/lib -L../../../pjsip/lib -L../../../third_party/lib
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../third_party/lib"
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../pjlib/lib"
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../pjlib-util/lib"
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../pjmedia/lib"
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../pjnath/lib"
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../pjsip/lib"
-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/AVFoundation.framework
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos"
"-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../../video/ffmpeg-iphone/lib"
"-F/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/build/Debug-iphoneos"
-filelist "/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/build/ipjsua.build/Debug-iphoneos/ipjsua.build/Objects-normal/armv6/ipjsua.LinkFileList"
-dead_strip -miphoneos-version-min=3.2 -framework Foundation -framework
UIKit -framework CoreGraphics -framework AudioToolbox
-lgsmcodec-arm-apple-darwin9 -lpj-arm-apple-darwin9
-lpjlib-util-arm-apple-darwin9 -lpjmedia-arm-apple-darwin9
-lpjmedia-audiodev-arm-apple-darwin9 -lpjmedia-codec-arm-apple-darwin9
-lpjnath-arm-apple-darwin9 -lpjsip-arm-apple-darwin9
-lpjsip-simple-arm-apple-darwin9 -lpjsip-ua-arm-apple-darwin9
-lpjsua-arm-apple-darwin9 -lresample-arm-apple-darwin9
-lg7221codec-arm-apple-darwin9 -lilbccodec-arm-apple-darwin9
-lmilenage-arm-apple-darwin9 -lpjsdp-arm-apple-darwin9
-lspeex-arm-apple-darwin9 -lsrtp-arm-apple-darwin9 -framework CFNetwork
-lpjmedia-videodev-arm-apple-darwin9 -framework AVFoundation -lSDL
-framework OpenGLES -lz -framework CoreGraphics -framework CoreMedia
-framework CoreVideo -framework QuartzCore -lavcodec -lavcore -lavdevice
-lavfilter -lavformat -lavutil -lswscale -o "/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/build/Debug-iphoneos/ipjsua.app/ipjsua"

ld: warning: directory not found for option '-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos'
ld: warning: directory not found for option '-L/Users/mac1/Documents/XCode
WorkSpace/iSipPhone/pjsip/pjsip-apps/src/ipjsua/../../../../video/ffmpeg-iphone/lib'
ld: library not found for -lSDL
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
failed with exit code 1


-- 
Regards

Shrouk Khan (Khan)
System Administrator / Telecommunication System Developer
Office:   +354 4400807 (Reykjavik)
           +44   2031370800 (London)
Mobile:  +66  875049439 (Bangkok)

Web: www.softverk.is

Reykjavik, Iceland  //  London, UK   //  Bangkok, Thailand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111019/344907a6/attachment-0001.html>


[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