[GRASS-dev] compilation of grass on AIX 7.1
Glynn Clements
glynn at gclements.plus.com
Wed Apr 3 08:51:49 PDT 2013
Markus Neteler wrote:
> > off_t would be a good start.
> #ifndef _OFF_T
> #define _OFF_T
> #ifdef _LARGE_FILES
> typedef long long off_t; /* 64 bit file offset */
> #else
> typedef long off_t; /* file offset (32/64) */
> #endif /* _LARGE_FILES */
> #endif /* _OFF_T */
This doesn't fit with the off_t-related errors you were getting in
defs/gis.h.
Try:
gcc -E -ansi -D_POSIX_C_SOURCE=200809L -Dinline= \
-Idist.powerpc-ibm-aix5.3.0.0/include -D_POSIX_C_SOURCE=200809L \
include/gis.h
This should output what the preprocessor sends to the compiler proper.
It should include a typedef for off_t.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list