R: [GRASS-dev] WinGRASS: Xerces-C and Expat under MingW

marco.pasetti at alice.it marco.pasetti at alice.it
Mon Mar 3 09:23:12 EST 2008


Hi Benjamin,
 
for xerces I cannot help, while about expat I did a lot of attempts. GDAL configure doesn't want to find it, and I don't know why!!!
I think that you would waste your time; it's better to concentrate strengths on xerces
 
Marco
 

________________________________

Da: grass-dev-bounces at lists.osgeo.org per conto di benjamin.ducke at ufg.uni-kiel.de
Inviato: lun 03/03/2008 15.18
A: grass-dev at lists.osgeo.org
Oggetto: [GRASS-dev] WinGRASS: Xerces-C and Expat under MingW



Dear WinGRASS friends,

I just got hold of my old MinGW notes and would like
to contribute a bit to the GRASS Win binaries.

Has anyone got GDAL 1.5.0 to configure and compile correctly
*including* support for Xerces-C 2.8.0 on MinGW?

I have tried both DLL binaries and compilation from scratch
(which only creates static libs at the moment, but that's OK).

Now, the GDAL configure scripts tries to compile a small Xerces-C
test program and keeps failing like this:

C:/DOCUME~1/bart/LOCALS~1/Temp/cck1aaaa.o: In function
`ZN11xercesc_2_810XMLDeleterD1Ev':
C:/msys/1.0/local/include/xercesc/util/PlatformUtils.hpp:851: undefined
reference to `xercesc_2_8::XMLUni::fgXercescDefaultLocale'
C:/msys/1.0/local/include/xercesc/util/PlatformUtils.hpp:851: undefined
reference to `xercesc_2_8::XMLPlatformUtils::Initialize(char const*, char
const*, xercesc_2_8::PanicHandler*, xercesc_2_8::MemoryManager*, bool)'
collect2: ld returned 1 exit status

The crazy thing is that I know the libraries are fine and
I grepped for "" in the binaries and found the declaration for
the symbol "fgXercescDefaultLocale" in there!
(although it is not present in the "xercesc_2_8::XMLUni::" namespace
form, but I don't know whether it should be).

Also, I had Xerces-C as a static lib in the past and GDAL
would find and use it just fine. That was GDAL 1.4.4, though, so maybe
they just recently added that critical test program.

There are similar problems with Expat. I can also not get
GDAL 1.5 to recognize it.

Any help would be greatly appreciated. It seems that Xerces-C would
be important for WMS support in GDAL.

Best,

Benjamin

_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080303/5ace5521/attachment.html


More information about the grass-dev mailing list