[GRASS-dev] Compiling problem after adding _()

Martin Landa landa.martin at gmail.com
Tue Nov 6 13:36:44 EST 2007


Ciao,

in this case you need to include glocale header file

#include <grass/glocale.h>

Martin

2007/11/6, Carlos Dávila <cdavilam at jemila.jazztel.es>:
> After change listed below in /lib/rst/interp_float/input2d.c modules
> r.resampl.rest and v.surf.rst don't compile.
> -          G_fatal_error ("mask raster map [%s] not found",
> params->maskmap);
> +        G_fatal_error (_("Mask raster map <%s> not found"),
> params->maskmap);
>
> Error message is the same for both modules:
> grass6/dist.i686-pc-linux-gnu/lib/libgrass_interpfl.so: undefined
> reference to `_'
> collect2: ld returned 1 exit status
>
> Is this normal?
>
> Carlos
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>


-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *




More information about the grass-dev mailing list