<font size="4">Hi,</font><div><font size="4"> There are some errors when I compiled Grass 6.4 in Unbuntu 11.10.</font></div><div><br></div><div><div>--</div><div>Errors in:</div><div>/usr/local/src/grass64_release/lib/ogsf</div>
<div>/usr/local/src/grass64_release/lib/nviz</div><div>/usr/local/src/grass64_release/misc/m.nviz.image</div><div>/usr/local/src/grass64_release/visualization/nviz</div><div>--</div><div>In case of errors please change into the directory with error and run 'make'.</div>
<div>If you get multiple errors, you need to deal with them in the order they</div><div>appear in the error log. If you get an error building a library, you will</div><div>also get errors from anything which uses the library.</div>
<div>--</div><div><br></div><div><font size="4">I went to /usr/local/src/grass64_release/lib/ogsf and run 'make'.</font></div><div><br></div><div><div>gcc -I/usr/local/src/grass64_release/dist./include -g -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/include/gdal -DPACKAGE=\""grasslibs"\" -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libswscale -I/usr/local/src/grass64_release/dist./include -o OBJ./gsd_img_mpeg.o -c gsd_img_mpeg.c</div>
<div>gsd_img_mpeg.c: In function ‘add_video_stream’:</div><div>gsd_img_mpeg.c:69:21: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)</div><div>gsd_img_mpeg.c:69:21: note: each undeclared identifier is reported only once for each function it appears in</div>
<div>gsd_img_mpeg.c: In function ‘open_video’:</div><div>gsd_img_mpeg.c:161:5: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3650) [-Wdeprecated-declarations]</div><div>gsd_img_mpeg.c: In function ‘write_video_frame’:</div>
<div>gsd_img_mpeg.c:218:15: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)</div><div>gsd_img_mpeg.c: In function ‘gsd_init_mpeg’:</div><div>gsd_img_mpeg.c:304:9: warning: assignment makes pointer from integer without a cast [enabled by default]</div>
<div>gsd_img_mpeg.c:307:6: warning: assignment makes pointer from integer without a cast [enabled by default]</div><div>gsd_img_mpeg.c:315:8: warning: assignment makes pointer from integer without a cast [enabled by default]</div>
<div>gsd_img_mpeg.c:336:5: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1363) [-Wdeprecated-declarations]</div><div>gsd_img_mpeg.c:341:5: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1485) [-Wdeprecated-declarations]</div>
<div>gsd_img_mpeg.c:350:2: warning: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]</div><div>gsd_img_mpeg.c:357:5: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1421) [-Wdeprecated-declarations]</div>
<div>gsd_img_mpeg.c: In function ‘gsd_close_mpeg’:</div><div>gsd_img_mpeg.c:442:2: warning: ‘url_fclose’ is deprecated (declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]</div><div>make: *** [OBJ./gsd_img_mpeg.o] Error 1</div>
</div><div><br></div><div><font size="4">I went to /usr/local/src/grass64_release/lib/nviz and run 'make'.</font></div><div><br></div><div><div>gcc -shared -o /usr/local/src/grass64_release/dist./lib/<a href="http://libgrass_nviz.6.4.3svn.so">libgrass_nviz.6.4.3svn.so</a> -L/usr/local/src/grass64_release/dist./lib -Wl,--export-dynamic -L/usr/lib64 -Wl,-rpath-link,/usr/local/src/grass64_release/dist./lib OBJ./change_view.o OBJ./cplanes_obj.o OBJ./draw.o OBJ./exag.o OBJ./lights.o OBJ./map_obj.o OBJ./nviz.o OBJ./position.o OBJ./render.o -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_bitmap.6.4.3svn -lgrass_linkm.6.4.3svn -lgrass_vect.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dgl.6.4.3svn -lgrass_dig2.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_rtree.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_linkm.6.4.3svn -lgrass_rtree.6.4.3svn -lgrass_dig2.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_rtree.6.4.3svn -lgrass_dgl.6.4.3svn -lgrass_rtree.6.4.3svn -lgrass_linkm.6.4.3svn -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -L/usr/lib -lgdal1.7.0 -lgeos_c -ltiff -lavutil -lavcodec -lavformat -lgrass_sites.6.4.3svn -lgrass_datetime.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_vect.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dgl.6.4.3svn -lgrass_dig2.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_rtree.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_linkm.6.4.3svn -lgrass_rtree.6.4.3svn -lgrass_g3d.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_ogsf.6.4.3svn -lgrass_bitmap.6.4.3svn -lgrass_linkm.6.4.3svn -lgrass_g3d.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_sites.6.4.3svn -lgrass_datetime.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_vect.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dgl.6.4.3svn -lgrass_dig2.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_rtree.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_linkm.6.4.3svn -lgrass_rtree.6.4.3svn -lgrass_vect.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_dgl.6.4.3svn -lgrass_dig2.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_rtree.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_linkm.6.4.3svn -lgrass_rtree.6.4.3svn -lm -lSM -lICE -lX11 -L/usr/include/GL -lGL -L/usr/include/GL -lGLU </div>
<div>/usr/bin/ld: cannot find -lgrass_ogsf.6.4.3svn</div><div>collect2: ld returned 1 exit status</div><div>make: *** [/usr/local/src/grass64_release/dist./lib/<a href="http://libgrass_nviz.6.4.3svn.so">libgrass_nviz.6.4.3svn.so</a>] Error 1</div>
</div><div><br></div><div><br></div><div>I don't know how to deal with these errors. Is there anyone can help me? Thank you so much.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
</div>