On Wed, Mar 27, 2013 at 8:18 PM, Markus Metz <markus.metz.gisw...@gmail.com> wrote: > On Wed, Mar 27, 2013 at 2:50 PM, Ivan Barka <ivan.ba...@gmail.com> wrote: >> Hi devs, >> >> I tried again recent grass7 on AIX 7.1 with gcc. >> >> I had error in lib/gis: >> >> gcc -lstdc++ >> -I/gpfs/home/senko/dev/grass/grass7/dist.powerpc-ibm-aix7.1.0.0/include >> -I/gpfs/home/senko/dev/grass/grass7/dist.powerpc-ibm-aix7.1.0.0/include >> -D_FILE_OFFSET_BITS=64 -DGRASS_VERSION_DATE=\"'2013'\" >> -DPACKAGE=\""grasslibs"\" >> -I/gpfs/home/senko/dev/grass/grass7/dist.powerpc-ibm-aix7.1.0.0/include >> -I/gpfs/home/senko/dev/grass/grass7/dist.powerpc-ibm-aix7.1.0.0/include -o >> OBJ.powerpc-ibm-aix7.1.0.0/plot.o -c plot.c >> plot.c:34:15: error: conflicting types for 'nearest' >> /usr/opt/freeware/bin/../lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.1/include-fixed/math.h:1397:21: >> note: previous declaration of 'nearest' was here >> gmake: *** [OBJ.powerpc-ibm-aix7.1.0.0/plot.o] Error 1 >> >> After renaming the variable "nearest" to "nearesta" in lib/gis/plot.c it >> worked.
I did the same on AIX 5.3 but we need a solution in SVN... markusN _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev