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 "Tatireddy, Vinod " <TA...@coned.com> on 2006/03/04 19:31:51 UTC

Problems in compiling xerces-C++ on Tru64 v5.1 unix

Iam compiling C++ code and getting  errors with inlcude of
xercesc/parsers/XercesDOMParser.hpp, i guess object alloaction for
newbucket is  unable to find "new" overloaded function. Can you please
shed some light on this, thanks

Unix Flavor :-  Tru64 v5.1(OSF1, V5.1 2650 alpha)  
C++ Complier: Compaq C++ V6.5-014 for Compaq Tru64 UNIX V5.1B


Error log:-


TraversingXML.o
cxx -std strict_ansi  -g -msg_display_number -msg_display_tag
-msg_disable 425 -pthread -nopragma_template -ttimestamp -nopure_cname
-DDIFFUSION_NOTIFIES -I/opt/oms/include -DOSF1AXP -DDU4_0 -DOSF1
-DNO_XMSTRINGS -DP_THREADS -DOSF1AXP_5 -DOSF1_VER=5  -DHAS_NOGUI
-I/stardev/src/toolkits/libWrapper -I/stardev/src/toolkits/libBase
-I/stardev/isis-3.4.4/include   -I/stardev/src/toolkits/libCmdLine
-I/stardev/src/toolkits -I/stardev/src/toolkits/libBase/iso_compat -c
TraversingXML.C
cxx: Error: /opt/oms/include/xercesc/util/RefHashTableOf.c, line 466:
#384 no
          instance of overloaded "operator new" matches the argument
list
          (nomatnewfun)
            argument types are: (unsigned long, MemoryManager *)
        newBucket = new (fMemoryManager)
RefHashTableBucketElem<TVal>(key, valueToAdopt, fBucketList[hashVal]);
--------------------^
cxx: Error: /opt/oms/include/xercesc/util/NameIdPool.c, line 291: #384
no
          instance of overloaded "operator new" matches the argument
list
          (nomatnewfun)
            argument types are: (unsigned long, MemoryManager *)
    NameIdPoolBucketElem<TElem>* newBucket = new (fMemoryManager)
NameIdPoolBucketElem<TElem>
---------------------------------------------^
cxx: Error: TraversingXML.C, line 22: #20 identifier
"xercescXMLDOMParser" is
          undefined (undeclared)
xercescXMLDOMParser parser;
^
cxx: Error: TraversingXML.C, line 27: #127 expected a statement
(expstmt) else { cout<<"You cnat parse"<<endl;} ^
cxx: Info: 4 errors detected in the compilation of "TraversingXML.C".
make: *** [TraversingXML.o] Error 1
-------------------------------------------------------

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