1994.07.29 12:46 "", by Igor Pechersky
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