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