Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

C++ compiler version for XDK 9.2.0.6.0 on linux

95600Nov 21 2003 — edited Sep 28 2005
Dear sir,

We can compile, but cannot link the Oracle XML C++ demo programs in Linux for version 9.2.0.6.0 with Redhat 8.0 or 9.0 with g++ 3.2.
The error message is attached.
In which version of g++ is Oracle XML C++ lib built?
Do we have to use the same g++ version that was used to
build the lib?

Also, the header files such as oratypes.h
for Windows and Linux/Solaris are different even for the
same version of Oracle XDK. Can Oracle make them the same?


----------------------------------------------------
/usr/bin/g++ -o DOMSample -I../../../../xdk/include DOMSample.cpp -L../../../../lib -lxmlg9 -lxml9 -lxsd9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9 -lnsl -lpthread
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
from DOMSample.cpp:18:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
/tmp/ccpfxneq.o: In function `main':
/tmp/ccpfxneq.o(.text+0x77): undefined reference to `XMLParser::xmlinit(unsigned char*, void (*)(void*, unsigned char const*, unsigned), void*, xmlsaxcb*, void*, unsigned char*)'
/tmp/ccpfxneq.o(.text+0x10d): undefined reference to `XMLParser::xmlparse(unsigned char*, unsigned char*, unsigned)'
/tmp/ccpfxneq.o(.text+0x1a7): undefined reference to `XMLParser::getDocumentElement()'
/tmp/ccpfxneq.o(.text+0x1bf): undefined reference to `XMLParser::xmlterm()'
/tmp/ccpfxneq.o: In function `dump(Node*)':
/tmp/ccpfxneq.o(.text+0x1df): undefined reference to `Node::getName()'
/tmp/ccpfxneq.o(.text+0x207): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x218): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x221): undefined reference to `Node::getValue()'
/tmp/ccpfxneq.o(.text+0x250): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x261): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x26a): undefined reference to `Node::getValue()'
/tmp/ccpfxneq.o(.text+0x296): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x2a7): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x2b0): undefined reference to `Node::getValue()'
/tmp/ccpfxneq.o(.text+0x2e7): undefined reference to `Node::hasChildNodes()'
/tmp/ccpfxneq.o(.text+0x2f9): undefined reference to `Node::numChildNodes()'
/tmp/ccpfxneq.o(.text+0x321): undefined reference to `Node::getChildNode(unsigned)'
/tmp/ccpfxneq.o: In function `dumpspeech(Node*)':
/tmp/ccpfxneq.o(.text+0x3b5): undefined reference to `Node::numChildNodes()'
/tmp/ccpfxneq.o(.text+0x3dd): undefined reference to `Node::getChildNode(unsigned)'
/tmp/ccpfxneq.o(.text+0x3ee): undefined reference to `Node::getName()'
/tmp/ccpfxneq.o(.text+0x415): undefined reference to `Node::numChildNodes()'
/tmp/ccpfxneq.o(.text+0x43d): undefined reference to `Node::getChildNode(unsigned)'
/tmp/ccpfxneq.o(.text+0x44e): undefined reference to `Node::getType()'
/tmp/ccpfxneq.o(.text+0x46d): undefined reference to `Node::getValue()'
/tmp/ccpfxneq.o(.text+0x4a8): undefined reference to `Node::getName()'
/tmp/ccpfxneq.o(.text+0x4b9): undefined reference to `Node::getFirstChild()'
/tmp/ccpfxneq.o(.text+0x4c2): undefined reference to `Node::getValue()'
collect2: ld returned 1 exit status
make: *** [DOMSample] Error 1
----------------------------------------------------------
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2005
Added on Nov 21 2003
2 comments
3,497 views