[GRASS-dev] compilation of grass on AIX 7.1
markus.metz.giswork at gmail.com
Wed Mar 27 12:18:05 PDT 2013
On Wed, Mar 27, 2013 at 2:50 PM, Ivan Barka <ivan.barka at gmail.com> wrote:
> Hi devs,
> I tried again recent grass7 on AIX 7.1 with gcc.
> I had error in lib/gis:
> gcc -lstdc++
> -D_FILE_OFFSET_BITS=64 -DGRASS_VERSION_DATE=\"'2013'\"
> -I/gpfs/home/senko/dev/grass/grass7/dist.powerpc-ibm-aix22.214.171.124/include -o
> OBJ.powerpc-ibm-aix126.96.36.199/plot.o -c plot.c
> plot.c:34:15: error: conflicting types for 'nearest'
> note: previous declaration of 'nearest' was here
> gmake: *** [OBJ.powerpc-ibm-aix188.8.131.52/plot.o] Error 1
> After renaming the variable "nearest" to "nearesta" in lib/gis/plot.c it
> But next strange error was in lib/vector/diglib:
> if [ "" != "" -a -f "".html ] ; then gmake html ; fi
> gmake test
> gmake: Entering directory
> diff OBJ.powerpc-ibm-aix184.108.40.206/test.tmp test64.ok
> diff: Missing newline at the end of file
> diff: Missing newline at the end of file test64.ok.
I think this error can be ignored if gmake continues to compile the
remaining code. We can make diff happy by adding a newline to the end
of the respective files. Strangely, this error has not been reported
on any of the other platforms.
After running gmake, all folders with errors are listed after
Are there additional errors?
> gmake: *** [test] Error 1
> gmake: Leaving directory
> gmake: *** [default] Error 2
> Full output is in file diglib_gmake.txt
> Thanks for any advice.
> 2013/3/23 Markus Neteler <neteler at osgeo.org>
>> However, I think that this exercise is done since we cannot gain more
>> on AIX 5.3. I hope that the code is AIX 7 ready at this point.
>> I have documented the compilation steps here:
>> -> AIX compilation hints
>> (configuration scripts for wget, PROJ4, GDAL, GRASS 6, and GRASS 7)
>> -> GRASS 7: Using the IBM xlc compiler
>> -> GRASS 7: Using the GNU gcc compiler
>> Ivan, could you please update from GRASS 7 SVN and try again?
> grass-dev mailing list
> grass-dev at lists.osgeo.org
More information about the grass-dev