[GRASS-dev] undefined reference to `va_ri'

matt wilkie maphew at gmail.com
Sun Nov 2 18:37:51 EST 2008


Hi,

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'
gcc -L/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib
-Wl,--export-dynamic  -L/usr/lib64
-Wl,-rpath-link,/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib  
-o /usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin/i.vi
OBJ.x86_64-unknown-linux-gnu/arvi.o OBJ.x86_64-unknown-linux-gnu/dvi.o
OBJ.x86_64-unknown-linux-gnu/evi.o OBJ.x86_64-unknown-linux-gnu/gari.o
OBJ.x86_64-unknown-linux-gnu/gemi.o OBJ.x86_64-unknown-linux-gnu/gvi.o
OBJ.x86_64-unknown-linux-gnu/ipvi.o OBJ.x86_64-unknown-linux-gnu/main.o
OBJ.x86_64-unknown-linux-gnu/msavi2.o OBJ.x86_64-unknown-linux-gnu/msavi.o
OBJ.x86_64-unknown-linux-gnu/ndvi.o OBJ.x86_64-unknown-linux-gnu/pvi.o
OBJ.x86_64-unknown-linux-gnu/savi.o OBJ.x86_64-unknown-linux-gnu/sr.o
OBJ.x86_64-unknown-linux-gnu/wdvi.o  -lgrass_gis -lgrass_datetime -lz     
-lm  -lz 
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'
collect2: ld returned 1 exit status
make[1]: ***
[/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin/i.vi] Error 1
"

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

-matt
-- 
View this message in context: http://www.nabble.com/undefined-reference-to-%60va_ri%27-tp20295173p20295173.html
Sent from the Grass - Dev mailing list archive at Nabble.com.



More information about the grass-dev mailing list