|
From: | eugene |
Subject: | [Linphone-users] error when compiling linphone-iphone |
Date: | Tue, 09 Oct 2012 09:57:54 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Hi there, i'm running Snow Leapord on vmware, trying to compile linphone-iphone and encounter following errors: /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:989: error: 'kCFCoreFoundationVersionNumber10_6' undeclared (first use in this function) /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:989: error: (Each undeclared identifier is reported only once /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:989: error: for each function it appears in.) /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:996: error: 'kCFStreamNetworkServiceType' undeclared (first use in this function) /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:996: error: 'kCFStreamNetworkServiceTypeVoIP' undeclared (first use in this function) /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c: In function '_tcp_tl_send_sockinfo': /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:1364: error: 'kCFCoreFoundationVersionNumber10_6' undeclared (first use in this function) /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:1372: error: 'kCFStreamNetworkServiceType' undeclared (first use in this function) /Users/svp/documents/linphone-iphone/submodules/build/..//externals/exosip/src/eXtl_tcp.c:1372: error: 'kCFStreamNetworkServiceTypeVoIP' undeclared (first (seem like it is looking for Mac OS sdk 10.6, but I can't find this constant define in any header file, nevertheless, i'm able to find #define kCFCoreFoundationVersionNumber10_5 476.00 in mac/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFBase.h i'm wondering how come MacOSX10.6.sdk doesn't have kCFCoreFoundationVersionNumber10_6 defined in there. -------------------------------------------- Developer Information: Version: 3.2 (10M2148) Location: /Developer Applications: Xcode: 3.2.2 (1650) Interface Builder: 3.2.2 (762) Instruments: 2.1 (1208) Dashcode: 3.0.1 (330) SDKs: Mac OS X: 10.5: (9L31a) 10.6: (10M2148) iPhone OS: 3.0: (7A341) 3.1: (7C144) 3.1.2: (7D11) 3.1.3: (7E18) 3.2: (7B367) iPhone Simulator: 3.0: (7A341) 3.1: (7C144) 3.1.2: (7D11) 3.1.3: (7E18) 3.2: (7B367) ----------------------------------- what i've done: svps-Mac:~ svp$ git clone git://git.linphone.org/linphone-iphone.git --recursive (install MacPort) svps-Mac:~ svp$ port version Version: 2.1.2 svps-Mac:~ svp$ sudo port install coreutils automake autoconf libtool intltool wget pkgconfig cmake gmake yasm grep doxygen svps-Mac:~ svp$ wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl svps-Mac:~ svp$ sudo mv gas-preprocessor.pl /opt/local/bin/ svps-Mac:~ svp$ sudo chmod +x /opt/local/bin/gas-preprocessor.pl svps-Mac:~ svp$ sudo ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize svps-Mac:~ svp$ sudo ln -s /usr/bin/strings /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings svps-Mac:linphone-iphone svp$ cd submodules svps-Mac:submodules svp$ cd build svps-Mac:build svp$ make all ============================ any help is appreciated! |
[Prev in Thread] | Current Thread | [Next in Thread] |