[PythonCE] Porting an application: Needing XML-Parser

Ischebeck, Jan jan.ischebeck at p3-gmbh.de
Fri May 27 17:23:28 CEST 2005


Hi,

Trying to port an application to Pocket PC, I tried to compile some extra modules.

I suceeded in compiling mxDatetime, but compiling the xml parser (xml.sax) didn't work.
I always got the same error (see below), althought I patched it as described in this email (http://mail.python.org/pipermail/pythonce/2004-October/000780.html)

Does anyone has an idea how to fix it? Are there precompiled binaries around?
What about additional win32 modules like win32con, afxres, commctrl, win32clipboard or win32ui?

I would like to put the compiled mxDateTime modules somewhere. Is the sourceforge site still in use?

Jan

--------------------Configuration: PyExpat - Win32 (WCE ARMV4) Debug--------------------
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok.c(12): Could not find the file expat_config.h.
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmlrole.c(11): Could not find the file expat_config.h.
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmlparse.c(16): Could not find the file expat_config.h.
Compiling...
xmltok_impl.c
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(90) : error C2061: syntax error : identifier 'scanComment'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(90) : error C2059: syntax error : ';'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(90) : error C2059: syntax error : 'type'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(128) : error C2061: syntax error : identifier 'scanDecl'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(128) : error C2059: syntax error : ';'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(128) : error C2059: syntax error : 'type'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(175) : error C2061: syntax error : identifier 'checkPiTarget'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(175) : error C2059: syntax error : ';'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(175) : error C2059: syntax error : 'type'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(220) : error C2061: syntax error : identifier 'scanPi'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(220) : error C2059: syntax error : ';'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(220) : error C2059: syntax error : 'type'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(282) : error C2061: syntax error : identifier 'scanCdataSection'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(282) : error C2059: syntax error : ';'
C:\WINCEDEVEL\Python-2.3.5\Modules\expat\xmltok_impl.c(282) : error C2059: syntax error : 'type'
(.... and so on...)



More information about the PythonCE mailing list