AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

1994.08.16 21:38 "v3.3beta015.src.tar.gz under IRIX 4.0.5F compile problems", by Mike Kienenberger

I'm having the following problem while trying to install v3.3beta015.src.tar.gz under IRIX 4.0.5F. I've searched the archives for postings on this problem, but didn't find any. If this is a problem which could happen to others, please post the solution to the mailing list so the solution will be archived. If it's just a personal problem on my part, feel free to just email me directly.

cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_dirwrite.c
accom: Error: tif_dirwrite.c, line 333: modifiable lvalue (3.2.2.1) required for assignment operators (3.3.16) and increment and decrement(ANSI 3.3.2.1,3.3.2.4)
        switch (fip->field_type) {
       ------------------------^

-Mike Kienenberger
 fxmlk@aurora.alaska.edu

(full information follows)

% make
        cc -o mkg3states -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   mkg3states.c
        ./mkg3states -c > g3states.h
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_fax3.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_fax4.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_aux.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_ccittrle.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_close.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_compress.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_dir.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_dirinfo.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_dirread.c
        cc -O -ansi -fullwarn -woff 24,269 -I. -DMMAP_SUPPORT   -c tif_dirwrite.c
accom: Error: tif_dirwrite.c, line 333: modifiable lvalue (3.2.2.1) required for assignment operators (3.3.16) and increment and decrement(ANSI 3.3.2.1,3.3.2.4)
        switch (fip->field_type) {
       ------------------------^
*** Error code 1

% uname -a
IRIX eggplant 4.0.5F 08280217 IP20

% versions c
I = Installed, R = Removed

   Name                 Date      Description

I  c                    01/17/93  Ansi C, 1.1
I  c.man                01/17/93  Ansi C Manual Pages
I  c.man.c              01/17/93  Ansi C Compiler Man Pages
I  c.man.util           01/17/93  Ansi C Utility Man Pages
I  c.opt                01/17/93  Ansi C Optional
I  c.opt.tutedge        01/17/93  Ansi C Edge Tutorial
I  c.sw                 01/17/93  Ansi C Software
I  c.sw.c               01/17/93  Ansi C Compiler
I  c.sw.util            01/17/93  Ansi C Utilities