[GRASS-user] error building recent grass-svn versions

Vincent Bain bain at toraval.fr
Mon Mar 4 09:30:39 PST 2013


Hi,

for some weeks now, when compiling grass64_release on my debian 64 bit
Squeeze, make encounters errors :

        Errors in:
        /usr/local/src/grass64_release/lib/ogsf
        /usr/local/src/grass64_release/lib/nviz
        /usr/local/src/grass64_release/misc/m.nviz.image
        /usr/local/src/grass64_release/visualization/nviz

Making little use of nviz, it is not an emergency but I'd like to fix it
now. I fear the problem has something to do with avformat libs.
I tried to cd to lib/ogsf, then make clean, then make. The following
error occurs :
        
        In file included from gsd_img_mpeg.c:28:
        /usr/include/libavformat/avformat.h:158: warning: ‘AVMetadata’
        is deprecated
        gsd_img_mpeg.c: In function ‘add_video_stream’:
        gsd_img_mpeg.c:64: warning: assignment makes pointer from
        integer without a cast
        gsd_img_mpeg.c: In function ‘gsd_init_mpeg’:
        gsd_img_mpeg.c:375: error: ‘AVIO_FLAG_WRITE’ undeclared (first
        use in this function)
        gsd_img_mpeg.c:375: error: (Each undeclared identifier is
        reported only once
        gsd_img_mpeg.c:375: error: for each function it appears in.)
        make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Erreur 1

The current version of libavformat-dev is 5:0.7.15-dmo1

Can anyone help me with this issue ? should I try to force a more recent
version of the lib, or is the problem somewhere else ?

Thank you,
Vincent



More information about the grass-user mailing list