RSS/Atom feed Twitter
Site is read-only, email is disabled

JPEG parameter struct mismatch

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

JPEG parameter struct mismatch Marco Puszina 18 Jul 21:12
  JPEG parameter struct mismatch Sven Neumann 18 Jul 21:23
   JPEG parameter struct mismatch Marco Puszina 18 Jul 21:50
    JPEG parameter struct mismatch Sven Neumann 18 Jul 22:37
     JPEG parameter struct mismatch Marco Puszina 18 Jul 22:59
      JPEG parameter struct mismatch Sven Neumann 19 Jul 12:12
       JPEG parameter struct mismatch Marco Puszina 19 Jul 15:48
       JPEG parameter struct mismatch Marco Puszina 20 Jul 21:01
Marco Puszina
2004-07-18 21:12:11 UTC (almost 20 years ago)

JPEG parameter struct mismatch

hi all,

since version 2.0x (i think 2.0.1 was fine and problem startet with 2.0.2 but not 100% sure)...i get a ...

JPEG parameter struct mismatch: library thinks size is 372, caller expects 376.

... when trying to save jpeg's. i'm using libjpeg 6.2

/usr/include/jconfig.h /usr/include/jerror.h
/usr/include/jmorecfg.h
/usr/include/jpeglib.h
/usr/lib/libjpeg.a
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0

... no doublicate headers elsewhere - so i'm a little bit stuck here. any suggestions will do ;-)

Sven Neumann
2004-07-18 21:23:55 UTC (almost 20 years ago)

JPEG parameter struct mismatch

Hi,

Marco Puszina writes:

since version 2.0x (i think 2.0.1 was fine and problem startet with 2.0.2 but not 100% sure)...i get a ...

JPEG parameter struct mismatch: library thinks size is 372, caller expects 376.

... when trying to save jpeg's. i'm using libjpeg 6.2

A little more information wouldn't hurt. Such as where did you get your gimp from? Did you compile it yourself or are you using a binary package? Did you check what libraries the JPEG plug-in actually links to (you can do that using ld)?

Sven

Marco Puszina
2004-07-18 21:50:48 UTC (almost 20 years ago)

JPEG parameter struct mismatch

Sorry...

selfcompiled from source - jpeg plugin is linked against...

ldd /opt/gnome/lib/gimp/2.0/plug-ins/jpeg libgimpui-2.0.so.0 => /opt/gnome//lib/libgimpui-2.0.so.0 (0x40017000)
libgimpwidgets-2.0.so.0 => /opt/gnome//lib/libgimpwidgets-2.0.so.0 (0x40022000)
libgimp-2.0.so.0 => /opt/gnome//lib/libgimp-2.0.so.0 (0x400ef000) libgimpcolor-2.0.so.0 => /opt/gnome//lib/libgimpcolor-2.0.so.0 (0x40111000)
libgimpbase-2.0.so.0 => /opt/gnome//lib/libgimpbase-2.0.so.0 (0x4011a000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40143000) libgtk-x11-2.0.so.0 => /opt/gnome//lib/libgtk-x11-2.0.so.0 (0x40164000)
libgdk-x11-2.0.so.0 => /opt/gnome//lib/libgdk-x11-2.0.so.0 (0x4045b000)
libatk-1.0.so.0 => /opt/gnome//lib/libatk-1.0.so.0 (0x404d4000) libgdk_pixbuf-2.0.so.0 => /opt/gnome//lib/libgdk_pixbuf-2.0.so.0 (0x404ed000)
libpangoxft-1.0.so.0 => /opt/gnome//lib/libpangoxft-1.0.so.0 (0x40506000)
libpangox-1.0.so.0 => /opt/gnome//lib/libpangox-1.0.so.0 (0x4050b000) libpango-1.0.so.0 => /opt/gnome//lib/libpango-1.0.so.0 (0x40518000) libgobject-2.0.so.0 => /opt/gnome//lib/libgobject-2.0.so.0 (0x40550000)
libgmodule-2.0.so.0 => /opt/gnome//lib/libgmodule-2.0.so.0 (0x4058b000)
libdl.so.2 => /lib/libdl.so.2 (0x4058f000) libglib-2.0.so.0 => /opt/gnome//lib/libglib-2.0.so.0 (0x40592000) libexif.so.9 => /usr/lib/libexif.so.9 (0x40614000) libm.so.6 => /lib/libm.so.6 (0x4062a000) libc.so.6 => /lib/libc.so.6 (0x4064d000) libgimpmodule-2.0.so.0 => /opt/gnome//lib/libgimpmodule-2.0.so.0 (0x40783000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40788000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40851000) libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x40856000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40859000) libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40867000) libfreetype.so.6 => /usr/X11R6/lib/libfreetype.so.6 (0x40879000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x408ca000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x408d2000) libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x408fb000) libpangoft2-1.0.so.0 => /opt/gnome//lib/libpangoft2-1.0.so.0 (0x40904000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libexpat.so.0 => /usr/X11R6/lib/libexpat.so.0 (0x40938000)

