[GRASS-dev] ADDONS: i.landsat.toar compilation problem

Markus Neteler neteler at osgeo.org
Sun Oct 5 04:47:19 EDT 2008


On Fri, Oct 3, 2008 at 10:36 AM, Yann Chemin <yann.chemin at gmail.com> wrote:
> Hello,
>
> i.landsat.toar makes a problem at compilation time.
> ----------------
> OBJ.x86_64-unknown-linux-gnu/main.o: In function `main':
> /home/yann/tmp/grass_yann/imagery/i.landsat.toar/main.c:206: undefined
> reference to `G_strncpy'
> /home/yann/tmp/grass_yann/imagery/i.landsat.toar/main.c:213: undefined
> reference to `G_strncpy'
> ----------------

G_strcpy, G_strncpy, G_strcat were removed from GRASS 7. I have fixed
it in grassaddons to strncpy, now it should compile.

Markus


More information about the grass-dev mailing list