[GRASS-dev] compilation of grass on AIX 7.1
Glynn Clements
glynn at gclements.plus.com
Wed Apr 3 10:57:12 PDT 2013
Markus Neteler wrote:
> > This doesn't fit with the off_t-related errors you were getting in
> > defs/gis.h.
>
> Now I got it... gcc picks stuff up from /opt/freeware/bla. Sorry for
> the confusion.
In which case, you need to look at that version of sys/types.h to
figure out why off_t isn't getting seen.
> > 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.
>
> Result attached.
gcc's sys/types.h isn't defining off_t. It's possible that it's
relying upon some other header to define it, but that other header
isn't getting included.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list