[GRASS-dev] compilation of grass on AIX 7.1

Markus Neteler neteler at osgeo.org
Wed Apr 3 09:07:56 PDT 2013


On Wed, Apr 3, 2013 at 5:51 PM, Glynn Clements <glynn at gclements.plus.com> 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.

> 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.

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aix53_gcc_test.txt.gz
Type: application/x-gzip
Size: 7084 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130403/fe56cebb/attachment.bin>


More information about the grass-dev mailing list