You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Webb Roberts <we...@gtri.gatech.edu> on 2003/06/02 17:56:19 UTC

Build failure under cygwin

I am trying to build xerces-c under cygwin.  My cygwin installation is 
up-to-date.

I get this with the CVS release, as well, as the 2.3.0 source release.

After running runConfig, during make, on the very first sourcefile, I get 
the error below.

I followed posted instructions, or tried to.  Did I miss something?

I get the same error when running by hand, outside of make.  The -I paths 
to the include files look good.  From tracing the includes, it seems like 
MemoryManager should be included OK.

Thanks!
Webb

g++ -D__CYGWIN__ -I/usr/include -I/usr/include/w32api -c 
-I/cygdrive/c/webb/src/xml-xerces/c/include -w -O 
-DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2 
  -DPROJ_DOM  -DPROJ_VALIDATORS -DXML_USE_CYGWIN_TRANSCODER 
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS 
-DXML_USE_NETACCESSOR_SOCKET     -o 
/cygdrive/c/webb/src/xml-xerces/c/obj/CYGWIN/Base64.o Base64.cpp

Base64.cpp:162: `MemoryManager' was not declared in this scope
Base64.cpp:162: parse error before `,' token
Base64.cpp: In function `void* xercesc_2_2::getExternalMemory(...)':
Base64.cpp:165: `allocator' undeclared (first use this function)
Base64.cpp:165: (Each undeclared identifier is reported only once for each
    function it appears in.)
Base64.cpp:165: `sizeToAllocate' undeclared (first use this function)
Base64.cpp: In function `void* xercesc_2_2::getInternalMemory(unsigned int)':
Base64.cpp:171: incomplete type `xercesc_2_2::XMLPlatformUtils' does not have
    member `fgMemoryManager'

etc...


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