Building PJSIP have no error but I am building pjsua project I get error

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

 



Hi,


I build PJSIP with enviroment: MAC OS 10.6.6, Xcode 3.2.6 iOS 4.3

After I create config_site.h file and continue by below comand:



cd /path my dir

.configure-iphone

make deep && make clean && make



export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer

export CC=$DEVPATH/usr/bin/gcc

export CFLAGS="-O2 -m32 -miphoneos-version-min=3.0" LDFLAGS="-O2 -m32"



.configure-iphone

make deep && make clean && make




result is ok, no error. But when I open pjsua.xcodeproject and build it
return Error:



Ld build/Debug-iphonesimulator/ipjsua.app/ipjsua normal i386

cd /Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua

setenv MACOSX_DEPLOYMENT_TARGET 10.6

setenv PATH
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
-arch i386 -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/build/Debug-iphonesimulator
-L../../../pjlib/lib -L../../../pjlib-util/lib -L../../../pjnath/lib
-L../../../pjmedia/lib -L../../../pjsip/lib -L../../../third_party/lib
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../third_party/lib
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../pjlib/lib
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../pjlib-util/lib
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../pjmedia/lib
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../pjnath/lib
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../pjsip/lib
-L/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AVFoundation.framework
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos
-L/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../../video/ffmpeg-iphone/lib
-F/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/build/Debug-iphonesimulator
-filelist
/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/build/ipjsua.build/Debug-iphonesimulator/ipjsua.build/Objects-normal/i386/ipjsua.LinkFileList
-mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 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 CoreMedia -framework CoreVideo
-framework QuartzCore -lavcodec -lavcore -lavdevice -lavfilter -lavformat
-lavutil -lswscale -o
/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/build/Debug-iphonesimulator/ipjsua.app/ipjsua



ld: warning: directory
'/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos'
following -L not found

ld: warning: directory
'/Volumes/SOFT/SOURCE/pjproject/pjsip-apps/src/ipjsua/../../../../video/ffmpeg-iphone/lib'
following -L not found

ld: library not found for -lSDL

collect2: ld returned 1 exit status

Command
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
failed with exit code 1

Please help me!!!
-- 
Thanks,

DavidTran
********************************************
Yahoo : hai01n1
Skype : mr.thanh.hai
Phone : +84 979 033367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111104/dc2a28db/attachment.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