came a bit further, small tweaks from the porting guide to the mpp file and the __TText error is easily fixed by a __GCC32__ define:
[root@localhost group]# abld build gcce urel
make: Nothing to be done for `EXPORT'.
perl -S makmake.pl -D /usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO GCCE
make -s -r -f "/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMO.gcce" LIBRARY
make -s -r -f "/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMO.gcce" RESOURCEUREL
Creating /root/symbian-sdks/s60_30/epoc32/data/z/system/apps/PlutoMO
In file included from /usr/src/svn/charon-merge/src/PlutoMO/src/../data/PlutoMO.rss:8:
../inc/plutomo.loc:16:15: warning: no newline at end of file
Created /root/symbian-sdks/s60_30/epoc32/include/PlutoMO.rsg
In file included from /usr/src/svn/charon-merge/src/PlutoMO/src/../data/PlutoMO_caption.rss:1:
../inc/plutomo.loc:16:15: warning: no newline at end of file
Created /root/symbian-sdks/s60_30/epoc32/include/PlutoMO_caption.rsg
* Source file: /usr/src/svn/charon-merge/src/PlutoMO/aif/PlutoMOaif.rss
* Resource file: /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/aif.rsc
* arm-none-symbianelf-cpp -undef -C -I "." -I "../inc" -I "../../BD" -I "../../PlutoUtils" -I "../../VIPShared" -I ".." -I "../.." -I "../../../../../../../root/symbian-sdks/s60_20/series60ex/helperfunctions" -I- -I "." -I "../../../../../../../root/symbian-sdks/s60_20/epoc32/include" -I "../../../../../../../root/symbian-sdks/s60_30/epoc32/include/variant" -I "../../../../../symbian/symbian-sdks/s60_30/epoc32/tools/include" -I "../../../../../../../root/symbian-sdks/s60_30/epoc32/include/variant" -include ../../../../../../../root/symbian-sdks/s60_30/epoc32/include/variant/symbian_os_v9.1.hrh -I /usr/src/symbian/symbian-sdks/s60_30/epoc32/tools/../include -D_UNICODE "/usr/src/svn/charon-merge/src/PlutoMO/aif/PlutoMOaif.rss" -o "/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMOaif.rpp"
Use of uninitialized value $P in pattern match (m//) at /usr/src/symbian/symbian-sdks/s60_30/epoc32/tools/pathutl.pm line 139.
* merging text strings to /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMOaif.rpp
* rcomp -u -:/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/_dump_of_resource_ -o"/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/aif.rsc" -s"/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMOaif.rpp" -i"/usr/src/svn/charon-merge/src/PlutoMO/aif/PlutoMOaif.rss"
* deleting /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMOaif.rpp
* bmconv /q /./root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/aif.mbm /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/context_pane_icon.bmp /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/context_pane_icon_mask.bmp /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/list_icon.bmp/c8/usr/src/svn/charon-merge/src/PlutoMO/aif/list_icon_mask.bmp
* bmconv /q /s /./root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/aif_xip.mbm /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/context_pane_icon.bmp /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/context_pane_icon_mask.bmp /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/list_icon.bmp /c8/usr/src/svn/charon-merge/src/PlutoMO/aif/list_icon_mask.bmp
* uidcrc 0x101fb032 0 0x01ef0015 /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/out.aif
* uidcrc 0x101fb032 0 0x01ef0015 /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/out.aif
* Writing length of the RSC-block
* Appending the RSC-block
* Appending the MBM-block
* Appending the XIPMBM-block
* copy /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/out.aif /root/symbian-sdks/s60_30/epoc32/data/z/system/apps/PlutoMO/PlutoMO.aif
* copy /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/out_xip.aif /root/symbian-sdks/s60_30/epoc32/data/z/system/apps/PlutoMO/PlutoMO_xip.aif
Creating /root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/urel
Creating /root/symbian-sdks/s60_30/epoc32/release/gcce/urel
make -s -r -f "/root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/PlutoMO.gcce" UREL
BD_CP_Disconnect.cpp
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:8,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:59:1: warning: "IMPORT_C" redefined
In file included from <command line>:19:
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:22:1: warning: this is the location of the previous definition
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:8,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:66:1: warning: "TEMPLATE_SPECIALIZATION" redefined
In file included from <command line>:19:
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:28:1: warning: this is the location of the previous definition
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:8,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:101:1: warning: "VA_START" redefined
In file included from <command line>:19:
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:82:1: warning: this is the location of the previous definition
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:8,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:102:1: warning: "VA_ARG" redefined
In file included from <command line>:19:
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:83:1: warning: this is the location of the previous definition
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:8,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:103:1: warning: "VA_END" redefined
In file included from <command line>:19:
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:84:1: warning: this is the location of the previous definition
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:8,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:148: error: declaration of `typedef TInt8*va_list[1]'
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:62: error: conflicts with previous declaration `typedef struct std::__va_list std::va_list'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32def.h:148: error: declaration of `typedef TInt8*va_list[1]'
/root/symbian-sdks/s60_30/epoc32/include/gcce/gcce.h:62: error: conflicts with previous declaration `typedef struct std::__va_list std::va_list'
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:1322,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32des16.h:296: error: `__wchar_t' does not name a type
In file included from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:1395: error: `__wchar_t' does not name a type
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:4119: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:4143: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:4169: error: declaration of `TAny* operator new(TUint)' throws different exceptions
/root/symbian-sdks/s60_30/epoc32/include/gcce/../symcpp.h:21: error: than previous declaration `TAny* operator new(TUint) throw ()'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:4171: error: declaration of `void operator delete(TAny*)' throws different exceptions
/root/symbian-sdks/s60_30/epoc32/include/gcce/../symcpp.h:29: error: than previous declaration `void operator delete(TAny*) throw ()'
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.h:4185,
from ../../PlutoUtils/MyString.h:26,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl: In constructor `TPckgBuf<T>::TPckgBuf()':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:665: error: `iBuf' undeclared (first use this function)
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:665: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl: In constructor `TPckgBuf<T>::TPckgBuf(const T&)':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:669: error: `iBuf' undeclared (first use this function)
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl: In member function `T& TPckgBuf<T>::operator=(const T&)':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:675: error: there are no arguments to `Copy' that depend on a template parameter, so a declaration of `Copy' must be available
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:675: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:675: error: `iBuf' undeclared (first use this function)
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl: In member function `T& TPckgBuf<T>::operator()()':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:678: error: `iBuf' undeclared (first use this function)
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl: In member function `const T& TPckgBuf<T>::operator()() const':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32std.inl:681: error: `iBuf' undeclared (first use this function)
In file included from ../../PlutoUtils/MyString.h:27,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h: At global scope:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:188: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:210: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:216: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:223: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:237: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:329: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:421: error: an explicit specialization must be preceded by 'template <>'
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.h:1200,
from ../../PlutoUtils/MyString.h:27,
from ../../PlutoUtils/FileUtils.h:30,
from ../../SerializeClass/SerializeClass.h:23,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl: In member function `void CArrayFixFlat<T>::SetReserveL(TInt)':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl:130: error: there are no arguments to `SetReserveFlatL' that depend on a template parameter, so a declaration of `SetReserveFlatL' must be available
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl: In member function `void CArrayPtr<T>::ResetAndDestroy()':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl:158: error: there are no arguments to `Count' that depend on a template parameter, so a declaration of `Count' must be available
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl:159: error: there are no arguments to `At' that depend on a template parameter, so a declaration of `At' must be available
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl:160: error: there are no arguments to `Reset' that depend on a template parameter, so a declaration of `Reset' must be available
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl: In member function `void CArrayPtrFlat<T>::SetReserveL(TInt)':
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/e32base.inl:170: error: there are no arguments to `SetReserveFlatL' that depend on a template parameter, so a declaration of `SetReserveFlatL' must be available
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32page.h:8,
from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32btree.h:8,
from ../../PlutoUtils/MyMap.h:25,
from ../../PlutoUtils/MyStl.h:55,
from ../../SerializeClass/SerializeClass.h:27,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32strm.h: At global scope:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32strm.h:166: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32strm.h:198: error: an explicit specialization must be preceded by 'template <>'
In file included from ../../PlutoUtils/MyMap.h:25,
from ../../PlutoUtils/MyStl.h:55,
from ../../SerializeClass/SerializeClass.h:27,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32btree.h:417: error: an explicit specialization must be preceded by 'template <>'
In file included from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/gdi.h:11,
from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/fntstore.h:11,
from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/w32std.h:13,
from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/coemain.h:14,
from ../../../../../../../root/symbian-sdks/s60_20/epoc32/include/eikenv.h:10,
from ../../SerializeClass/SerializeClass.h:37,
from ../../BD/BDCommand.h:33,
from ../../VIPShared/BD_CP_Disconnect.h:22,
from ../../VIPShared/BD_CP_Disconnect.cpp:21:
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32std.h:173: error: an explicit specialization must be preceded by 'template <>'
../../../../../../../root/symbian-sdks/s60_20/epoc32/include/s32std.h:222: error: an explicit specialization must be preceded by 'template <>'
make[1]: *** [../../../../../../../root/symbian-sdks/s60_30/epoc32/build/usr/src/svn/charon-merge/src/PlutoMO/group/PlutoMO/gcce/urel/BD_CP_Disconnect.o] Error 1
make: *** [TARGETPlutoMO] Error 2
make: Nothing to be done for `FINAL'.
[root@localhost group]#