<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <span style="color: rgb(0, 0, 0); font-family: monospace; font-size:
      11px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 13px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: pre; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255); display: inline !important; float: none;">Hi,<br>
      <br>
      I'm tring to build grass7 with support for ffmpeg<br>
      I built ffmpeg from its git repository using this guide :<br>
      <br>
    </span><br>
    <span style="color: rgb(0, 0, 0); font-family: monospace; font-size:
      11px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 13px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: pre; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255); display: inline !important; float: none;">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a
        href="http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide">http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide</a><br>
      <br>
      building grass i got error in OGSF, do you know how can i fix this
      ?<br>
      perhaps the ffmpeg version i'm using had an api change (is too
      recent)<br>
      thanks a lot for any help!<br>
      <br>
      log : <br>
      <br>
      epi@epinux:~/dev/grass7_trunk$ cd
      /home/epi/dev/grass7_trunk/lib/ogsf
      epi@epinux:~/dev/grass7_trunk/lib/ogsf$ make gcc -g -O2 -fPIC
      -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
      -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
      -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grasslibs"\"
      -I/usr/include/postgresql -I/usr/local/include/libavcodec
      -I/usr/local/include/libavdevice -I/usr/local/include/libavfilter
      -I/usr/local/include/libavformat -I/usr/local/include/libavutil
      -I/usr/local/include/libswresample -I/usr/local/include/libswscale
      -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
      -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
      -o OBJ.x86_64-unknown-linux-gnu/GK2.o -c GK2.c In file included
      from /usr/include/x86_64-linux-gnu/sys/stat.h:106:0, from
      /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/gis.h:64,


      from
      /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gis.h:577,


      from GK2.c:21: /usr/include/x86_64-linux-gnu/bits/stat.h:91:21:
      error: field ‘st_atim’ has incomplete type struct timespec
      st_atim; /* Time of last access. */ ^
      /usr/include/x86_64-linux-gnu/bits/stat.h:92:21: error: field
      ‘st_mtim’ has incomplete type struct timespec st_mtim; /* Time of
      last modification. */ ^
      /usr/include/x86_64-linux-gnu/bits/stat.h:93:21: error: field
      ‘st_ctim’ has incomplete type struct timespec st_ctim; /* Time of
      last status change. */ ^ In file included from
      /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/gis.h:64:0,


      from
      /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gis.h:577,


      from GK2.c:21: /usr/include/x86_64-linux-gnu/sys/stat.h:366:31:
      error: array type has incomplete element type const struct
      timespec __times[2], ^
      /usr/include/x86_64-linux-gnu/sys/stat.h:373:54: error: array type
      has incomplete element type extern int futimens (int __fd, const
      struct timespec __times[2]) __THROW; ^ make: ***
      [OBJ.x86_64-unknown-linux-gnu/GK2.o] Error 1
      epi@epinux:~/dev/grass7_trunk/lib/ogsf$ </span>
  </body>
</html>