Hi Andreas,
Is it possible that you have xereces 2.2 installed in ../../lib? You might
want to change your link options from
-L../../lib -L/usr/local/lib -L../../xerces-c-src_2_3_0/lib
to
-L../../xerces-c-src_2_3_0/lib -L../../lib -L/usr/local/lib
so that the 2.3 library gets picked up first.
Regards,
David A. Cargill
"Andreas B. Thun"
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
cc:
07/24/2003 07:58 Subject: linker errors: undefined
reference to....
AM
Please respond to
xerces-c-dev
Hi,
I�ve just installed the new xerces 2_3_0 and built the samples -> runs
fine.
Then I�ve compiled successfully my library libdomparse (DOMParse.cpp) which
I want to use
in my main DOMParse_test.
But ... unfortunately I get these linking errors when I try to link my main
program DOMPARSE_test:
g++ -w -pedantic -g -Wpointer-arith -Wcast-qual -Wwrite-strings
-Wconversion -Wall -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS
-I../../include -Iinclude -I../../xerces-c-src_2_3_0/include -o
DOMPARSE_test \
DOMParse_test.cpp -L../../lib -L/usr/local/lib
-L../../xerces-c-src_2_3_0/lib -ldomparse -lcontemplate -lxerces-c -lantlr
../../lib/libdomparse.a(DOMParse.o)(.text+0x1c7): In function
`printNodeName':
/home/abt/DOMParse.cpp:150:
undefined reference to `xercesc_2_2::XMLString::transcode(unsigned short
const*)'
^^^^^^^^^^^^^^^^^^^^
../../lib/libdomparse.a(DOMParse.o)(.text+0x252): In function
`getNodeValue':
/home/abt/DOMParse.cpp:178:
undefined reference to `xercesc_2_2::XMLString::transcode(unsigned short
const*)'
^^^^^^^^^^^^^^^^^^^^
...
I am running out of ideas, LD_LIBRARY_PATH for my LINUX system is set....
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]