[GRASS-dev] error compiling grass cvs on ubuntu edgy

Hi,

I get an error compiling grass cvs on ubuntu edgy in the module v.digit.

OBJ.i486-pc-linux-gnu/c_face.o: In function `c_next_tool':
/home/pakete/grass6/vector/v.digit/c_face.c:93: undefined reference to
`R_set_cancel' OBJ.i486-pc-linux-gnu/c_face.o: In function `c_cancel':
/home/pakete/grass6/vector/v.digit/c_face.c:23: undefined reference to
`R_set_cancel' OBJ.i486-pc-linux-gnu/util.o: In function `get_location':
/home/pakete/grass6/vector/v.digit/util.c:52: undefined reference to
`R_set_update_function' collect2: ld returned 1 exit status
make: *** [/home/pakete/grass6/dist.i486-pc-linux-gnu/bin/v.digit] Error 1

Has someone made the experience or the same error?

regards,
  Otto

On Thu, May 10, 2007 at 05:12:15PM +0200, Otto Dassau wrote:

Hi,

I get an error compiling grass cvs on ubuntu edgy in the module v.digit.

OBJ.i486-pc-linux-gnu/c_face.o: In function `c_next_tool':
/home/pakete/grass6/vector/v.digit/c_face.c:93: undefined reference to
`R_set_cancel' OBJ.i486-pc-linux-gnu/c_face.o: In function `c_cancel':
/home/pakete/grass6/vector/v.digit/c_face.c:23: undefined reference to
`R_set_cancel' OBJ.i486-pc-linux-gnu/util.o: In function `get_location':
/home/pakete/grass6/vector/v.digit/util.c:52: undefined reference to
`R_set_update_function' collect2: ld returned 1 exit status
make: *** [/home/pakete/grass6/dist.i486-pc-linux-gnu/bin/v.digit] Error 1

Has someone made the experience or the same error?

You need to update from CVS again.
R_set_cancel was removed:
--- c_face.c 4 May 2006 19:37:26 -0000 1.17

(plus other fixes)

Markus

On Thu, 10 May 2007 17:12:15 +0200
Otto Dassau <otto.dassau@gmx.de> wrote:

Hi,

I get an error compiling grass cvs on ubuntu edgy in the module v.digit.

OBJ.i486-pc-linux-gnu/c_face.o: In function `c_next_tool':
/home/pakete/grass6/vector/v.digit/c_face.c:93: undefined reference to
`R_set_cancel' OBJ.i486-pc-linux-gnu/c_face.o: In function `c_cancel':
/home/pakete/grass6/vector/v.digit/c_face.c:23: undefined reference to
`R_set_cancel' OBJ.i486-pc-linux-gnu/util.o: In function `get_location':
/home/pakete/grass6/vector/v.digit/util.c:52: undefined reference to
`R_set_update_function' collect2: ld returned 1 exit status
make: *** [/home/pakete/grass6/dist.i486-pc-linux-gnu/bin/v.digit] Error 1

Has someone made the experience or the same error?

BTW: GRASS 6.2.1 compiles without any problems on the same machine.

  regards,
   Otto

On Thu, 10 May 2007 17:36:47 +0200
Markus Neteler <neteler@itc.it> wrote:

On Thu, May 10, 2007 at 05:12:15PM +0200, Otto Dassau wrote:
> Hi,
>
> I get an error compiling grass cvs on ubuntu edgy in the module v.digit.
>
> OBJ.i486-pc-linux-gnu/c_face.o: In function `c_next_tool':
> /home/pakete/grass6/vector/v.digit/c_face.c:93: undefined reference to
> `R_set_cancel' OBJ.i486-pc-linux-gnu/c_face.o: In function `c_cancel':
> /home/pakete/grass6/vector/v.digit/c_face.c:23: undefined reference to
> `R_set_cancel' OBJ.i486-pc-linux-gnu/util.o: In function `get_location':
> /home/pakete/grass6/vector/v.digit/util.c:52: undefined reference to
> `R_set_update_function' collect2: ld returned 1 exit status
> make: *** [/home/pakete/grass6/dist.i486-pc-linux-gnu/bin/v.digit] Error 1
>
> Has someone made the experience or the same error?

You need to update from CVS again.
R_set_cancel was removed:
--- c_face.c 4 May 2006 19:37:26 -0000 1.17

(plus other fixes)

yes an update fixed it, thanks!

regards,
Otto