I have got the solution. I had to play with the command line parameters. Here is a patch against 1.4.5: diff -Naur pjorig/build.symbian/bld.inf pjnew/build.symbian/bld.inf --- pjorig/build.symbian/bld.inf Wed Jun 17 20:34:18 2009 +++ pjnew/build.symbian/bld.inf Thu Nov 05 15:13:02 2009 @@ -1,6 +1,6 @@ prj_platforms winscw -//armv5 +armv5 gcce prj_mmpfiles @@ -30,9 +30,9 @@ pjmedia_audiodev.mmp /* Applications */ -//pjlib_test.mmp +pjlib_test.mmp //symsndtest.mmp symbian_ua.mmp ..\pjsip-apps\src\symbian_ua_gui\group\symbian_ua_gui.mmp gnumakefile ..\pjsip-apps\src\symbian_ua_gui\group\Icons_aif_scalable_dc.mk -pjlib_test.mmp +//pjlib_test.mmp diff -Naur pjorig/build.symbian/libpassthroughcodec.mmp pjnew/build.symbian/libpassthroughcodec.mmp --- pjorig/build.symbian/libpassthroughcodec.mmp Fri Mar 13 02:11:38 2009 +++ pjnew/build.symbian/libpassthroughcodec.mmp Thu Nov 05 14:46:42 2009 @@ -9,6 +9,7 @@ // GCCE optimization setting // OPTION GCCE -O2 -fno-unit-at-a-time +OPTION ARMCC --gnu // // Passthrough codecs wrapper for pjmedia-codec diff -Naur pjorig/build.symbian/libresample.mmp pjnew/build.symbian/libresample.mmp --- pjorig/build.symbian/libresample.mmp Wed May 06 23:37:48 2009 +++ pjnew/build.symbian/libresample.mmp Thu Nov 05 14:46:37 2009 @@ -7,6 +7,7 @@ // GCCE optimization setting // OPTION GCCE -O2 -fno-unit-at-a-time +OPTION ARMCC --gnu MACRO PJ_M_I386=1 MACRO PJ_SYMBIAN=1 diff -Naur pjorig/build.symbian/libspeexcodec.mmp pjnew/build.symbian/libspeexcodec.mmp --- pjorig/build.symbian/libspeexcodec.mmp Tue Jun 10 22:09:38 2008 +++ pjnew/build.symbian/libspeexcodec.mmp Thu Nov 05 14:46:32 2009 @@ -9,6 +9,7 @@ // GCCE optimization setting // OPTION GCCE -O2 -fno-unit-at-a-time +OPTION ARMCC --gnu // // Speex files diff -Naur pjorig/build.symbian/libsrtp.mmp pjnew/build.symbian/libsrtp.mmp --- pjorig/build.symbian/libsrtp.mmp Tue Jun 03 02:30:16 2008 +++ pjnew/build.symbian/libsrtp.mmp Thu Nov 05 14:46:27 2009 @@ -8,6 +8,7 @@ // GCCE optimization setting // OPTION GCCE -O2 -fno-unit-at-a-time +OPTION ARMCC --gnu // // Speex files diff -Naur pjorig/build.symbian/pjlib.mmp pjnew/build.symbian/pjlib.mmp --- pjorig/build.symbian/pjlib.mmp Wed Jun 17 20:34:18 2009 +++ pjnew/build.symbian/pjlib.mmp Thu Nov 05 15:22:19 2009 @@ -24,7 +24,7 @@ // Must compile as C++, otherwise exception would not work OPTION CW -lang c++ -OPTION ARMCC --cpp +OPTION ARMCC --cpp --gnu OPTION GCC -x c++ OPTION GCCE -x c++ diff -Naur pjorig/build.symbian/pjlib_util.mmp pjnew/build.symbian/pjlib_util.mmp --- pjorig/build.symbian/pjlib_util.mmp Thu Aug 13 19:54:36 2009 +++ pjnew/build.symbian/pjlib_util.mmp Thu Nov 05 15:28:04 2009 @@ -24,7 +24,7 @@ // Must compile as C++, otherwise exception would not work OPTION CW -lang c++ -OPTION ARMCC --cpp +OPTION ARMCC --cpp --gnu OPTION GCC -x c++ OPTION GCCE -x c++ diff -Naur pjorig/build.symbian/pjmedia.mmp pjnew/build.symbian/pjmedia.mmp --- pjorig/build.symbian/pjmedia.mmp Wed Jun 17 20:34:18 2009 +++ pjnew/build.symbian/pjmedia.mmp Thu Nov 05 14:44:17 2009 @@ -30,7 +30,7 @@ // Must compile as C++, otherwise exception would not work OPTION CW -lang c++ -OPTION ARMCC --cpp +OPTION ARMCC --cpp --gnu OPTION GCC -x c++ OPTION GCCE -x c++ diff -Naur pjorig/build.symbian/pjsip.mmp pjnew/build.symbian/pjsip.mmp --- pjorig/build.symbian/pjsip.mmp Thu Aug 13 19:54:36 2009 +++ pjnew/build.symbian/pjsip.mmp Thu Nov 05 15:27:47 2009 @@ -27,7 +27,7 @@ // Must compile as C++, otherwise exception would not work OPTION CW -lang c++ -OPTION ARMCC --cpp +OPTION ARMCC --cpp --gnu OPTION GCC -x c++ OPTION GCCE -x c++ diff -Naur pjorig/build.symbian/pjsip_simple.mmp pjnew/build.symbian/pjsip_simple.mmp --- pjorig/build.symbian/pjsip_simple.mmp Wed Jun 17 20:34:18 2009 +++ pjnew/build.symbian/pjsip_simple.mmp Thu Nov 05 15:27:39 2009 @@ -27,7 +27,7 @@ // Must compile as C++, otherwise exception would not work OPTION CW -lang c++ -OPTION ARMCC --cpp +OPTION ARMCC --cpp --gnu OPTION GCC -x c++ OPTION GCCE -x c++ diff -Naur pjorig/pjlib/include/pj/compat/cc_armcc.h pjnew/pjlib/include/pj/compat/cc_armcc.h --- pjorig/pjlib/include/pj/compat/cc_armcc.h Fri Jan 02 03:56:36 2009 +++ pjnew/pjlib/include/pj/compat/cc_armcc.h Thu Nov 05 15:44:48 2009 @@ -30,9 +30,9 @@ #endif #define PJ_CC_NAME "armcc" -#define PJ_CC_VER_1 __ARMCC__ -#define PJ_CC_VER_2 __ARMCC_MINOR__ -#define PJ_CC_VER_3 __ARMCC_PATCHLEVEL__ +#define PJ_CC_VER_1 (__ARMCC_VERSION/100000) +#define PJ_CC_VER_2 ((__ARMCC_VERSION%100000)/10000) +#define PJ_CC_VER_3 (__ARMCC_VERSION%10000) #ifdef __cplusplus # define PJ_INLINE_SPECIFIER inline From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Gabor Tanka Sent: 04 November 2009 11:20 To: pjsip at lists.pjsip.org Subject: compiler error with RVCT Hello! I tried to compile PJSIP with RVCT2.2 [Build 616] for Symbian. First I got these errors. "..\pjlib\src\pj\Config.c", line 43: Error: #20: identifier "__ARMCC_MINOR__" is undefined PJ_LOG(3, (id, " PJ_CC_NAME/VER_(1,2,3) : %s-%d.%d.%d", PJ_CC_NAME, ^ "..\pjlib\src\pj\Config.c", line 43: Error: #20: identifier "__ARMCC_PATCHLEVEL__" is undefined PJ_LOG(3, (id, " PJ_CC_NAME/VER_(1,2,3) : %s-%d.%d.%d", PJ_CC_NAME, I modified pjlib\include\pj\compat\cc_armcc.h, I replaced the undefined macro. #define PJ_CC_VER_1 __ARMCC_VERSION #define PJ_CC_VER_2 "" #define PJ_CC_VER_3 "" And after this modification when pjmedia was compiling I got the following error: "..\pjmedia\src\pjmedia\Transport_srtp.c", line 205: Error: #144: a value of type "pj_status_t (*)(pjmedia_transport *, void *, const pj_sockaddr_t *, const pj_sockaddr_t *, unsigned int, void (*)(void *, void *, pj_ssize_t), void (*)(void *, void *, pj_ssize_t))" cannot be used to initialize an entity of type "pj_status_t (*)(pjmedia_transport *, void *, const pj_sockaddr_t *, const pj_sockaddr_t *, unsigned int, void (*)(void *, void *, pj_ssize_t) C, void (*)(void *, void *, pj_ssize_t) C) C" &transport_attach, What could be the problem? Has anybody experienced this? Thanks, Gabor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091105/8bbb753f/attachment-0001.html>