* xerces1_6_0 and gcc3.x
@ 2002-01-09 0:38 thomas.porschberg
0 siblings, 0 replies; only message in thread
From: thomas.porschberg @ 2002-01-09 0:38 UTC (permalink / raw)
To: gcc-help
I tried to compile xerces XML parser from apache project with
gcc3.0.1 under linux. I built the library, but the building of
the samples failed.
porschberg@porschberg:~/xerces-c-src1_6_0/samples> gmake saxprint
Building SAXPrint
cd SAXPrint ; gmake ; cd ..
gmake[1]: Entering directory `/home/porschberg/xerces-c-src1_6_0/samples/SAXPrint'
mkdir -p /home/porschberg/xerces-c-src1_6_0/bin/obj/SAXPrint
/opt/experimental/bin/g++ -DLINUX -fpic -L/usr/lib -L/usr/local/lib
-L/opt/experimental/lib /home/porschberg/xerces-c-src1_6_0/bin/obj/SAXPrint/SAXPrint.o
/home/porschberg/xerces-c-src1_6_0/bin/obj/SAXPrint/SAXPrintHandlers.o
-o /home/porschberg/xerces-c-src1_6_0/bin/SAXPrint -L/home/porschberg/xerces-c-src1_6_0/lib -lxerces-c1_6_0 -lc
/home/porschberg/xerces-c-src1_6_0/lib/libxerces-c1_6_0.so: undefined reference to `stricmp(char const*, char const*)'
/home/porschberg/xerces-c-src1_6_0/lib/libxerces-c1_6_0.so:
undefined reference to `strnicmp(char const*, char const*, unsigned)'
collect2: ld returned 1 exit status
gmake[1]: *** [/home/porschberg/xerces-c-src1_6_0/bin/SAXPrint] Error 1
gmake[1]: Leaving directory `/home/porschberg/xerces-c-src1_6_0/samples/SAXPrint'
porschberg@porschberg:~/xerces-c-src1_6_0/samples>
What about this functions strnicmp(char const*, char const*, unsigned) and
stricmp(char const*, char const*) ?
I found a header file .../util/Compilers/GCCDefs.hpp with the declaratio of this two functions:
int stricmp(const char* const str1, const char* const str2);
int strnicmp(const char* const str1, const char* const str2, const unsigned int count);
Have I to link a additional library?
because we want use gcc3.0.1 for production not only under linux everery help
is very appreciate!
--
PALOMA-system is a treasure, hanger or large item and stored in the wrong area (Loc. 1/K/99/91/1)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-09 8:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09 0:38 xerces1_6_0 and gcc3.x thomas.porschberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).