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

Scott Mitchell smitch at mac.com
Wed Feb 22 19:51:39 EST 2006


Sure enough, there was something wrong with updating in that  
directory - had to delete the whole directory and check it out again,  
but at least now it's all compiling cleanly.

Thanks,
Scott

----
Scott Mitchell, Assistant Professor, Carleton University
Department of Geography & Environmental Studies, Loeb A209
Mailing:  Loeb B349, 1125 Colonel By Dr., Ottawa, ON K1S 5B6 Canada
1-613-520-2600 x2695 Fax: 613-520-4301 Scott_Mitchell at carleton.ca


On Feb 21, 2006, at 3:16, Markus Neteler wrote:

> 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