[GRASS5] compile error grass6 CVS lib/gis/grid_dist[12].c MacOSX

Markus Neteler neteler at itc.it
Tue Feb 21 03:16:17 EST 2006


Scott,

it seems that the Makefile in your copy of lib/gis/ isn't updated
yet. I strongly recommend to completely update GRASS from
CVS after running a cleanup:

make distclean
cvs up -dP
./configure ...
make

Best

 Markus

Scott Mitchell wrote:

>
> On MacOS 10.4.4, this morning's CVS GRASS6, I'm getting the following 
> error (it compiled fine on a Fedora Linux system).  Increasingly 
> rusty C skills are preventing successful self-fix.  Suggestions?
>
> Looks like the only change in this file recently was on Jan 30, 
> Markus logged that he removed some "unused stuff" - could that be 
> related?
>
> Thanks!
>
> [OmarSosa:grass6/lib/gis] smitch% make
> gcc -I/Volumes/smitchDataBank/src/grass6/dist.powerpc-apple-
> darwin8.4.0/include -I/usr/X11R6/include -I/sw/include -g -O2  -Wall -
> Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/sw/include  -
> fno-common    -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64    -
> DPACKAGE=\""grasslibs"\"  -I/Volumes/smitchDataBank/src/grass6/
> dist.powerpc-apple-darwin8.4.0/include \
>         -o OBJ.powerpc-apple-darwin8.4.0/grid_dist1.o -c grid_dist1.c
> grid_dist1.c:93: error: static declaration of 'sc' follows non-static 
> declaration
> grid_dist1.c:20: error: previous declaration of 'sc' was here
> make: *** [OBJ.powerpc-apple-darwin8.4.0/grid_dist1.o] Error 1
>
>
> Scott Mitchell
> smitch AT mac dot com
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5





More information about the grass-dev mailing list