Re: build broken

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Wed Apr 09 2008 - 23:21:05 CEST

On Wed, Apr 9, 2008 at 10:35 PM, Dominic Lachowicz
<domlachowicz@gmail.com> wrote:
> Hi Rob,
>
> For some reason, just doing a fresh build is giving me errors. Here's
> what happens for my cross-compile:
>
> CPPFLAGS="-I/opt/win32/include" ../abiword/autogen.sh
> --prefix=/opt/win32 --host=i686-pc-linux-gnuaout
> --target=i586-mingw32msvc
>
> (cd .libs && rm -f opendocument.la && ln -s ../opendocument.la opendocument.la)
> /usr/bin/i586-mingw32msvc-c++ -shared .libs/libopendocument.a -o
> opendocument.dll -Wl,--out-implib,opendocument.dll.a -L/opt/win32/lib
> -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 -lintl -liconv
> -L/opt/win32/lib -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv
> -L../../src -labiword
> /usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/bin/ld:
> cannot find -labiword
> collect2: ld returned 1 exit status
>
> Thoughts?

Argh, I changed SUBDIRS order in the toplevel Makefile.am to build the
plugins first, so they can be statically linked into the executable.
Forgot that on win32 we need to link the plugins against abiword. Will
roll back tomorrow morning UTC.

- Rob
Received on Wed Apr 9 23:47:48 2008

This archive was generated by hypermail 2.1.8 : Wed Apr 09 2008 - 23:47:48 CEST