[GRASS5] Problems compiling r.fill.dir

Malcolm Blue mblue at nb.sympatico.ca
Tue Apr 3 19:05:53 EDT 2001


Fortran programmers,

It's been a long time since I've done any fortran programming.  The 
compile for r.fill.dir exits with the following error messages:


g77  -c ppupdate.f -o OBJ.i686-pc-cygwin/ppupdate.o
ppupdate.f: In program `MAIN__':
ppupdate.f:14: warning:
       COMMON MASK,LEVEL
       ^
Initial padding for common block `_BLNK__' is 4 bytes at (^) -- consider 
reordering members, largest-type-size first
ppupdate.f: In subroutine `path':
ppupdate.f:14:
       COMMON MASK,LEVEL
       1
ppupdate.f:267: (continued):
       COMMON MASK,LEVEL
       2
Initial padding for common block `_BLNK__' is 0 bytes at (2) but 4 bytes 
at (1) -- consider reordering members, largest-type-size first
ppupdate.f: In subroutine `fixaloop':

<snip>  They go on for a while.

ppupdate.f:478: (continued):
        COMMON MASK
        2
Initial padding for common block `_BLNK__' is 0 bytes at (2) but 4 bytes 
at (1) -- consider reordering members, largest-type-size first
make[3]: *** [OBJ.i686-pc-cygwin/ppupdate.o] Error 1
make[3]: Leaving directory `/grass/src/raster/r.fill.dir/cmd'
make[2]: *** [all] Error 1


There are a number of messages of the same type.  Is it possible to 
reorder the variables on the common blocks defined in r.fill.dir, or is 
there a switch to g77 that will tell it to align members of a common 
block to the same byte length?

Any other suggestions?

Thanks,

Malcolm


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list