Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j4EDXFxT025689
        for <joris.at.lebbeke@skynet.be>; Sat, 14 May 2005 15:33:17 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 6269B254E2F2; Sat, 14 May 2005 09:33:00 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30])
	by xserve.flids.com (Postfix) with ESMTP id BCFD6254E2CF
	for <tiff@remotesensing.org>; Sat, 14 May 2005 09:32:58 -0400 (EDT)
Received: from [127.0.0.1] (really [68.10.119.33]) by lakermmtao09.cox.net
	(InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP
	id <20050514133254.IIGK6804.lakermmtao09.cox.net@[127.0.0.1]>;
	Sat, 14 May 2005 09:32:54 -0400
Message-ID: <4285FE00.7080400@cox.net>
Date: Sat, 14 May 2005 09:32:48 -0400
From: Thom DeCarlo <thomdecarlo@cox.net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "'Tiff'" <tiff@remotesensing.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Tiff] libtiff+libjpeg on mingw/msys?
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 000000000023ceae.000001ee
X-MSP-STORE: Sat, 14 May 2005 15:33:23 +0200
Status:   

Hi,
I've been trying (and failing spectacularly) to get libtiff to compile 
with libjpeg (both from the CVS on maptools.org)

The libjpeg package compiles and installs properly, but when the libtiff 
build gets to the file tiff_jpeg.c it starts spewing errors:

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I. -I.   -I/usr/local/include   -g -O2 -Wall -MT tif_jpeg.lo -MD 
-MP -MF ".deps/tif_jpeg.Tpo" -c -o tif_jpeg.lo tif_jpeg.c; \
then mv -f ".deps/tif_jpeg.Tpo" ".deps/tif_jpeg.Plo"; else rm -f 
".deps/tif_jpeg.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -g -O2 -Wall 
-MT tif_jpeg.lo -MD -MP -MF .deps/tif_jpeg.Tpo -c tif_jpeg.c 
-DDLL_EXPORT -DPIC -o .libs/tif_jpeg.o
In file included from C:/msys/1.0/local/include/jpeglib.h:24,
                  from tif_jpeg.c:75:
C:/msys/1.0/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from tiffiop.h:33,
                  from tif_jpeg.c:27:
tif_config.h:96:1: warning: this is the location of the previous definition
In file included from C:/msys/1.0/local/include/jpeglib.h:26,
                  from tif_jpeg.c:75:
C:/msys/1.0/local/include/jmorecfg.h:130: error: conflicting types for 
'INT32'
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/basetsd.h:52: 
error: previous declaration of 'INT32' was here
In file included from tif_jpeg.c:75:
C:/msys/1.0/local/include/jpeglib.h:94: error: syntax error before "boolean"
C:/msys/1.0/local/include/jpeglib.h:94: warning: no semicolon at end of 
struct or union
C:/msys/1.0/local/include/jpeglib.h:95: warning: type defaults to `int' 
in declaration of `JQUANT_TBL'
C:/msys/1.0/local/include/jpeglib.h:95: warning: data definition has no 
type or storage class
C:/msys/1.0/local/include/jpeglib.h:110: error: syntax error before 
"boolean"
C:/msys/1.0/local/include/jpeglib.h:110: warning: no semicolon at end of 
struct or union
...


It goes on like that for a while then starts complaining about stuff in 
the tif_jpeg.c file itself.

Has anyone else (Norman, are you out there?) gotten this configuration 
to work?

Thanks,
Thom



--
Thom DeCarlo
-=-=-
Eat well, stay fit, die anyway.

_______________________________________________
Tiff mailing list: Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
