| Reply | « Previous Thread | Next Thread » |
|
Hello guys,
first of all, congratulations for Python S60 3rd beta-release! Did anyone had problem on installing it on pc? I did and still I’m not able to compile it. I’m using S60 SDK 3rd_MR, GCCE. A] ::::::::::::::::::::::: running: > setup.py configure 30 produces errors: Running "bldmake bldfiles" ** .\BLD.INF:0: malformed option `-D ARMV5_ABIV2~=_____ARMV5_ABIV2~' ** BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (8448) ** cpp.EXE -undef -nostdinc -+ -I ..\..\epoc32\include -I . -I .\ -D ARMV5_ABIV2~=_____ARMV5_ABIV2~ -D EPOC32=_____EPOC32 -D MARM=_____MARM -D E ABI=_____EABI -D GENERIC_MARM=_____GENERIC_MARM -D MARM_ARMV5=_____MARM_ARMV5 -I "..\..\epoc32\include\variant" -include ..\..\epoc32\include\variant \Symbian_OS_v9.1.hrh ".\BLD.INF" ** Traceback (most recent call last): File "V:\PyS603rd\src\setup.py", line 544, in ? getattr(sys.modules['__main__'],funcname)(sys.argv[2:]) File "V:\PyS603rd\src\setup.py", line 285, in cmd_configure run_in('.','bldmake bldfiles') File "V:\PyS603rd\src\setup.py", line 229, in run_in run_command_and_check_log(cmd,verbose=verbose,ignore_errors=ignore_errors) File "V:\PyS603rd\src\setup.py", line 220, in run_command_and_check_log raise BuildFailedException, 'Command "%s" failed:\n%s'%(cmd,out['stdout']) BuildFailedException: Command "bldmake bldfiles" failed: .\BLD.INF:0: malformed option `-D ARMV5_ABIV2~=_____ARMV5_ABIV2~' BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (8448) cpp.EXE -undef -nostdinc -+ -I ..\..\epoc32\include -I . -I .\ -D ARMV5_ABIV2~=_____ARMV5_ABIV2~ -D EPOC32=_____EPOC32 -D MARM=_____MARM -D E ABI=_____EABI -D GENERIC_MARM=_____GENERIC_MARM -D MARM_ARMV5=_____MARM_ARMV5 -I "..\..\epoc32\include\variant" -include ..\..\epoc32\include\variant \Symbian_OS_v9.1.hrh ".\BLD.INF" Any hint? B]::::::::::::::::::::::::::: compilation “by hand” fails with this problem: V:\PyS603rd\src\core>abld build gcce udeb make -r -f "\EPOC32\BUILD\PyS603rd\src\core\EXPORT.make" EXPORT VERBOSE=-s Nothing to do make -r -f "\EPOC32\BUILD\PyS603rd\src\core\GCCE.make" MAKEFILE VERBOSE=-s perl -S makmake.pl -D \PyS603rd\src\core\CORE GCCE make -r -f "\EPOC32\BUILD\PyS603rd\src\core\GCCE.make" LIBRARY VERBOSE=-s make -s -r -f "\EPOC32\BUILD\PyS603rd\src\core\CORE\GCCE\CORE.GCCE" LIBRARY make -r -f "\EPOC32\BUILD\PyS603rd\src\core\GCCE.make" RESOURCE CFG=UDEB VERBOSE=-s make -s -r -f "\EPOC32\BUILD\PyS603rd\src\core\CORE\GCCE\CORE.GCCE" RESOURCEUDEB make -r -f "\EPOC32\BUILD\PyS603rd\src\core\GCCE.make" TARGET CFG=UDEB VERBOSE=-s make -s -r -f "\EPOC32\BUILD\PyS603rd\src\core\CORE\GCCE\CORE.GCCE" UDEB Cspyinterpreter.cpp Config.c cc1.exe: warning: command line option "-Wno-ctor-dtor-privacy" is valid for C++/ObjC++ but not for C In file included from include/longobject.h:21, from include/Python.h:74, from Symbian\\Config.c:15: ..//..//..//EPOC32//include/e32def.h:2769: error: initializer element is not constant make[1]: *** [..\..\..\EPOC32\BUILD\PyS603rd\src\core\CORE\GCCE\UDEB\config.o] Error 1 make: *** [TARGETCORE] Error 2 make -r -f "\EPOC32\BUILD\PyS603rd\src\core\GCCE.make" FINAL CFG=UDEB VERBOSE=-s This problem is usually happening in situations when there are imports of C++ headers in C files using GCCE from command line (without extern “C”). It compiles for WINSCW UDEB. Any hint? Thanks, Mik |
|
Maybe some path problem. Make sure that "cpp.exe" is the symbian one, not some cygwin or other stuff.
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
Hi,
I was thinking about a PATH problem as well... but then shoudln't neither the Symbian HelloWorldBasic give errors on compiling it? that works.... Anyway my PATH: V:\PyS603rd\src>echo %PATH% C:\Program Files\Common Files\Symbian\Tools;C:\Program Files\ARM\bin\win_32-pentium;C:\Program Files\ARM\RVD\Core\1.8.1\464\win_32-pentium\bin;C:\Prog ram Files\ARM\RVCT\Programs\2.2\503\win_32-pentium;C:\Program Files\CSL Arm Toolchain\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste m32\Wbem;C:\Program Files\Nokia\CodeWarrior for Symbian v3.1\Bin;C:\Program Files\Nokia\CodeWarrior for Symbian v3.1\Symbian_Tools\Command_Line_Tools; C:\Program Files\ARM\Utilities\FLEXlm\9.2\release\win_32-pentium;C:\Python24; Thanks anyway, Mik |
|
Hmm. Try to remove all those ARM stuff from path, leavy only CSL Arm toolchain. I think the RCVT is conflicting somehow with gcce.
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
Hi,
I'm having exactly the same compiling error: Q:\pys60\core>abld build gcce urel make -r -f "\EPOC32\BUILD\pys60\core\EXPORT.make" EXPORT VERBOSE=-s Nothing to do make -r -f "\EPOC32\BUILD\pys60\core\GCCE.make" MAKEFILE VERBOSE=-s perl -S makmake.pl -D \pys60\core\CORE GCCE make -r -f "\EPOC32\BUILD\pys60\core\GCCE.make" LIBRARY VERBOSE=-s make -s -r -f "\EPOC32\BUILD\pys60\core\CORE\GCCE\CORE.GCCE" LIBRARY make -r -f "\EPOC32\BUILD\pys60\core\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s make -s -r -f "\EPOC32\BUILD\pys60\core\CORE\GCCE\CORE.GCCE" RESOURCEUREL make -r -f "\EPOC32\BUILD\pys60\core\GCCE.make" TARGET CFG=UREL VERBOSE=-s make -s -r -f "\EPOC32\BUILD\pys60\core\CORE\GCCE\CORE.GCCE" UREL Cspyinterpreter.cpp Config.c cc1.exe: warning: command line option "-Wno-ctor-dtor-privacy" is valid for C++/ ObjC++ but not for C In file included from include/longobject.h:21, from include/Python.h:74, from Symbian\\Config.c:15: ..//..//EPOC32//include/e32def.h:2769: error: initializer element is not constan t make[1]: *** [..\..\EPOC32\BUILD\pys60\core\CORE\GCCE\UREL\config.o] Error 1 make: *** [TARGETCORE] Error 2 make -r -f "\EPOC32\BUILD\pys60\core\GCCE.make" FINAL CFG=UREL VERBOSE=-s I have trimmed my path to the bare minimum and still have the same problem: C:\Program Files\Common Files\Symbian\Tools;d:\Program Files\CSL Arm Toolchain\bin;D:\Python24\.;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT; Have you solved this problem, Mikfi? |
|
Problem solved. I've just noticed there is a patch on the symbian header files in pys60-fix-3rded-sdk.diff !
I compiled the GCCE after applying the patch. |
|
How you patch?I can't find GNU Patch
Can you send me (santehnik "'at'" mabila.ua) utiliy ? |
| Santehnik.UA |
| View Public Profile |
| Find all posts by Santehnik.UA |
|
i downloaded the latest GNU patch http://www.gnu.org/software/patch/patch.html
However, I got some errors when trying to apply the patch. Then I opened the diff file and found only a couple of places need to be patched. So I just manually changed the header files ! |
|
probably missing platform in the bld.inf
try putting something like : PRJ_PLATFORMS DEFAULT GCCE |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Mail Sync for S60 / S60 3rd Devices | bmenke | PC Suite API and PC Connectivity SDK | 4 | 2006-09-17 07:24 |
| Filelist example S60 3rd failure to compile | FBulovic | Tools and SDK Feedback | 0 | 2006-06-20 08:49 |
| What is going on with Vibration on S60? | amd_rikus | Mobile Java General | 3 | 2006-06-16 01:29 |
| A problem in Compiling a program with S60 SDK 3rd | symbian-newbie | General Symbian C++ | 1 | 2006-05-12 08:21 |
| A problem in Compiling a program with S60 SDK 3rd | symbian-newbie | General Symbian C++ | 7 | 2006-05-12 05:41 |