On Fri, Mar 22, 2013 at 12:11 AM, Markus Neteler <[email protected]> wrote: > Hi, > > I gained back access to an older AIX 5.3 system and try to compile > GRASS 7.svn: > > /afs/cluster/myuser/private/software/grass-7.0.svn/lib/gis> make > xlc_r -DANSI -I/afs/cluster/software/vni/CTT6.0/include > -I/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/include > -I/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/include > -DGRASS_VERSION_DATE=\"'2013'\" -DPACKAGE=\""grasslibs"\" > -I/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/include > -I/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/include > -o OBJ.powerpc-ibm-aix5.3.0.0/plot.o -c plot.c > "plot.c", line 34.15: 1506-343 (S) Redeclaration of nearest differs > from previous declaration on line 941 of "/usr/include/math.h". > "plot.c", line 34.15: 1506-376 (I) Redeclaration of nearest has a > different number of fixed parameters than the previous declaration. > make: *** [OBJ.powerpc-ibm-aix5.3.0.0/plot.o] Error 1 > > (Note the AIX xlc compiler) > > Meanwhile I'll try the gcc compiler.
Happens as well with gcc. I locally renamed the variable (yet to be fixed properly in SVN). Next problem: grass-7.0.svn/lib/datetime> make o /afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/lib/libgrass_datetime.7.0.svn.so -L/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/lib -L/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/lib -L/afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/lib OBJ.powerpc-ibm-aix5.3.0.0/between.o OBJ.powerpc-ibm-aix5.3.0.0/change.o OBJ.powerpc-ibm-aix5.3.0.0/copy.o OBJ.powerpc-ibm-aix5.3.0.0/diff.o OBJ.powerpc-ibm-aix5.3.0.0/error.o OBJ.powerpc-ibm-aix5.3.0.0/format.o OBJ.powerpc-ibm-aix5.3.0.0/incr1.o OBJ.powerpc-ibm-aix5.3.0.0/incr2.o OBJ.powerpc-ibm-aix5.3.0.0/incr3.o OBJ.powerpc-ibm-aix5.3.0.0/local.o OBJ.powerpc-ibm-aix5.3.0.0/misc.o OBJ.powerpc-ibm-aix5.3.0.0/same.o OBJ.powerpc-ibm-aix5.3.0.0/scan.o OBJ.powerpc-ibm-aix5.3.0.0/sign.o OBJ.powerpc-ibm-aix5.3.0.0/type.o OBJ.powerpc-ibm-aix5.3.0.0/tz1.o OBJ.powerpc-ibm-aix5.3.0.0/tz2.o OBJ.powerpc-ibm-aix5.3.0.0/values.o -lm make: o: Command not found We had this also with MingW, the fix was http://trac.osgeo.org/grass/changeset/54352 Actually I don't see how to fix the junk char (or whatever causes this "o"). markusN _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
