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 <gl...@gclements.plus.com> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev