[poppler] Problem linking with libjpeg
Albert Astals Cid
tsdgeos at yahoo.es
Sun Apr 3 03:58:20 PDT 2005
It works :-)
Albert
A Diumenge 03 Abril 2005 11:06, vàreu escriure:
> Hi Albert,
>
> Am Sonntag, den 03.04.2005, 01:24 +0200 schrieb Albert Astals Cid:
> > I get this
> >
> > make[2]: Entering directory `/home/tsdgeos/cvs/poppler/glib'
> > /bin/sh ../libtool --mode=link gcc -g -O2 -o test-poppler-glib
> > test-poppler-glib.o ../poppler/libpoppler.la libpoppler-glib.la
> > -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0
> > -ldl -lglib-2.0 -lfontconfig -lfreetype -lz
> > gcc -g -O2 -o .libs/test-poppler-glib test-poppler-glib.o
> > -Wl,--export-dynamic ../poppler/.libs/libpoppler.so /usr/lib/libjpeg.so
> > ./.libs/libpoppler-glib.so /usr/lib/libgdk_pixbuf-2.0.so -lm
> > /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
> > -ldl /usr/lib/libglib-2.0.so /usr/lib/libfontconfig.so
> > /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz -Wl,--rpath
> > -Wl,/usr/local/lib
> > ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_read_scanlines(jpeg_decompress_struct*, unsigned char**, unsigned
> > int)' ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_std_error(jpeg_error_mgr*)'
> > ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_read_header(jpeg_decompress_struct*, int)'
> > ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_start_decompress(jpeg_decompress_struct*)'
> > ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_CreateDecompress(jpeg_decompress_struct*, int, unsigned int)'
> > ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_resync_to_restart(jpeg_decompress_struct*, int)'
> > ../poppler/.libs/libpoppler.so: undefined reference to
> > `jpeg_destroy_decompress(jpeg_decompress_struct*)'
> > collect2: ld returned 1 exit status
> > make[2]: *** [test-poppler-glib] Error 1
> > make[2]: Leaving directory `/home/tsdgeos/cvs/poppler/glib'
>
> That looks like https://bugs.freedesktop.org/show_bug.cgi?id=2837
>
> > I get similar undefined symbols when building gtk-splash-test
> >
> > Doing
> > $ nm -u poppler/.libs/libpoppler.so | grep dest
> > i get
> > U pthread_mutex_destroy@@GLIBC_2.0
> > U _Z23jpeg_destroy_decompressP22jpeg_decompress_struct
>
> And that is very useful information. Can you try the patch I attached to
> that bug?
>
> HTH,
>
> Martin
______________________________________________
Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es
More information about the poppler
mailing list