From:
[email protected]
Package: libsdl-image1.2-dev
Version: 1.2.3-5
Severity: important
Attempting to link a program (wesnoth) as -all-static using libtool
fails with things like:
/usr/lib/libtiff.a(tif_jpeg.o)(.text+0x4ab): In function `TIFFjpeg_write_tables':
: undefined reference to `jpeg_write_tables'
This appears to be caused by a wrong ordering of libraries in the .la file:
$ grep dependency_libs /usr/lib/libSDL_image.la
dependency_libs=' -lpthread -ljpeg -lpng -lz -ltiff -lSDL -lpthread'
If I move -ljpeg after -ltiff, these symbols are correctly resolved.
Fixing this is maybe just a matter of reordering the tests fo those
libs in configure.in.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i586)
Kernel: Linux 2.4.23-k6+preempt+acl
Locale: LANG=C, LC_CTYPE=french
Versions of packages libsdl-image1.2-dev depends on:
ii libc6-dev 2.3.2.ds1-16 GNU C Library: Development Librari ii libjpeg62-dev 6b-9 Development files for the IJG JPEG ii libpng12-dev 1.2.5.0-7 PNG library - development
ii libsdl-image1.2 1.2.3-5 image loading library for Simple D ii libsdl1.2-dev 1.2.7-7 Simple DirectMedia Layer developme ii libtiff4-dev 3.6.1-1.1 Tag Image File Format library, dev ii zlib1g-dev 1:1.2.1.1-5 compression library - development
-- no debconf information
--
Yann Dirson <
[email protected]> |
Debian-related: <
[email protected]> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <
http://www.debian.org/>
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)