Hi Tony, Thanks for the report. I just fixed this again (hopefully I get it right this time) in r3436. Best regards, Ming On Wed, Mar 2, 2011 at 4:48 PM, Tony Million <tony at bababoo.com> wrote: > I just updated to 3434 and am now getting this error when compiling for device: > > /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.0.1 -o ../bin/pjlib-test-arm-apple-darwin9 \ > ? ? ? ? ? ? output/pjlib-test-arm-apple-darwin9/main.o ?output/pjlib-test-arm-apple-darwin9/activesock.o ?output/pjlib-test-arm-apple-darwin9/atomic.o ?output/pjlib-test-arm-apple-darwin9/echo_clt.o ?output/pjlib-test-arm-apple-darwin9/errno.o ?output/pjlib-test-arm-apple-darwin9/exception.o ?output/pjlib-test-arm-apple-darwin9/fifobuf.o ?output/pjlib-test-arm-apple-darwin9/file.o ?output/pjlib-test-arm-apple-darwin9/hash_test.o ?output/pjlib-test-arm-apple-darwin9/ioq_perf.o ?output/pjlib-test-arm-apple-darwin9/ioq_udp.o ?output/pjlib-test-arm-apple-darwin9/ioq_unreg.o ?output/pjlib-test-arm-apple-darwin9/ioq_tcp.o ?output/pjlib-test-arm-apple-darwin9/list.o ?output/pjlib-test-arm-apple-darwin9/mutex.o ?output/pjlib-test-arm-apple-darwin9/os.o ?output/pjlib-test-arm-apple-darwin9/pool.o ?output/pjlib-test-arm-apple-darwin9/pool_perf.o ?output/pjlib-test-arm-apple-darwin9/rand.o ?output/pjlib-test-arm-apple-darwin9/rbtree.o ?output/pjlib-test-arm-apple-darwin9/select.o ?output/pjlib-test-arm-apple-darwin9/sleep.o ?output/pjlib-test-arm-apple-darwin9/sock.o ?output/pjlib-test-arm-apple-darwin9/sock_perf.o ?output/pjlib-test-arm-apple-darwin9/ssl_sock.o ?output/pjlib-test-arm-apple-darwin9/string.o ?output/pjlib-test-arm-apple-darwin9/test.o ?output/pjlib-test-arm-apple-darwin9/thread.o ?output/pjlib-test-arm-apple-darwin9/timer.o ?output/pjlib-test-arm-apple-darwin9/timestamp.o ?output/pjlib-test-arm-apple-darwin9/udp_echo_srv_sync.o ?output/pjlib-test-arm-apple-darwin9/udp_echo_srv_ioqueue.o ?output/pjlib-test-arm-apple-darwin9/util.o -O2 ?-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -framework AudioToolbox -framework Foundation -lpthread ?-framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit ../lib/libpj-arm-apple-darwin9.a ?-O2 ?-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -framework AudioToolbox -framework Foundation -lpthread ?-framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit > ld: warning: -force_cpusubtype_ALL will become unsupported for ARM architectures > Undefined symbols: > ?"_pj_iphone_os_get_sys_info", referenced from: > ? ? ?_pj_get_sys_info in libpj-arm-apple-darwin9.a(os_info.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [../bin/pjlib-test-arm-apple-darwin9] Error 1 > make[1]: *** [pjlib-test] Error 2 > make: *** [all] Error 1 > > > To double check, I got a clean checkout from the SVN and tried again - same problem. > > > On 2 Mar 2011, at 02:45, Ming wrote: > >> Hi Thomas, >> >> Thanks for the report. We just fixed this in r3433. >> >> Best regards, >> Ming >> >> On Wed, Mar 2, 2011 at 5:45 AM, Thomas Martin <tmemail at gmx.de> wrote: >>> Hello Everybody, >>> >>> today I have svn-updated my 1.8.10 and successfully recompiled for the device. >>> >>> However, compiling for the simulator creates the following error: >>> >>> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -c -Wall -DPJ_AUTOCONF=1 -O2 -Wno-unused-label -DPJ_SDK_NAME="\"iPhoneSimulator4.2.sdk\"" ?-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk ? ?-I../include \ >>> ? ? ? ? ? ? ? ?-ooutput/pjlib-arm-apple-darwin9/os_info_iphone.o \ >>> ? ? ? ? ? ? ? ?../src/pj/os_info_iphone.m >>> In file included from ../src/pj/os_info_iphone.m:23: >>> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:33: error: syntax error before ?}? token >>> make[2]: *** [output/pjlib-arm-apple-darwin9/os_info_iphone.o] Error 1 >>> make[1]: *** [pjlib] Error 2 >>> make: *** [all] Error 1 >>> >>> after: >>> >>> export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer >>> export CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 >>> >>> ./configure-iphone >>> >>> make dep >>> make clean >>> make >>> >>> The config_site.h looks like this: >>> >>> #define PJ_CONFIG_IPHONE 1 >>> #include <pj/config_site_sample.h> >>> >>> #undef __MAC_OS_X_VERSION_MIN_REQUIRED >>> #undef __MAC_OS_X_VERSION_MAX_ALLOWED >>> #define __MAC_OS_X_VERSION_MIN_REQUIRED __MAC_OS_X_VERSION_10_4 >>> #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_OS_X_VERSION_10_5 >>> >>> Looking forward to a hint ... >>> >>> Thanks in advance! >>> >>> -Thomas >>> >>> >>> _______________________________________________ >>> 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 >>> >> >> _______________________________________________ >> 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 > > > _______________________________________________ > 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 >