Compile PJSIP Error

19 views
Skip to first unread message

TuBa

unread,
Mar 21, 2011, 10:23:17 AM3/21/11
to Siphon
Hi, i downgrade my SDK 4.3 to 3.2 and try to recompile de PjSIP to see
if now it works... but with no success... now im getting the error
below

from ../src/pj/os_info_iphone.m:24:
../include/pj/compat/m_auto.h:55:1: warning: this is the location of
the previous definition
../src/pj/os_info_iphone.m:27:28: error: UIKit/UIDevice.h: No such
file or directory
../src/pj/os_info_iphone.m: In function ‘pj_iphone_os_get_sys_info’:
../src/pj/os_info_iphone.m:32: error: ‘UIDevice’ undeclared (first use
in this function)
../src/pj/os_info_iphone.m:32: error: (Each undeclared identifier is
reported only once
../src/pj/os_info_iphone.m:32: error: for each function it appears
in.)
../src/pj/os_info_iphone.m:32: error: ‘device’ undeclared (first use
in this function)
../src/pj/os_info_iphone.m:49: error: ‘NSASCIIStringEncoding’
undeclared (first use in this function)
make[2]: *** [output/pjlib-arm-apple-darwin9/os_info_iphone.o] Error 1
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1

Im using the enviroments

CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
gcc-4.0
DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer/
PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/
bin:/opt/local/sbin:/glassfishv3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/
usr/local/bin:/usr/X11/bin:/Developer/Platforms/iPhoneOS.platform/
Developer/usr/bin/

plz help?
Reply all
Reply to author
Forward
0 new messages