I'm compiling a *very* simple example.c program that uses the imagemagick library (which in turn uses many other libraries), yet I get a compile error with libICE:
gcc -o example -O -I/usr/X11R6/include/magick -L/usr/X11R6/lib example.c \ -lMagick -ltiff -ljpeg -lX11 -lz -lm /usr/bin/ld: warning: libjpeg.so.6a, needed by /usr/X11R6/lib/libMagick.so, may conflict with libjpeg.so.62 /usr/lib/libc5-compat/libICE.so.6: undefined reference to `__bsd_signal' /usr/lib/libc5-compat/libICE.so.6: undefined reference to `_xstat' /usr/lib/libc5-compat/libICE.so.6: undefined reference to `__sigjmp_save' /usr/lib/libc5-compat/libICE.so.6: undefined reference to `__setjmp' collect2: ld returned 1 exit status make: [example] Error 1 (ignored) There was a grave bug report #37641 for what appears to be exactly the same error a few weeks back, but it's been flagged as fixed. Any other imagemagick users seen the same problem? I'm using xfree 3.3.3.1.7 and imagemagick 4.2.2-0.0 For the record, here's the code: #include <magick.h> int main(int argc,char **argv) { Image *image, *scaled_image; ImageInfo image_info; /* * Initialize the image info structure and read an image. */ GetImageInfo(&image_info); (void) strcpy(image_info.filename,"image.jpg"); image=ReadImage(&image_info); if (image == (Image *) NULL) exit(1); * Turn the image into a thumbnail. scaled_image=ZoomImage(image,106,80); if (scaled_image != (Image *) NULL) { DestroyImage(image); image=scaled_image; } /* * Write the image as GIF and destroy it. * */ (void) strcpy(image->filename,"image.gif"); WriteImage(&image_info,image); DestroyImage(image); } _Tim Burgess_____________________Ba.App.Sc.(Hons) RMIT__ | InterCollegiate Network Administrator | | Ormond College, University of Melbourne | | [EMAIL PROTECTED] | |_http://www.ormond.unimelb.edu.au__PGP Key ID 1D8BE169_| -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null