Error building trunk w/MinGW

From: Bobby Weinmann <bobby.weinmann_at_gmail.com>
Date: Fri Mar 06 2009 - 21:46:22 CET

I can't compile on MinGW. This is the error I have now:

g++ -shared .libs/opendocument.a -o opendocument.dll
-Wl,--enable-auto-import -Wl,--out-implib,opendocument.dll.a
-Lc:/mingw/lib -lgsf-1 -lgobject-2.0 -lxml2 -lz -lglib-2.0 -lintl
-Lc:/mingw/lib -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl
-L../../src -labiword
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot find -labiword

I don't know where the abiword library is created or if, perhaps,
there is a naming error. There may be some problem with the way I've
patched (see attached) it to compile through the problems I've run
into. Everything else seems to compile fine (wp, af, text under src).

In the opendocument makefile, something should be done to
automatically add/strip the "lib" prefix. My patch hard-codes that,
so don't use this willy-nilly, it was just an attempt to build on my
machine.

As you can see from the error, I'm using gcc-3.4.5. I don't know that
that matters, but that is what comes with MinGW by default.

Please help.
Bobby
Received on Fri Mar 6 21:46:48 2009

This archive was generated by hypermail 2.1.8 : Fri Mar 06 2009 - 21:46:48 CET