[GRASS-dev] Error compiling grass6_devel

Markus Neteler neteler at osgeo.org
Mon Jan 12 02:43:46 EST 2009


On Mon, Jan 12, 2009 at 7:36 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Moskovitz, Bob wrote:
>
>> Today I tried to compile grass6_devel fresh from svn and got this problem:
>>
>> gcc -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include  -g -O2    -fPIC   -DPACKAGE=\""grasslibs"\" -I/usr/local/include     -DPACKAGE=\""grasslibs"\"    -I/usr/include/ffmpeg -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
>> In file included from gsd_img_mpeg.c:29:
>> /usr/include/ffmpeg/avformat.h:282: warning: �AVFrac� is deprecated
>> gsd_img_mpeg.c: In function �gsd_close_mpeg�:
>> gsd_img_mpeg.c:439: error: incompatible type for argument 1 of �url_fclose�
>> make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1
>
> At the bottom of lib/ogsf/gsd_img_mpeg.c, change the line:
>
>        url_fclose(&oc->pb);
> to:
>        url_fclose(oc->pb);
>
> This has been fixed in 7.0 in r35270, but not backported.

Are you sure?
http://trac.osgeo.org/grass/changeset/35273
http://trac.osgeo.org/grass/changeset/35272

(5 days ago)

Bob, perhaps you need to update from SVN?

Markus


More information about the grass-dev mailing list