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!

linker error: undefined reference to `XMLParser::xmlinit(...)'

70583May 24 2002
Hi,

I downloaded:
"Oracle XML Developer's Kit for C++ for Solaris-9i"
version: 9.2.0.2.0 03/31/02

Now when I try to compile the demo files by doing make the linker gives me the following error:

undefined reference to `XMLParser::xmlinit(...)'
undefined reference to `XMLParser::xmlparse(...)'
undefined reference to `XMLParser::getDocumentElement(void)'
undefined reference to `XMLParser::xmlterm(void)'
...
...

Any idea what could be wrong (I am using the same Makefile.defs which comes with this version)

XDK_LIB=-lxmlg9 -lxml9 -lxsd9
ORA_LIB=-lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9
NET_LIB=-lnsl -lsocket
LIB= -L$(TOP)/lib $(XDK_LIB) $(ORA_LIB) $(NET_LIB)

Thanks,
Usman.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2002
Added on May 24 2002
0 comments
331 views