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

Boris Kolpackov boris at codesynthesis.com
Tue Sep 19 13:55:25 EDT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060919/6b8d869a/attachment.pgp


More information about the xsd-users mailing list