[GRASS-dev] undefined reference to `va_ri'

Glynn Clements glynn at gclements.plus.com
Mon Nov 3 00:34:21 EST 2008


matt wilkie wrote:

> I'm attempting to compile current svn (r34142) following the guideline at
> http://grass.osgeo.org/wiki/Compile_and_Install on Ubntu 8.10 amd64. At the
> "make" stage I'm getting the error
>  
>   "make[1]: Entering directory `/usr/local/src/grass_trunk/imagery/i.vi'

> OBJ.x86_64-unknown-linux-gnu/main.o: In function `main':
> /usr/local/src/grass_trunk/imagery/i.vi/main.c:366: undefined reference to `va_ri'

> Commenting out imagery/i.vi/main.c lines 355 & 366 let make continue but I
> don't know what is missing as a result.

It appears that Yann made the changes to main.c but forgot to commit
the file which actually defines the function.

The feature in question is the "viname=vari" option (Visible
Atmospherically Resistant Index), which won't work until the relevant
file is committed.

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


More information about the grass-dev mailing list