[GRASSLIST:2539] build errors on r.le

chris at fonnesbeck.org chris at fonnesbeck.org
Tue Feb 10 11:09:47 EST 2004


Not a great week for getting the cvs build to work on my linux machine.
This time it seems to be with r.le:


gcc -rdynamic -L/usr/src/grass57_exp_2003_12_06/dist.i686-pc-linux-gnu/lib
   -o
/usr/src/grass57_exp_2003_12_06/dist.i686-pc-linux-gnu/etc/bin/cmd/poly_to_bmif
OBJ.i686-pc-linux-gnu/bmf_to_cll.o OBJ.i686-pc-linux-gnu/do_dots.o
OBJ.i686-pc-linux-gnu/do_line.o OBJ.i686-pc-linux-gnu/find_area.o
OBJ.i686-pc-linux-gnu/ply_t_bmif.o OBJ.i686-pc-linux-gnu/save_area.o
OBJ.i686-pc-linux-gnu/wrte_recrd.o OBJ.i686-pc-linux-gnu/yadjust.o
-lgrass_gis -lgrass_datetime   -lm  -lz
OBJ.i686-pc-linux-gnu/ply_t_bmif.o: In function `main':
/usr/src/grass57_exp_2003_12_06/raster/r.le/r.le.setup/polytocell/ply_t_bmif.c(.text+0x0):
multiple definition of `main'
OBJ.i686-pc-linux-gnu/bmf_to_cll.o(.text+0x0):/usr/src/grass57_exp_2003_12_06/raster/r.le/r.le.setup/polytocell/bmf_to_cll.c:
first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 1089 to 1539 in
OBJ.i686-pc-linux-gnu/ply_t_bmif.o
OBJ.i686-pc-linux-gnu/bmf_to_cll.o: In function `main':
/usr/src/grass57_exp_2003_12_06/raster/r.le/r.le.setup/polytocell/bmf_to_cll.c:45:
the `gets' function is dangerous and should not be used.
collect2: ld returned 1 exit status
make[4]: ***
[/usr/src/grass57_exp_2003_12_06/dist.i686-pc-linux-gnu/etc/bin/cmd/poly_to_bmif]
Error 1
make[4]: Leaving directory
`/usr/src/grass57_exp_2003_12_06/raster/r.le/r.le.setup/polytocell'
make[3]: *** [default] Error 2
make[3]: Leaving directory
`/usr/src/grass57_exp_2003_12_06/raster/r.le/r.le.setup'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/grass57_exp_2003_12_06/raster/r.le'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/grass57_exp_2003_12_06/raster'
make: *** [default] Error 1




More information about the grass-user mailing list