[GRASS-user] addons installation under GRASS 7.0-svn

Rhot rhot at rambler.ru
Wed Aug 11 06:13:52 EDT 2010


Hello!
I've got a problem with installing of any addon to grass 7.0-svn (Ubuntu 
9.10). Particularly, while installing module i.landsat.acca, I got the 
following errors.

 >>
rhot at rhot-workstation:~/Dl/i.landsat.acca$ LANGUAGE=en.US.UTF-8 make 
MODULE_TOPDIR=/usr/local/grass-7.0.svn/
: && gcc 
-L/home/rhot/Dl/grass_svn/grass_trunk/dist.i686-pc-linux-gnu/lib 
-L/home/rhot/Dl/grass_svn/grass_trunk/dist.i686-pc-linux-gnu/lib 
-Wl,--export-dynamic 
-Wl,-rpath-link,/home/rhot/Dl/grass_svn/grass_trunk/dist.i686-pc-linux-gnu/lib   
-o 
/home/rhot/Dl/grass_svn/grass_trunk/dist.i686-pc-linux-gnu/bin/i.landsat.acca 
OBJ.i686-pc-linux-gnu/algorithm.o OBJ.i686-pc-linux-gnu/main.o 
OBJ.i686-pc-linux-gnu/tools.o    -lgrass_gis.7.0.svn  -lm 
OBJ.i686-pc-linux-gnu/algorithm.o: In function `acca_second':
/home/rhot/Dl/i.landsat.acca/algorithm.c:361: undefined reference to 
`G_find_cell2'
/home/rhot/Dl/i.landsat.acca/algorithm.c:364: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/algorithm.c:365: undefined reference to 
`G_open_cell_old'
/home/rhot/Dl/i.landsat.acca/algorithm.c:370: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/algorithm.c:371: undefined reference to 
`G_open_raster_new'
/home/rhot/Dl/i.landsat.acca/algorithm.c:379: undefined reference to 
`G_window_rows'
/home/rhot/Dl/i.landsat.acca/algorithm.c:380: undefined reference to 
`G_window_cols'
/home/rhot/Dl/i.landsat.acca/algorithm.c:388: undefined reference to 
`G_get_d_raster_row'
/home/rhot/Dl/i.landsat.acca/algorithm.c:390: undefined reference to 
`G_get_c_raster_row'
/home/rhot/Dl/i.landsat.acca/algorithm.c:395: undefined reference to 
`G_is_c_null_value'
/home/rhot/Dl/i.landsat.acca/algorithm.c:409: undefined reference to 
`G_set_c_null_value'
/home/rhot/Dl/i.landsat.acca/algorithm.c:430: undefined reference to 
`G_put_raster_row'
/home/rhot/Dl/i.landsat.acca/algorithm.c:439: undefined reference to 
`G_close_cell'
/home/rhot/Dl/i.landsat.acca/algorithm.c:442: undefined reference to 
`G_close_cell'
OBJ.i686-pc-linux-gnu/algorithm.o: In function `acca_first':
/home/rhot/Dl/i.landsat.acca/algorithm.c:220: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/algorithm.c:221: undefined reference to 
`G_open_raster_new'
/home/rhot/Dl/i.landsat.acca/algorithm.c:232: undefined reference to 
`G_window_rows'
/home/rhot/Dl/i.landsat.acca/algorithm.c:233: undefined reference to 
`G_window_cols'
/home/rhot/Dl/i.landsat.acca/algorithm.c:243: undefined reference to 
`G_get_d_raster_row'
/home/rhot/Dl/i.landsat.acca/algorithm.c:252: undefined reference to 
`G_is_d_null_value'
/home/rhot/Dl/i.landsat.acca/algorithm.c:329: undefined reference to 
`G_set_c_null_value'
/home/rhot/Dl/i.landsat.acca/algorithm.c:336: undefined reference to 
`G_put_raster_row'
/home/rhot/Dl/i.landsat.acca/algorithm.c:344: undefined reference to 
`G_close_cell'
OBJ.i686-pc-linux-gnu/main.o: In function `check_raster':
/home/rhot/Dl/i.landsat.acca/main.c:56: undefined reference to 
`G_find_cell2'
/home/rhot/Dl/i.landsat.acca/main.c:65: undefined reference to 
`G_open_cell_old'
/home/rhot/Dl/i.landsat.acca/main.c:69: undefined reference to 
`G_get_cellhd'
/home/rhot/Dl/i.landsat.acca/main.c:77: undefined reference to 
`G_raster_map_type'
OBJ.i686-pc-linux-gnu/main.o: In function `main':
/home/rhot/Dl/i.landsat.acca/main.c:169: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/main.c:195: undefined reference to 
`G_close_cell'
/home/rhot/Dl/i.landsat.acca/main.c:202: undefined reference to 
`G_short_history'
/home/rhot/Dl/i.landsat.acca/main.c:203: undefined reference to 
`G_command_history'
/home/rhot/Dl/i.landsat.acca/main.c:204: undefined reference to 
`G_write_history'
OBJ.i686-pc-linux-gnu/tools.o: In function `pval':
/home/rhot/Dl/i.landsat.acca/tools.c:125: undefined reference to 
`G_is_c_null_value'
OBJ.i686-pc-linux-gnu/tools.o: In function `filter_holes':
/home/rhot/Dl/i.landsat.acca/tools.c:141: undefined reference to 
`G_window_rows'
/home/rhot/Dl/i.landsat.acca/tools.c:142: undefined reference to 
`G_window_cols'
/home/rhot/Dl/i.landsat.acca/tools.c:148: undefined reference to 
`G_find_cell2'
/home/rhot/Dl/i.landsat.acca/tools.c:151: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/tools.c:152: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/tools.c:153: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/tools.c:154: undefined reference to 
`G_open_cell_old'
/home/rhot/Dl/i.landsat.acca/tools.c:159: undefined reference to 
`G_allocate_raster_buf'
/home/rhot/Dl/i.landsat.acca/tools.c:160: undefined reference to 
`G_open_raster_new'
/home/rhot/Dl/i.landsat.acca/tools.c:175: undefined reference to 
`G_get_c_raster_row'
/home/rhot/Dl/i.landsat.acca/tools.c:178: undefined reference to 
`G_get_c_raster_row'
/home/rhot/Dl/i.landsat.acca/tools.c:184: undefined reference to 
`G_get_c_raster_row'
/home/rhot/Dl/i.landsat.acca/tools.c:325: undefined reference to 
`G_set_c_null_value'
/home/rhot/Dl/i.landsat.acca/tools.c:328: undefined reference to 
`G_put_raster_row'
/home/rhot/Dl/i.landsat.acca/tools.c:337: undefined reference to 
`G_close_cell'
/home/rhot/Dl/i.landsat.acca/tools.c:340: undefined reference to 
`G_close_cell'
collect2: ld returned 1 exit status
make: *** 
[/home/rhot/Dl/grass_svn/grass_trunk/dist.i686-pc-linux-gnu/bin/i.landsat.acca] 
Error 1
<<

There is a 6.4.0-svn installation on my PC as well. And installing 
addons on it worked very well. I guess there is something new in 
grass7.0, even about installing modules.
Can anyone help me with this issue please?


Best wishes,
Vladimir.


More information about the grass-user mailing list