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: [EMAIL PROTECTED] per conto di [EMAIL PROTECTED]
Inviato: lun 03/03/2008 15.18
A: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to