Hello Boris, Yes, I used the suggested configuration options when installing previously. I have now re-installed using...
$ ./configure LDFLAGS=-no-undefined --disable-shared ...and this has resolved the linking problem. So yes, there appears to be an unexpected dynamic linking issue under this latest version of Cygwin. Thank-you for your assistance. -Brian ---- Boris Kolpackov <[email protected]> wrote: > Hi Brian, > > [email protected] <[email protected]> writes: > > > The Xerces examples generate the same error. I also reinstalled to > > ensure I ran the configure script with the correct options, but no > > success. > > Can you try to build a static library instead of DLL (i.e., add > --disable-shared configure option)? > > And just to double check, you did run configure as: > > ./configure LDFLAGS=-no-undefined > > As suggested in the build instructions? > > > Cygwin 1.7 is a fairly recent major release, so perhaps there is > > some unexpected interaction at work here. Was Xerces test compiled > > under this Cygwin version? > > No, Alberto Massari tested it on the following setup: > > CYGWIN_NT-5.1 nbamassari2 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > > Boris > > -- > Boris Kolpackov, Code Synthesis http://codesynthesis.com/~boris/blog > Open-source XML data binding for C++ http://codesynthesis.com/products/xsd > XML data binding for embedded systems http://codesynthesis.com/products/xsde > Command line interface to C++ compiler http://codesynthesis.com/projects/cli
