[xsd-users] cannot compile libxsd-frontend 1.8.0 cygwin

Schmilinsky, Remsy Remsy.Schmilinsky at ccra-adrc.gc.ca
Tue Sep 19 14:12:56 EDT 2006


Sorry for the confusion. The problem is that we need to recompile xerces
with other options in order to run the examples.

remsy

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: September 19, 2006 1:55 PM
To: Schmilinsky, Remsy
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] cannot compile libxsd-frontend 1.8.0 cygwin


Hi Remsy,

Schmilinsky, Remsy <Remsy.Schmilinsky at ccra-adrc.gc.ca> writes:

> Hi Boris. I am now trying to compile the latest version of xsd,
however
> it breaks within libxsd-frontend 1.8.0. Please see the errors below, I
> don't think it's necessary to recompile xerces as it was working
without
> problems with the previous version of xsd.
>
> ...
>
> /usr/src/xerces-c-src_2_7_0/src/xercesc/util/KVStringPair.hpp:177:
> warning: 'void xercesc_2_7::KVStringPair::setKey(const XMLC
> h*, unsigned int)' defined locally after being referenced with
dllimport
> linkage
>
> ...
>
>
/usr/src/libxsd-frontend-1.8.0/xsd-frontend/libxsd-frontend.a(parser.o):
> parser.cxx:(.text+0x16809): undefined reference to `__
> imp___ZN11xercesc_2_76XMLUni22fgXercescDefaultLocaleE'

I am pretty sure you are using a build of Xerces-C++ that was not built
according to the instructions for Windows[1]. All this
dllimport/dllexport
stuff should have been commented out in the GCCDefs.hpp.


[1] http://codesynthesis.com/projects/xsd/extras/build-windows.xhtml

hth,
-boris




More information about the xsd-users mailing list