Received: by cthulhu.engr.sgi.com (940707.SGI.8.6.9/911001.SGI)
	for tiff-list id KAA24860; Mon, 1 Aug 1994 10:37:49 -0700
Return-Path: <owner-tiff>
Received: from sgi.sgi.com by cthulhu.engr.sgi.com via ESMTP (940707.SGI.8.6.9/911001.SGI)
	for <tiff-relay@cthulhu.engr.sgi.com> id GAA23228; Fri, 29 Jul 1994 06:01:41 -0700
Received: from horizon.cc.huji.ac.il by sgi.sgi.com via SMTP (940627.SGI.8.6.9/910110.SGI)
	for <tiff@sgi.com> id GAA21372; Fri, 29 Jul 1994 06:01:24 -0700
Received: from relay.huji.ac.il by horizon.cc.huji.ac.il with SMTP id AA29595
  (5.67bHU/IDA-1.5 for <tiff%sgi.com@horizon.cc.huji.ac.il>); Fri, 29 Jul 1994 16:01:21 +0300
Received: from bruegel.ls.huji.ac.il by relay.huji.ac.il with SMTP id AA00800
  (5.67bHU/HUJI 4.98 for <@horizon.cc.huji.ac.il:tiff@sgi.com>); Fri, 29 Jul 1994 16:01:19 +0300
Received: by bruegel.ls.huji.ac.il (920330.SGI/911001.SGI.UNSUPPORTED)
	for @horizon.cc.huji.ac.il:tiff@sgi.com id AA17540; Fri, 29 Jul 94 15:46:07 +0300
Date: Fri, 29 Jul 94 15:46:07 +0300
From: igor0@bruegel.ls.huji.ac.il (Igor Pechersky)
Message-Id: <9407291246.AA17540@bruegel.ls.huji.ac.il>
Apparently-To: tiff@sgi.sgi.com
Sender: owner-tiff@sgi.sgi.com
Precedence: bulk

Hi everybody,

 Can anybody help me?
 I tried to install libtiff on SGI (IRIX 4) and here are my Makefile.log's:

for version 3.2beta 
        cc -O -ansi -I. -DMMAP_SUPPORT   -c tif_fax3.c
writing out file: Error 0
*** Error code 1
 ______________________________________________________________________



for version 3.3beta015
--- all ---
cd libtiff; make 
        cc -O -ansi -fullwarn -I. -DMMAP_SUPPORT   -c tif_fax3.c
accom: Warning 269: tif_fax3.c, line 123: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                        data = ((tif)->tif_rawcc--, ( sp)->b.bitmap[*(u_char *)(tif)->tif_rawcp++]) ;
       ------------------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 146: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                sp->b.data = ((tif)->tif_rawcc--, ( sp)->b.bitmap[*(u_char *)(tif)->tif_rawcp++]) ;
       ----------------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 147: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        bit = ((sp)->b.data & bitMask[(sp)->b.bit]) ;
       -------------------------------------------^
accom: Warning 269: tif_fax3.c, line 167: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if (td->td_bitspersample != 1) {
       ------------------------------^
accom: Warning 269: tif_fax3.c, line 182: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_dir.td_group3options & 0x1        )  || td->td_compression == 4   )
       ---------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 193: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        sp->bitmap = TIFFGetBitRevTable(tif->tif_fillorder != td->td_fillorder);
       -----------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 194: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_dir.td_group3options & 0x1        )  || td->td_compression == 4   ) {
       ---------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 239: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_options & 0x2     ) == 0) {
       ---------------------------------^
accom: Warning 269: tif_fax3.c, line 262: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   const  unsigned int
                        *cp++ |= masks[count] >> x;
       -------------------------------------------^
accom: Warning 269: tif_fax3.c, line 332: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                        sp->b.data = ((tif)->tif_rawcc--, ( sp)->b.bitmap[*(u_char *)(tif)->tif_rawcp++]) ;
       ------------------------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 420: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_options & 0x2     ) == 0)
       ---------------------------------^
accom: Warning 269: tif_fax3.c, line 422: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if (tif->tif_options & 0x4      )
       ---------------------------------^
