This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Xerces-C: two issues with gcc4/cygwin-1.7

Charles Wilson wrote:
>> and it built right through without problems, including linking all the exes -
>> CreateDOMDocument.exe in particular.  (Testsuite run still in progress).
>> Chuck, I suspect this is likely to be an already-fixed bug in binutils;
>> would you like to try your build again with homebrewed binutils from CVS?
> I'll give that a shot when I get home.

No joy.  I get the same error:

libtool: link: g++ -O2 -pipe -o .libs/CreateDOMDocument.exe
../src/.libs/libxerces-c.dll.a -L/usr/lib
/usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.dll.a /usr/lib/libcurl.dll.a
/usr/lib/libssh2.dll.a -lssl -lcrypto -lz -licuuc -licudata
undefined reference to `typeinfo for xercesc_3_0::XMLException'
undefined reference to `typeinfo for xercesc_3_0::DOMException'
collect2: ld returned 1 exit status
make[2]: *** [CreateDOMDocument.exe] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2
*** ERROR: make failed

$ ld --version
GNU ld (GNU Binutils)

$ g++ --version
g++ (GCC) 4.3.2 20080827 (beta) 2

So, I've generated the output of

g++ -shared -nostdlib /usr/lib/gcc/i686-pc-cygwin/4.3.2/crtbegin.o
.libs/  -L/usr/lib /usr/lib/libcurl.dll.a
/usr/lib/libssh2.dll.a -lssl -lcrypto -lz -licuuc -licudata
/usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.dll.a -lgcc_s -lgcc_s
-lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc_s -lgcc_s
/usr/lib/gcc/i686-pc-cygwin/4.3.2/crtend.o    -o
.libs/cygxerces-c-3-0.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/libxerces-c.dll.a -Wl,--enable-extra-pe-debug

but I'll send that privately (it's 180k compressed).


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]