| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.05.18 18:24 "Re: Another libtiff+libjpeg problem", by Thom Decarlo(sorry if you get this twice. It didn't seem to go through the first time.) Hey Bob, When I fall back to the jpeg-6b code I get even more errors. I'm not sure what that warning in the middle about not being able to link to the static jpeg library is all about. I enabled both static and shared in the jpeg configuration. $ make Making all in port make[1]: Entering directory `/cygdrive/c/Svs_dev_C/libtiff/port' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/cygdrive/c/Svs_dev_C/libtiff/port' Making all in libtiff make[1]: Entering directory `/cygdrive/c/Svs_dev_C/libtiff/libtiff' make all-am make[2]: Entering directory `/cygdrive/c/Svs_dev_C/libtiff/libtiff' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -/usr/local/lib -L/usr/local/lib -o libtiff.la -rpath /usr/local/lib -no-undefined -version-number 3:7:2 tif_aux.lo tif_close.lo tif_codec.lo tif_color.lo tif_compress.lo tif_d ir.lo tif_dirinfo.lo tif_dirread.lo tif_dirwrite.lo tif_dumpmode.lo tif_error.lo tif_extension.lo tif_fax3.lo tif_fax3sm.lo tif_flush.lo tif_getimage.lo tif_jpeg.lo tif_luv.lo tif_lzw.lo tif_next.lo tif_ojpeg.lo tif_open.lo tif_packbits.lo tif_pixarlog.lo tif_predict.lo tif_print.lo tif_read.lo tif_strip.lo tif_swab.lo tif_thunder.lo tif_tile.lo tif_unix.lo tif_version.lo tif_warning.lo tif_write.lo tif_zip.lo -ljpeg -lz -lc *** Warning: This system can not link to static lib archive /usr/local/lib/libjpeg.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. rm -fr .libs/libtiff.dll.a gcc -shared .libs/tif_aux.o .libs/tif_close.o .libs/tif_codec.o .libs/tif_color.o .libs/tif_compress.o .libs/tif_dir.o .libs/tif_dirinfo.o .libs/tif_dirread.o .libs/tif_dirwrite.o .libs/tif_dumpmode.o .libs/tif_error.o .libs/tif_extension.o .libs/tif_fax3.o .libs/tif_fax3sm.o .libs/tif_flush.o .libs/tif_getimage.o .libs/tif_jpeg.o .libs/tif_luv.o .libs/tif_lzw.o .libs/tif_next.o .libs/tif_ojpeg.o .libs/tif_open.o .libs/tif_packbits.o .libs/tif_pixarlog.o .libs/tif_predict.o .libs/tif_print.o .libs/tif_read.o .libs/tif_strip.o .libs/tif_swab.o .libs/tif_thunder.o .libs/tif_tile.o .libs/tif_unix.o .libs/tif_version.o .libs/tif_warning.o .libs/tif_write.o .libs/tif_zip.o -L/usr/local/lib -lz -o .libs/cygtiff-3.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libtiff.dll.a Creating library file: .libs/libtiff.dll.a .libs/tif_jpeg.o(.text+0x38): In function `TIFFjpeg_error_exit': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:216: undefined reference to `_jpeg_abort' .libs/tif_jpeg.o(.text+0xbb): In function `TIFFjpeg_create_compress': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:247: undefined reference to `_jpeg_std_error' .libs/tif_jpeg.o(.text+0x119): /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:252: undefined reference to `_jpeg_CreateCompress' .libs/tif_jpeg.o(.text+0x14b): In function `TIFFjpeg_create_decompress': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:258: undefined reference to `_jpeg_std_error' .libs/tif_jpeg.o(.text+0x1a9): /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:263: undefined reference to `_jpeg_CreateDecompress' .libs/tif_jpeg.o(.text+0x1fb): In function `TIFFjpeg_set_defaults': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:269: undefined reference to `_jpeg_set_defaults' .libs/tif_jpeg.o(.text+0x252): In function `TIFFjpeg_set_colorspace': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:275: undefined reference to `_jpeg_set_colorspace' .libs/tif_jpeg.o(.text+0x2a9): In function `TIFFjpeg_set_quality': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:282: undefined reference to `_jpeg_set_quality' .libs/tif_jpeg.o(.text+0x302): In function `TIFFjpeg_suppress_tables': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:288: undefined reference to `_jpeg_suppress_tables' .libs/tif_jpeg.o(.text+0x352): In function `TIFFjpeg_start_compress': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:295: undefined reference to `_jpeg_start_compress' .libs/tif_jpeg.o(.text+0x3ac): In function `TIFFjpeg_write_scanlines': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:302: undefined reference to `_jpeg_write_scanlines' .libs/tif_jpeg.o(.text+0x40c): In function `TIFFjpeg_write_raw_data': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:309: undefined reference to `_jpeg_write_raw_data' .libs/tif_jpeg.o(.text+0x45b): In function `TIFFjpeg_finish_compress': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:315: undefined reference to `_jpeg_finish_compress' .libs/tif_jpeg.o(.text+0x4ab): In function `TIFFjpeg_write_tables': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:321: undefined reference to `_jpeg_write_tables' .libs/tif_jpeg.o(.text+0x4f6): In function `TIFFjpeg_read_header': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:326: undefined reference to `_jpeg_read_header' .libs/tif_jpeg.o(.text+0x54b): In function `TIFFjpeg_start_decompress': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:333: undefined reference to `_jpeg_start_decompress' .libs/tif_jpeg.o(.text+0x5ac): In function `TIFFjpeg_read_scanlines': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:340: undefined reference to `_jpeg_read_scanlines' .libs/tif_jpeg.o(.text+0x60c): In function `TIFFjpeg_read_raw_data': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:347: undefined reference to `_jpeg_read_raw_data' .libs/tif_jpeg.o(.text+0x65e): In function `TIFFjpeg_finish_decompress': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:353: undefined reference to `_jpeg_finish_decompress' .libs/tif_jpeg.o(.text+0x6ab): In function `TIFFjpeg_abort': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:359: undefined reference to `_jpeg_abort' .libs/tif_jpeg.o(.text+0x6fb): In function `TIFFjpeg_destroy': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:365: undefined reference to `_jpeg_destroy' .libs/tif_jpeg.o(.text+0xac1): In function `TIFFjpeg_data_src': /cygdrive/c/Svs_dev_C/libtiff/libtiff/tif_jpeg.c:560: undefined reference to `_jpeg_resync_to_restart' collect2: ld returned 1 exit status make[2]: *** [libtiff.la] Error 1 make[2]: Leaving directory `/cygdrive/c/Svs_dev_C/libtiff/libtiff' make[1]: *** [all] Error 2 make[1]: Leaving directory `/cygdrive/c/Svs_dev_C/libtiff/libtiff' make: *** [all-recursive] Error 1 -- Thom DeCarlo ------------------------------------------ Nothing is sadder than the murder of a beautiful theory by a gang of ugly facts. > -----Original Message----- > From: Bob Friesenhahn [mailto:bfriesen@simple.dallas.tx.us] > Sent: Wednesday, May 18, 2005 12:13 PM > To: Thom DeCarlo > Cc: tiff@remotesensing.org > Subject: Re: [Tiff] Another libtiff+libjpeg problem > > On Wed, 18 May 2005, Thom DeCarlo wrote: > > > Hi, > > I grabbed the cvs for both libraries this morning. Libjpeg compiles and > > installs properly, but libtiff fails in tiff_jpeg.c as follows: > > In my experience, it has been necessary to hand-edit tiff_jpeg.c if > the MK1 CVS libjpeg is used. I have no idea how Frank Warmerdam is > building the software without doing these edits. > > I don't recommend using the CVS libjpeg for anything but research at > the moment. > > Bob > ====================================== > Bob Friesenhahn > bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ Tiff mailing list: Tiff@remotesensing.org http://xserve.flids.com/mailman/listinfo/tiff http://www.remotesensing.org/libtiff/ |
|||||||