Re: libjpeg:jpeg_create_decompress
- From: raster redhat com
- To: darius connect com au
- cc: gnome-list gnome org
- Subject: Re: libjpeg:jpeg_create_decompress
- Date: Tue, 26 May 1998 09:04:52 -0400 (EDT)
On 26 May, Kevin Littlejohn shouted:
-> Hi all,
->
-> This is a kind of a weird one. libImlib is trying to find a symbol
-> jpeg_create_decompress - and I've found where in the code it's used, and it's
-> specifically only used if libjpeg is found. Ok, cool, no problem - except
-> libjpeg doesn't _have_ a jpeg_create_decompress - it _does_ have a
-> jpeg_start_decompress, but no jpeg_create_decompress. This is libjpeg-6a (and
-> 6b, if it makes any difference) on a Sun box. I can't believe something as
-> silly as this would be in there without a whole bunch of other people having
-> problems, so I've got to figure it's something I'm getting wrong - but I can't
-> for the life of me see what :(
->
-> Any ideas? Oh, everything checked out of cvs, where possible...
from jpeglib.h:
...
#define jpeg_create_compress(cinfo) \
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
(size_t) sizeof(struct jpeg_compress_struct))
#define jpeg_create_decompress(cinfo) \
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
(size_t) sizeof(struct jpeg_decompress_struct))
EXTERN(void) jpeg_CreateCompress JPP((j_compress_ptr cinfo,
int version, size_t structsize));
...
~/ objdump --dynamic-syms /usr/lib/libjpeg.so. | grep jpeg_CreateCompress
000021a0 g DF .text 00000113 jpeg_CreateCompress
:)
I bet u have multiple jpeg libs on yer system in different places and
thus multiple jpeglib.h headers.. always guaranteed to screw up
everything.
-> KevinL
-> ---
-> Kevin Littlejohn, darius@connect.com.au, darius@bofh.net.au
-> Development Engineer, Connect.com.au.
-> The above all my own words, etc. etc.
->
->
->
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com /\___ /\ ___/||\___ ____/|/\___ raster@redhat.com
Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced
218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs
Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ 919 547 0012 ext 282
+1 (919) 929 9443, 801 4392 For pure Enlightenmenthttp://www.rasterman.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]