×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    24

    problem with the XML Parser SyExpat

    Hello Symbian developpers.
    I need your help.

    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.
    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.
    At the bottom I’ve shown some of them.
    Anybody help me?


    --------------------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( : 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 : ')'
    ....

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

  2. #2
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: problem with the XML Parser SyExpat

    Hi,

    once u check, is syexpat.lib created or not?

    regards,
    eswar

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    24

    Re: problem with the XML Parser SyExpat

    Hi,

    I didn't find any syexoat.lib on my computer...???

Similar Threads

  1. SyExpat Parser issue
    By sinhashivam in forum Symbian
    Replies: 0
    Last Post: 2006-03-29, 06:18
  2. XML parsing problem in Nokia 12
    By codekiller in forum Nokia M2M
    Replies: 2
    Last Post: 2005-04-26, 09:01
  3. Syexpat parser
    By S.S.Sudhakar in forum Symbian
    Replies: 0
    Last Post: 2005-04-18, 10:32
  4. Replies: 0
    Last Post: 2002-09-30, 15:54
  5. XML parser with SAX support
    By biju1176 in forum General Messaging
    Replies: 1
    Last Post: 2002-08-08, 10:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×