Hi All,<br><br>tring to build grass-trunk on a ubuntu-11.10 64bit<br>i had this error in the osgf library :<br><br><br><br>epifanio@epinux:~/src/gis/grass/lib/ogsf$ make<br>gcc  -g -O2  -fPIC  -I/home/epifanio/src/gis/grass/dist.x86_64-unknown-linux-gnu/include -I/home/epifanio/src/gis/grass/dist.x86_64-unknown-linux-gnu/include  -D_FILE_OFFSET_BITS=64 -I/home/epifanio/dev/local/include -I/usr/include  -DPACKAGE=\&quot;&quot;grasslibs&quot;\&quot;     -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libavutil -I/usr/include/libswscale -I/home/epifanio/src/gis/grass/dist.x86_64-unknown-linux-gnu/include -I/home/epifanio/src/gis/grass/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c<br>
gsd_img_mpeg.c: In function ‘add_video_stream’:<br>gsd_img_mpeg.c:69:21: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)<br>gsd_img_mpeg.c:69:21: note: each undeclared identifier is reported only once for each function it appears in<br>
gsd_img_mpeg.c: In function ‘write_video_frame’:<br>gsd_img_mpeg.c:218:15: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)<br>gsd_img_mpeg.c: In function ‘gsd_init_mpeg’:<br>gsd_img_mpeg.c:304:9: warning: assignment makes pointer from integer without a cast [enabled by default]<br>
gsd_img_mpeg.c:307:6: warning: assignment makes pointer from integer without a cast [enabled by default]<br>gsd_img_mpeg.c:315:8: warning: assignment makes pointer from integer without a cast [enabled by default]<br>gsd_img_mpeg.c:336:5: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1329) [-Wdeprecated-declarations]<br>
gsd_img_mpeg.c:341:5: warning: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1451) [-Wdeprecated-declarations]<br>gsd_img_mpeg.c:350:2: warning: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]<br>
gsd_img_mpeg.c:357:5: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1387) [-Wdeprecated-declarations]<br>gsd_img_mpeg.c: In function ‘gsd_close_mpeg’:<br>gsd_img_mpeg.c:442:2: warning: ‘url_fclose’ is deprecated (declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]<br>
make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1<br>epifanio@epinux:~/src/gis/grass/lib/ogsf$ <br><br><br>seems something is wrong or missed in my ffmpeg libs, have you any clue on how to fix it ?<br><br>thanks!<br>
<br>--Massimo.<br><br><br>