Hi,
after recent changes r.le.setup fails to build due to implicit declaration
of G_ask_sites_old(), G_fopen_sites_old(), and G_get_site().
More generally sample.c should be using a vector points map there, not an
old sites map.
sample.c: In function `sample':
sample.c:54: warning: unused variable `btn'
sample.c: In function `man_unit':
sample.c:124: warning: unused variable `dx'
sample.c:124: warning: unused variable `dy'
sample.c:125: warning: unused variable `l0'
sample.c:125: warning: unused variable `t0'
sample.c:125: warning: unused variable `randflag'
sample.c:126: warning: unused variable `itmp'
sample.c:128: warning: unused variable `al'
sample.c:128: warning: unused variable `ar'
sample.c:128: warning: unused variable `at'
sample.c:128: warning: unused variable `ab'
sample.c:128: warning: unused variable `au_w'
sample.c:128: warning: unused variable `au_l'
sample.c:132: warning: unused variable `sites_mapset'
sample.c:133: warning: unused variable `wind'
sample.c: In function `draw_grid':
sample.c:661: warning: unused variable `k'
sample.c:661: warning: unused variable `itmp'
sample.c:661: warning: unused variable `tmp'
sample.c: In function `calc_unit_loc':
sample.c:827: warning: suggest parentheses around assignment used as truth value
sample.c:916: error: implicit declaration of function `G_ask_sites_old'
sample.c:916: warning: assignment makes pointer from integer without a cast
sample.c:922: error: implicit declaration of function `G_fopen_sites_old'
sample.c:922: warning: assignment makes pointer from integer without a cast
sample.c:930: error: implicit declaration of function `G_get_site'
sample.c:733: warning: unused variable `region'
sample.c:735: warning: unused variable `k'
sample.c:736: warning: unused variable `tmp'
sample.c: In function `graph_unit':
sample.c:1042: warning: unused variable `tmpw'
sample.c:1042: warning: unused variable `tmpl'
sample.c: In function `draw_circle':
sample.c:1473: warning: unused variable `x2'
sample.c:1473: warning: unused variable `yr'
sample.c: In function `numtrap':
sample.c:1519: warning: unused variable `j'
make: *** [OBJ.i686-pc-linux-gnu/sample.o] Error 1
thanks,
Hamish