Re: Build still broken

Jean Brefort <[email protected]> Thu, 06 Mar 2014 09:20:48 +0100
Newsgroups gmane.editors.abiword.devel
Message-ID <[email protected]>
Things work for me. jpeg is in through wv-1.0:

pkg-config --libs wv-1.0
-L/usr/local/lib -lwv -lwmf -lwmflite -lfreetype -lX11 -lexpat -ljpeg
-lpng -lz -lm -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0

Cheers,
Jean

Le jeudi 06 mars 2014 =C3=A0 00:01 -0500, Hubert Figui=C3=A8re a =C3=A9cr=
it :
> On 05/03/14 11:51 PM, Martin Sevior wrote:
> >=20
> > Hi everyone,
> >=20
> > With svn head I get:
> >=20
> >  CXX      libabiword_3.0_la-abi_ver.lo
> >   CXX      libabiword_3.0_la-libabiword.lo
> >   CXX      abiword-UnixMain.o
> > ../../abiword/src/wp/main/gtk/libabiword.cpp: In function 'void
> > libabiword_init_noargs()':
> > ../../abiword/src/wp/main/gtk/libabiword.cpp:59:46: warning:
> > deprecated conversion from string constant to 'char*'
> > [-Wwrite-strings]
> >    static char *argv[] =3D {"libabiword", NULL};
> >                                               ^
> >   CXXLD    libabiword-3.0.la
> >   CXXLD    abiword
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_read_scanline=
s'
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_resync_to_res=
tart'
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_destroy_decom=
press'
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_CreateDecompr=
ess'
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_read_header'
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_start_decompr=
ess'
> > ./.libs/libabiword-3.0.so: undefined reference to `jpeg_std_error'
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [abiword] Error 1
> > make[2]: Leaving directory `/home/msevior/abidir/abi-svn/build-nodebu=
g/src'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/msevior/abidir/abi-svn/build-nodebu=
g/src'
> > make: *** [install-recursive] Error 1
>=20
> I got that one too. I haven't had the time to investigate what it was...
> :-( but we seem to not link against libjpeg. I'm not sure what
> introduced the regression yet.
>=20
>=20
>=20
>=20
> Hub
>=20