You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by David Link <dv...@yahoo.com> on 2003/05/13 20:13:15 UTC

PerlContentCallbackHandler.hpp:27: parse error before `&' token

RedHat 8
xerces-C 2.2.0

Make fails ... (thanks for any help on this..)

$ make
make -C Handler static
make[1]: Entering directory
`/data/software/xml-xerces/XML-Xerces-2.0.0-3/Handler'
gcc -c  -I. -IHandler -I/usr/include/xerces -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"\"
-DXS_VERSION=\"\" -fpic
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  
PerlContentCallbackHandler.cpp
In file included from PerlContentCallbackHandler.hpp:4,
                 from PerlContentCallbackHandler.cpp:2:
PerlCallbackHandler.hpp:51:8: warning: extra tokens at end of #endif
directive
In file included from PerlContentCallbackHandler.cpp:2:
PerlContentCallbackHandler.hpp:10: base class `ContentHandler' has
incomplete 
   type
PerlContentCallbackHandler.hpp:27: parse error before `&' token
PerlContentCallbackHandler.hpp:40: parse error before `*' token
PerlContentCallbackHandler.cpp:40: parse error before `&' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::startElement(...)':
PerlContentCallbackHandler.cpp:54: `XMLString' undeclared (first use
this 
   function)
PerlContentCallbackHandler.cpp:54: (Each undeclared identifier is
reported only 
   once for each function it appears in.)
PerlContentCallbackHandler.cpp:54: parse error before `::' token
PerlContentCallbackHandler.cpp:60: parse error before `::' token
PerlContentCallbackHandler.cpp:66: parse error before `::' token
PerlContentCallbackHandler.cpp:75: `attrs' undeclared (first use this
function)
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::endElement(const XMLCh*, const XMLCh*,
const 
   XMLCh*)':
PerlContentCallbackHandler.cpp:106: parse error before `::' token
PerlContentCallbackHandler.cpp:112: parse error before `::' token
PerlContentCallbackHandler.cpp:118: parse error before `::' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::characters(const XMLCh*, unsigned int)':
PerlContentCallbackHandler.cpp:152: parse error before `::' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::ignorableWhitespace(const XMLCh*,
unsigned 
   int)':
PerlContentCallbackHandler.cpp:186: parse error before `::' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::processingInstruction(const XMLCh*,
const 
   XMLCh*)':
PerlContentCallbackHandler.cpp:286: parse error before `::' token
PerlContentCallbackHandler.cpp:292: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:310: parse error before `*' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::setDocumentLocator(...)':
PerlContentCallbackHandler.cpp:327: `locator' undeclared (first use
this 
   function)
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::startPrefixMapping(const XMLCh*, const
XMLCh*)':
PerlContentCallbackHandler.cpp:353: parse error before `::' token
PerlContentCallbackHandler.cpp:359: parse error before `::' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::endPrefixMapping(const XMLCh*)':
PerlContentCallbackHandler.cpp:391: parse error before `::' token
PerlContentCallbackHandler.cpp: In member function `void 
   PerlContentCallbackHandler::skippedEntity(const XMLCh*)':
PerlContentCallbackHandler.cpp:422: parse error before `::' token
make[1]: *** [PerlContentCallbackHandler.o] Error 1
make[1]: Leaving directory
`/data/software/xml-xerces/XML-Xerces-2.0.0-3/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: PerlContentCallbackHandler.hpp:27: parse error before `&' token

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"David Link" <dv...@yahoo.com> writes:

> RedHat 8
> xerces-C 2.2.0

You have to use the same versions Xerces-P and Xerces-C, so you have
the option of using versions 2.0 or 2.1, I'm working on 2.2 at the
moment but I'm having trouble.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org