[GRASS-user] Compilation failure r.in.xyz on FreeBSD

Hamish hamish_nospam at yahoo.com
Sun Nov 5 00:24:27 EST 2006


Glynn Clements wrote:
> 
> Tom Russo wrote:
> 
> > I just tried to build today's CVS checkout, and got a compilation
> > failure in r.in.xyz on my FreeBSD system.  The problem is the last
> > commit changed the type of the "filesize" variable to off_t, but on
> > FreeBSD it is necessary to have an explicit include of <sys/types.h>
> > to get the off_t typedef.
> > 
> > Inserting a 
> >  #include <sys/types.h>
> > immediately before the include of <stdio.h> fixed the problem.
> 
> Okay, fixed in CVS.


& LFS wiki guide updated.
  http://grass.gdf-hannover.de/wiki/Large_File_Support#int_versus_off_t


Hamish




More information about the grass-user mailing list