[GRASS-dev] make file grass 6.3 r.refine

Hi.
At the moment I´m trying to compile the tool r.refine, which was written for grass 5.x on grass 6.3. I had to do some changes in the Source Code but I still have Problems with the Makefile. There is something wrong with the glut.hlibrares I think.

When i try to compile it i get the following messages
...
...
...
/root/Desktop/r.refine/render_tin.c:102: undefined reference to `glutCreateMenu'
/root/Desktop/r.refine/render_tin.c:103: undefined reference to `glutAddMenuEntry'
/root/Desktop/r.refine/render_tin.c:104: undefined reference to `glutAddMenuEntry'
/root/Desktop/r.refine/render_tin.c:105: undefined reference to `glutAddMenuEntry'
/root/Desktop/r.refine/render_tin.c:106: undefined reference to `glutAttachMenu'
OBJ.i686-pc-linux-gnu/render_tin.o: In function `mainMenu':
/root/Desktop/r.refine/render_tin.c:396: undefined reference to `glutPostRedisplay'
/root/Desktop/r.refine/render_tin.c:396: undefined reference to `glutPostRedisplay'
/root/Desktop/r.refine/render_tin.c:396: undefined reference to `glutPostRedisplay'
OBJ.i686-pc-linux-gnu/render_tin.o: In function `display':
/root/Desktop/r.refine/render_tin.c:296: undefined reference to `glFlush'
OBJ.i686-pc-linux-gnu/render_tin.o: In function `OGL_render':
/root/Desktop/r.refine/render_tin.c:121: undefined reference to `glutMainLoop'
OBJ.i686-pc-linux-gnu/render_tin.o: In function `keypress':
/root/Desktop/r.refine/render_tin.c:370: undefined reference to `glutPostRedisplay'
/root/Desktop/r.refine/render_tin.c:366: undefined reference to `glutPostRedisplay'
/root/Desktop/r.refine/render_tin.c:324: undefined reference to `glutPostRedisplay'
/root/Desktop/r.refine/render_tin.c:332: undefined reference to `glutPostRedisplay'
/root/Desktop/r.refine/render_tin.c:362: undefined reference to `glutPostRedisplay'

Has anybody an idea what to do?
Thank you

--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser