[GRASS-user] Compiling GRASS 6.4.0RC5 on AIX 5.3

Glynn Clements glynn at gclements.plus.com
Tue Dec 15 14:33:45 EST 2009


Mike Waldron wrote:

> The source code tweaks I had to make were mainly to resolve conflicts 
> with variable declarations in the math.h include file. These didn't 
> cause a problem on Linux, but the xlc compiler on AIX would choke on 
> these. Also, there were several include references to <sys/fcntl.h>, 
> which on AIX is located in <fcntl.h>, so again a peculiarity with AIX.

FWIW, POSIX specifies <fcntl.h>. Linux has both, but <sys/fcntl.h> is
just:

	#include <fcntl.h>

In 7.0, the only two source files which use <sys/fcntl.h> are
r.drain/main.c and r.fill.dir/main.c; all others use <fcntl.h>.

I've fixed this in 7.0 with r40022.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list