XML Parser SyExpat?

Login to reply to this topic.
Wed, 2006-05-31 13:11
Joined: 2006-04-20
Forum posts: 15
Hello, Symbian developpers.
I need your help.
I'm trying to use SyExpat library, but I can't build this project.
If I do in console: makmake SyExpat.mmp vc6.
I get warning: Frozen .DEF file \...\syexpatu.def not found
- project not frozen.
After that when I run .dsw project and build it, I 've had many errors.
Anybody help me?
Thanks.

Thu, 2006-06-01 08:23
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: XML Parser SyExpat?
The frozen warning is not a problem. You can safely ignore it at this time (but you should check what freezing a DLL mean before releasing your project however).

Regarding your many errors, well, how to tell,... there is almost nothing we can do if you don't tell more about them.

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Thu, 2006-06-01 09:49
Joined: 2006-04-20
Forum posts: 15
Re: XML Parser SyExpat?
I'll try to explain more clearly.
I want to use XML Generator and Parser in my application for Nokia 9500.
I'm using SDK Series 80 (Symbian OS v 7.0s) and MS VC++ 6.0.
When I found this XML parser: http://www.newlc.com/IMG/zip/SyExpat-2.zip, I tried to use it.
I found Symbian folder and file *.mmp. As noted I above, IÂ’d got many error.
At the bottom IÂ’ve shown some of them.
Sorry for my broken English.

Quote

--------------------Configuration: SYEXPAT - Win32 Uni Debug--------------------
Compiling...
Xmltok_ns.c
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(1) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(2) : error C2091: function returns function
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(3) : warning C4131: 'NS' : uses old-style declarator
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(4) : warning C4013: 'ns' undefined; assuming extern returning int
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(4) : error C2065: 'internal_utf8_encoding' : undeclared identifier
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(4) : error C2224: left of '.enc' must have struct/union type
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(4) : warning C4033: 'NS' must return a value
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(7) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(Cool : error C2091: function returns function
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(9) : warning C4131: 'NS' : uses old-style declarator
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(9) : error C2084: function 'int *(__cdecl *__cdecl NS())(void )' already has a body
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(17) : error C2065: 'internal_little2_encoding' : undeclared identifier
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(17) : error C2224: left of '.enc' must have struct/union type
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(18) : error C2065: 'internal_big2_encoding' : undeclared identifier
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(18) : error C2224: left of '.enc' must have struct/union type
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(18) : warning C4033: 'NS' must return a value
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(22) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(22) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(33) : error C2061: syntax error : identifier 'NS'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(33) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(33) : error C2143: syntax error : missing ')' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(33) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(33) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(34) : error C2059: syntax error : ')'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(41) : error C2061: syntax error : identifier 'NS'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(41) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(41) : error C2143: syntax error : missing ')' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(41) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(41) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(42) : error C2059: syntax error : ')'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(49) : error C2143: syntax error : missing ')' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(49) : error C2091: function returns function
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(49) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(49) : warning C4228: nonstandard extension used : qualifiers after comma in declarator list are ignored
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(49) : error C2143: syntax error : missing ';' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(49) : warning C4218: nonstandard extension used : must specify at least a storage class or a type
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(50) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(50) : error C2059: syntax error : ')'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(64) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(65) : error C2143: syntax error : missing ')' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(65) : error C2091: function returns function
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(65) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(65) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(65) : error C2059: syntax error : ')'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(85) : error C2143: syntax error : missing ')' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(85) : error C2091: function returns function
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(85) : error C2143: syntax error : missing '{' before '*'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(86) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_ns.c(93) : error C2059: syntax error : ')'
Xmltok_impl.c
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(90) : error C2061: syntax error : identifier 'scanComment'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(90) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(90) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(128) : error C2061: syntax error : identifier 'scanDecl'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(128) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(128) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(175) : error C2061: syntax error : identifier 'checkPiTarget'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(175) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(175) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(220) : error C2061: syntax error : identifier 'scanPi'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(220) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(220) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(282) : error C2061: syntax error : identifier 'scanCdataSection'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(282) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(282) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(302) : error C2061: syntax error : identifier 'cdataSectionTok'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(302) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(302) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(380) : error C2061: syntax error : identifier 'scanEndTag'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(380) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(380) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(429) : error C2061: syntax error : identifier 'scanHexCharRef'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(429) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(429) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(461) : error C2061: syntax error : identifier 'scanCharRef'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(461) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(461) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(493) : error C2061: syntax error : identifier 'scanRef'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(493) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(493) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(523) : error C2061: syntax error : identifier 'scanAtts'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(523) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(523) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(682) : error C2061: syntax error : identifier 'scanLt'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(682) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(682) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(782) : error C2061: syntax error : identifier 'contentTok'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(782) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(782) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(881) : error C2061: syntax error : identifier 'scanPercent'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(881) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(881) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(910) : error C2061: syntax error : identifier 'scanPoundName'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(910) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(910) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(937) : error C2061: syntax error : identifier 'scanLit'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(937) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(937) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(969) : error C2061: syntax error : identifier 'prologTok'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(969) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(969) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1200) : error C2061: syntax error : identifier 'attributeValueTok'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1200) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1200) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1258) : error C2061: syntax error : identifier 'entityValueTok'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1258) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1258) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1368) : error C2061: syntax error : identifier 'isPublicId'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1368) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1368) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1428) : error C2061: syntax error : identifier 'getAtts'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1428) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1428) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1521) : error C2061: syntax error : identifier 'charRefNumber'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1521) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1521) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1565) : error C2061: syntax error : identifier 'predefinedEntityName'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1565) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1565) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1619) : error C2061: syntax error : identifier 'sameName'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1619) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1619) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1683) : error C2061: syntax error : identifier 'nameMatchesAscii'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1683) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1683) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1696) : error C2061: syntax error : identifier 'nameLength'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1696) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1696) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1723) : error C2061: syntax error : identifier 'skipS'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1723) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1723) : error C2059: syntax error : 'type'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1739) : error C2061: syntax error : identifier 'updatePosition'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1739) : error C2059: syntax error : ';'
D:\TEMP\DOWNLOADS\SYEXPAT-2\LIB\Xmltok_impl.c(1739) : error C2059: syntax error : 'type'
Generating Code...
Error executing cl.exe.

SYEXPAT.DLL - 126 error(s), 7 warning(s)

Thu, 2006-06-01 14:18
Joined: 2005-09-16
Forum posts: 141
Re: XML Parser SyExpat?
Hi,

Check once syexpat.lib is created or not.

regards,
eswar
Thu, 2006-06-01 14:49
Joined: 2006-04-20
Forum posts: 15
Re: XML Parser SyExpat?
Quote from: eswar_illuri
Hi,

Check once syexpat.lib is created or not.

regards,
eswar

I haven't syexpat.lib off course.
What are you meaning???

 
  • Login to reply to this topic.