Hi devs,<div><br></div><div>I tried again recent grass7 on AIX 7.1 with gcc.</div><div><br></div><div>I had error in <span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">lib/gis:</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">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</div>

<div style><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">plot.c:34:15: error: conflicting types for 'nearest'</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

/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</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

gmake: *** [OBJ.powerpc-ibm-aix7.1.0.0/plot.o] Error 1</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

After renaming the variable "nearest" to "nearesta" in lib/gis/plot.c it worked.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
But next strange error was in lib/vector/diglib:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
<br></div><div><div><font color="#222222" face="arial, sans-serif">if [ "" != "" -a -f "".html ] ; then gmake html ; fi</font></div><div><font color="#222222" face="arial, sans-serif">==============TEST=============</font></div>

<div><font color="#222222" face="arial, sans-serif">gmake test</font></div><div><font color="#222222" face="arial, sans-serif">gmake[1]: Entering directory `/gpfs/home/senko/dev/grass/grass7/lib/vector/diglib'</font></div>

<div><font color="#222222" face="arial, sans-serif">diff OBJ.powerpc-ibm-aix7.1.0.0/test.tmp test64.ok</font></div><div><font color="#222222" face="arial, sans-serif">diff: Missing newline at the end of file OBJ.powerpc-ibm-aix7.1.0.0/test.tmp.</font></div>

<div><font color="#222222" face="arial, sans-serif">diff: Missing newline at the end of file test64.ok.</font></div><div><font color="#222222" face="arial, sans-serif">.......</font></div><div><font color="#222222" face="arial, sans-serif"> </font><span style="color:rgb(34,34,34);font-family:arial,sans-serif">gmake[1]: *** [test] Error 1</span></div>

<div><font color="#222222" face="arial, sans-serif">gmake[1]: Leaving directory `/gpfs/home/senko/dev/grass/grass7/lib/vector/diglib'</font></div><div><font color="#222222" face="arial, sans-serif">gmake: *** [default] Error 2</font></div>

</div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Full output is in file diglib_gmake.txt</font></div><div><font color="#222222" face="arial, sans-serif"><br>

</font></div><div><font color="#222222" face="arial, sans-serif">Thanks for any advice.</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Ivan</font></div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></div></div><br><div class="gmail_quote">2013/3/23 Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
However, I think that this exercise is done since we cannot gain more<br>
on AIX 5.3. I hope that the code is AIX 7 ready at this point.<br>
<br>
I have documented the compilation steps here:<br>
<br>
<a href="http://grasswiki.osgeo.org/wiki/Talk:Compile_and_Install" target="_blank">http://grasswiki.osgeo.org/wiki/Talk:Compile_and_Install</a><br>
-> AIX compilation hints<br>
   (configuration scripts for wget, PROJ4, GDAL, GRASS 6, and GRASS 7)<br>
<br>
<a href="http://grasswiki.osgeo.org/wiki/Compile_and_Install#AIX" target="_blank">http://grasswiki.osgeo.org/wiki/Compile_and_Install#AIX</a><br>
-> GRASS 7: Using the IBM xlc compiler<br>
-> GRASS 7: Using the GNU gcc compiler<br>
<br>
Ivan, could you please update from GRASS 7 SVN and try again?<br>
<span><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br></div>