[GRASS-dev] r.report: build error

Glynn Clements glynn at gclements.plus.com
Sun Nov 26 16:33:48 EST 2006


Maciej Sieczka wrote:

> Trying to build GRASS 6.3 from CVS a while ago I'm getting an error in
> the r.report:

> `print_report':/home/shoofi/src/straight/grass6/raster/r.report/prt_report.c:82:
> undefined reference to `_'

That file needs:

	#include <grass/glocale.h>

Given that most source files will ultimately require that header, it
should probably be included from gis.h rather than requiring
individual files to include it explicitly.

I've modified glocale.h to protect against multiple inclusion.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list