[GRASS-dev] build error in lib/ogsf

massimo di stefano massimodisasha at gmail.com
Fri Jul 22 02:45:39 EDT 2011


Hi All,

tring to build grass-trunk on a ubuntu-11.10 64bit
i had this error in the osgf library :



epifanio at epinux:~/src/gis/grass/lib/ogsf$ make
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=\""grasslibs"\"     -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
gsd_img_mpeg.c: In function ‘add_video_stream’:
gsd_img_mpeg.c:69:21: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in
this function)
gsd_img_mpeg.c:69:21: note: each undeclared identifier is reported only once
for each function it appears in
gsd_img_mpeg.c: In function ‘write_video_frame’:
gsd_img_mpeg.c:218:15: error: ‘PKT_FLAG_KEY’ undeclared (first use in this
function)
gsd_img_mpeg.c: In function ‘gsd_init_mpeg’:
gsd_img_mpeg.c:304:9: warning: assignment makes pointer from integer without
a cast [enabled by default]
gsd_img_mpeg.c:307:6: warning: assignment makes pointer from integer without
a cast [enabled by default]
gsd_img_mpeg.c:315:8: warning: assignment makes pointer from integer without
a cast [enabled by default]
gsd_img_mpeg.c:336:5: warning: ‘av_set_parameters’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1329) [-Wdeprecated-declarations]
gsd_img_mpeg.c:341:5: warning: ‘dump_format’ is deprecated (declared at
/usr/include/libavformat/avformat.h:1451) [-Wdeprecated-declarations]
gsd_img_mpeg.c:350:2: warning: ‘url_fopen’ is deprecated (declared at
/usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]
gsd_img_mpeg.c:357:5: warning: ‘av_write_header’ is deprecated (declared at
/usr/include/libavformat/avformat.h:1387) [-Wdeprecated-declarations]
gsd_img_mpeg.c: In function ‘gsd_close_mpeg’:
gsd_img_mpeg.c:442:2: warning: ‘url_fclose’ is deprecated (declared at
/usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]
make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1
epifanio at epinux:~/src/gis/grass/lib/ogsf$


seems something is wrong or missed in my ffmpeg libs, have you any clue on
how to fix it ?

thanks!

--Massimo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110722/d31702ca/attachment-0001.html


More information about the grass-dev mailing list