[GRASS-dev] Error compiling grass6_devel

Glynn Clements glynn at gclements.plus.com
Mon Jan 12 10:01:22 EST 2009


Markus Neteler 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

My mistake. I assumed that he was having the problem the fix was meant
to address, but it's the opposite problem.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list