DISQUS

Encoded: Installing FFMPEG on CentOS 5

  • aharwood · 1 year ago
    WHen I try to compile I get the following error:

    In file included from libavdevice/v4l.c:32:
    /usr/include/linux/videodev.h:56: error: syntax error before "ulong"
    /usr/include/linux/videodev.h:72: error: syntax error before '}' token
    libavdevice/v4l.c: In function `grab_read_header':
    libavdevice/v4l.c:77: error: storage size of 'tuner' isn't known
    libavdevice/v4l.c:141: error: invalid application of `sizeof' to incomplete type `video_tuner'
    libavdevice/v4l.c:148: error: invalid application of `sizeof' to incomplete type `video_tuner'
    libavdevice/v4l.c:77: warning: unused variable `tuner'
    make: *** [libavdevice/v4l.o] Error 1



    Do you have any idea what the problem is?
  • retry · 1 year ago
    I get the EXACT same error on Centos 4.6
  • retry · 1 year ago
    So I decided to export an arbitrary revision number (14000), and it worked!

    So somewhere between 14000 and 15290 (HEAD as of this writing) something got BORKED. But what can you expect from a project with no stable releases?
  • gregory · 1 year ago
    @ retry

    you might try checking this post: http://gregorytomlinson.com/encoded/2008/06/11/...

    Some of this has been discussed there
  • retry · 1 year ago
    Yeah but my problem wasn't related to trying to get extra codecs working. It's an error in some device code in the core ffmpeg. I was getting that error with a vanilla configuration.
  • sean · 4 months ago
    commented out line 56 (ulong blah) and it compiled.

    can't tell you if it worked, though... and that's almost certainly the wrong way to fix it.