accom: Warning 269: tif_fax3.c, line 424: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_options & 0x8     ) && !(((long) tif->tif_rawcp & 1) == 0) )
       ---------------------------------^
accom: Warning 269: tif_fax3.c, line 425: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                (void) ((tif)->tif_rawcc--, ( sp)->b.bitmap[*(u_char *)(tif)->tif_rawcp++]) ;
       ----------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 446: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                        sp->b.data = ((tif)->tif_rawcc--, ( sp)->b.bitmap[*(u_char *)(tif)->tif_rawcp++]) ;
       ------------------------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 478: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                                sp->b.data = ((tif)->tif_rawcc--, ( sp)->b.bitmap[*(u_char *)(tif)->tif_rawcp++]) ;
       --------------------------------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 587: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                        if ((tif->tif_options & 0x2     ) == 0) {
       -------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 613: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_options & 0x2     ) == 0)
       ---------------------------------^
accom: Warning 269: tif_fax3.c, line 781: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                if (tif->tif_dir.td_resolutionunit ==   3       )
       ---------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 783: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   float  versus   double
                sp->maxk = (res > 150 ? 4 : 2);
       -------------------------------^
accom: Warning 269: tif_fax3.c, line 813: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if (tif->tif_options & (0x4     |0x8    )) {
       ------------------------------------------^
accom: Warning 269: tif_fax3.c, line 815: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                if ((tif->tif_options & 0x8     ) && !(((long) tif->tif_rawcp & 1) == 0) )
       -----------------------------------------^
accom: Warning 269: tif_fax3.c, line 844: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        int a1 = (((((bp)[( 0)>>3]) >> (7-(( 0)&7))) & 1)  != 0 ? 0 : finddiff(bp, 0, bits, 0));
       --------------------------------------------^
accom: Warning 269: tif_fax3.c, line 845: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        int b1 = (((((rp)[( 0)>>3]) >> (7-(( 0)&7))) & 1)  != 0 ? 0 : finddiff(rp, 0, bits, 0));
       --------------------------------------------^
accom: Warning 269: tif_fax3.c, line 849: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                b2 = finddiff(rp, b1, bits, ((((rp)[(b1)>>3]) >> (7-((b1)&7))) & 1) );
       ----------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 853: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                                a2 = finddiff(bp, a1, bits, ((((bp)[(a1)>>3]) >> (7-((a1)&7))) & 1) );
       --------------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 855: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                                if (a0+a1 == 0 || ((((bp)[( a0)>>3]) >> (7-(( a0)&7))) & 1)  == 0) {
       ------------------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 873: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                a1 = finddiff(bp, a0, bits, ((((bp)[(a0)>>3]) >> (7-((a0)&7))) & 1) );
       ----------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 874: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                b1 = finddiff(rp, a0, bits, !((((bp)[(a0)>>3]) >> (7-((a0)&7))) & 1) );
       -----------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 875: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                b1 = finddiff(rp, b1, bits, ((((bp)[(a0)>>3]) >> (7-((a0)&7))) & 1) );
       ----------------------------------------------------------------------^
accom: Warning 269: tif_fax3.c, line 890: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                if ((tif->tif_options & 0x2     ) == 0)
       -----------------------------------------^
accom: Warning 269: tif_fax3.c, line 932: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
        if ((tif->tif_options & 0x1     ) == 0) {        
       ---------------------------------^
accom: Warning 269: tif_fax3.c, line 975: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                span = tab[(*bp << n) & 0xff];
       -----------------------------^
accom: Warning 269: tif_fax3.c, line 990: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                n = tab[*bp];
       --------------------^
accom: Warning 269: tif_fax3.c, line 1001: Evaluation gives an intermediate result type difference in ANSI versus K&R C;   int  versus   unsigned int
                n = tab[*bp];
       --------------------^
writing out file: Error 0
*** Error code 1





_________________________________________________________________________________



 Thanks, 
		Igor Pechersky (igor0@bruegel.ls.huji.ac.il)
		The Alexander Silberman Institute of Life Science
		The Hebrew University of Jerusalem