... so linked again the libjeg 6.20. ... pls only reply to the list - i'm subscribed ;-)))))

On Sunday 18 July 2004 21:23, you wrote:

A little more information wouldn't hurt. Such as where did you get your gimp from? Did you compile it yourself or are you using a binary package? Did you check what libraries the JPEG plug-in actually links to (you can do that using ld)?

Sven

Sven Neumann
2004-07-18 22:37:38 UTC (almost 20 years ago)

JPEG parameter struct mismatch

Hi,

Marco Puszina writes:

Sorry...

selfcompiled from source - jpeg plugin is linked against...

ldd /opt/gnome/lib/gimp/2.0/plug-ins/jpeg libgimpui-2.0.so.0 => /opt/gnome//lib/libgimpui-2.0.so.0

That should answer your question. The headers you showed us in an earlier mail most likely do not correspond to this library.

Sven

Marco Puszina
2004-07-18 22:59:53 UTC (almost 20 years ago)

JPEG parameter struct mismatch

hi sven,

thx and u r saying that most liklely the gimpui is messed up by some reason?

On Sunday 18 July 2004 22:37, Sven Neumann wrote:

libgimpui-2.0.so.0 => /opt/gnome//lib/libgimpui-2.0.so.0

That should answer your question. The headers you showed us in an earlier mail most likely do not correspond to this library.

Sven Neumann
2004-07-19 12:12:55 UTC (almost 20 years ago)

JPEG parameter struct mismatch

Hi,

Marco Puszina writes:

thx and u r saying that most liklely the gimpui is messed up by some reason?

On Sunday 18 July 2004 22:37, Sven Neumann wrote:

libgimpui-2.0.so.0 => /opt/gnome//lib/libgimpui-2.0.so.0

Sorry, obviously I've been tired. The relevant line is of course:

libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40143000)

And this line looks correct. So I have no idea what is causing your problem.

Sven

Marco Puszina
2004-07-19 15:48:50 UTC (almost 20 years ago)

JPEG parameter struct mismatch

On Monday 19 July 2004 12:12, Sven Neumann wrote:

And this line looks correct. So I have no idea what is causing your problem.

np - any suggestions how to track this down further?

Marco Puszina
2004-07-20 21:01:06 UTC (over 19 years ago)

JPEG parameter struct mismatch

hi sven, hi list,

well - found out what is causing the problem - i got my libjpeg configured without gcc flag -malign-double but gimp2x with -malign-double - i removed it while compiling gimp now and everything is working fine.

On Monday 19 July 2004 12:12, Sven Neumann wrote:

Sorry, obviously I've been tired. The relevant line is of course:

libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40143000)

And this line looks correct. So I have no idea what is causing your problem.

Sven