Dear all/developers,
I have just downloaded grass5.7.0 source code (not CVS)...
the ./configure was good....
later, I tried the make command and I obtained an error....
I have put here the last rows of the compilation process:
____________________________________________________________
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/GV2.o -c GV2.c
GV2.c: In function `GV_get_vect_list':
GV2.c:84: warning: implicit declaration of function `malloc'
GV2.c: In function `GV_load_vector':
GV2.c:150: warning: implicit declaration of function `strlen'
GV2.c:151: warning: implicit declaration of function `strcpy'
GV2.c:154: warning: suggest parentheses around assignment used as truth
value
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/Gv3.o -c Gv3.c
Gv3.c: In function `Gv_load_vect':
Gv3.c:79: warning: passing arg 1 of `calloc' as unsigned due to
prototype
Gv3.c:88: warning: passing arg 1 of `calloc' as unsigned due to
prototype
Gv3.c:152: warning: passing arg 1 of `calloc' as unsigned due to
prototype
Gv3.c:161: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/gv.o -c gv.c
gv.c: In function `gv_get_new_vect':
gv.c:117: warning: implicit declaration of function `malloc'
gv.c:123: warning: suggest parentheses around assignment used as truth
value
gv.c: In function `gv_free_vect':
gv.c:248: warning: implicit declaration of function `free'
gv.c: In function `gv_free_vectmem':
gv.c:284: warning: passing arg 1 of `sub_Vectmem' as signed due to
prototype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/gvd.o -c gvd.c
gvd.c: In function `gvd_vect':
gvd.c:106: warning: passing arg 1 of `gsd_translate' as `float' rather
than `do
uble' due to prototype
gvd.c:106: warning: passing arg 2 of `gsd_translate' as `float' rather
than `do
uble' due to prototype
gvd.c:106: warning: passing arg 3 of `gsd_translate' as `float' rather
than `do
uble' due to prototype
gvd.c:109: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gvd.c:110: warning: passing arg 1 of `gsd_linewidth' with different
width due t
o prototype
gvd.c:135: warning: passing arg 1 of `gsd_linewidth' with different
width due t
o prototype
gvd.c:195: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gvd.c:227: warning: passing arg 1 of `glColor3f' as `float' rather than
`double
' due to prototype
gvd.c:227: warning: passing arg 2 of `glColor3f' as floating rather than
intege
r due to prototype
gvd.c:227: warning: passing arg 3 of `glColor3f' as floating rather than
intege
r due to prototype
gvd.c:228: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gvd.c:246: warning: passing arg 1 of `gsd_linewidth' with different
width due t
o prototype
gvd.c: In function `gvd_draw_lineonsurf':
gvd.c:258: warning: passing arg 1 of `gsd_color_func' as unsigned due to
protot
ype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/GVL2.o -c GVL2.c
GVL2.c: In function `GVL_get_vol_list':
GVL2.c:84: warning: implicit declaration of function `malloc'
GVL2.c: In function `GVL_get_volname':
GVL2.c:165: warning: implicit declaration of function `strcpy'
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/gvl.o -c gvl.c
gvl.c: In function `gvl_get_new_vol':
gvl.c:118: warning: implicit declaration of function `malloc'
gvl.c:124: warning: suggest parentheses around assignment used as truth
value
gvl.c: In function `gvl_free_vol':
gvl.c:223: warning: implicit declaration of function `free'
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/Gvol.o -c Gvol.c
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/gv_quick.o -c gv_quick.c
gv_quick.c: In function `copy_line':
gv_quick.c:45: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c:57: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c: In function `thin_line':
gv_quick.c:97: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c:116: warning: passing arg 1 of `calloc' as unsigned due to
prototype
gv_quick.c: In function `gv_decimate_lines':
gv_quick.c:207: warning: passing arg 2 of `thin_line' as `float' rather
than `d
ouble' due to prototype
gv_quick.c:211: warning: passing arg 2 of `thin_line' as `float' rather
than `d
ouble' due to prototype
gcc -I/home/simona/Documents/GRASS/grass-5.7.0/include
-I/home/simona/Documents
/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -Wall -Wall
-Wconversion
-Wno-implicit-int -fPIC -I/usr/local/include -DUSE_GDAL_H
-I/usr/X11R6/inclu
de -I/usr/X11R6/include/GL/
-I/home/simona/Documents/GRASS/grass-5.7.0/includ
e
-I/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/trans.o -c trans.c
trans.c: In function `P_rotate':
trans.c:207: warning: passing arg 1 of `P_rot' as `float' rather than
`double' due to prototype
trans.c:207: warning: passing arg 2 of `P_rot' with different width due
to prot otype
gcc -rdynamic
-L/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu /lib -Wl,-rpath, -shared \
OBJ.i686-pc-linux-gnu/GK2.o OBJ.i686-pc-linux-gnu/gk.o
OBJ.i686-pc-linu x-gnu/GP2.o
OBJ.i686-pc-linux-gnu/Gp3.o OBJ.i686-pc-linux-gnu/gp.o
OBJ.i686-pc- linux-gnu/gpd.o
OBJ.i686-pc-linux-gnu/GS2.o OBJ.i686-pc-linux-gnu/Gs3.o
OBJ.i68 6-pc-linux-gnu/gs_bm.o
OBJ.i686-pc-linux-gnu/gs.o
OBJ.i686-pc-linux-gnu/gsd_cpl ane.o
OBJ.i686-pc-linux-gnu/gsd_fonts.o OBJ.i686-pc-linux-gnu/gsdiff.o
OBJ.i686 -pc-linux-gnu/gsd_img.o
OBJ.i686-pc-linux-gnu/gsd_img_ppm.o
OBJ.i686-pc-linux-g nu/gsd_img_tif.o
OBJ.i686-pc-linux-gnu/gsd_label.o
OBJ.i686-pc-linux-gnu/gsd_le gend.o
OBJ.i686-pc-linux-gnu/gsd_objs.o OBJ.i686-pc-linux-gnu/gsd_prim.o
OBJ.i6 86-pc-linux-gnu/gsdrape.o
OBJ.i686-pc-linux-gnu/gsds.o
OBJ.i686-pc-linux-gnu/gs d_surf.o
OBJ.i686-pc-linux-gnu/gsd_views.o OBJ.i686-pc-linux-gnu/gsd_wire.o
OBJ .i686-pc-linux-gnu/gsget.o
OBJ.i686-pc-linux-gnu/gs_norms.o
OBJ.i686-pc-linux-g nu/gs_query.o
OBJ.i686-pc-linux-gnu/GS_util.o OBJ.i686-pc-linux-gnu/GSX.o
OBJ.i 686-pc-linux-gnu/GV2.o
OBJ.i686-pc-linux-gnu/Gv3.o OBJ.i686-pc-linux-gnu/gv.o
O BJ.i686-pc-linux-gnu/gvd.o
OBJ.i686-pc-linux-gnu/GVL2.o
OBJ.i686-pc-linux-gnu/g vl.o
OBJ.i686-pc-linux-gnu/Gvol.o OBJ.i686-pc-linux-gnu/gv_quick.o
OBJ.i686-pc- linux-gnu/trans.o -lgrass_gis
-lgrass_datetime -lz -lgrass_bitmap
-lgrass_ve ct -lgrass_dig2 -lgrass_dgl
-lgrass_rtree -lgrass_linkm -lgrass_dbmiclient
-lgr ass_dbmibase -L/usr/local/lib -lgdal
-lGL -ltiff -lm -lgrass_image -lgrass_si
tes -o
/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/lib/lib grass_ogsf.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: ***
[/home/simona/Documents/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/l ib/libgrass_ogsf.so] Error 1
make[2]: Leaving directory
`/home/simona/Documents/GRASS/grass-5.7.0/lib/ogsf'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/simona/Documents/GRASS/grass-5.7.0/lib'
make: *** [default] Error 1
____________________________________________________________
can you give me some helps....
thank you