Hi Alberto, > Creating library file: .libs/libxerces.dll.a... > c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: > BFD 2.15.91 20040904 assertion fail ../../src/bfd/cofflink.c:1929 > > Can you have a look and suggest why this happens?
Unfortunately without knowing why the config scripts won't build a DLL in the first place it is difficult to get to the root of the problem. Maybe something is missing from the build configurations to support DLLs under mingw? I know that creating a .dll is as easy as specifying -shared on the g++ command line. As I'm not familiar with using autoconf/libtool, I can't provide insight into it's use. Maybe someone else on the list understands more? Why do you have to specify -no-undefined at all? I see alot of stuff about no-undefined, but I don't understand why the final link can't build a DLL against all the static libraries that appear to be created during the compilation? I'm afraid I don't know enough about the build process to go any further. The only thing I might suggest is upgrading your compiler and binutils to the latest versions offered at mingw.org and see if that fixes the crash. - Dave
