[FFmpeg-user] Compiling failure

Alexandre Schenberg ale.schenberg at gmail.com
Fri Jul 6 02:12:32 CEST 2012


Yes, my make verson is 3.80.
I tried make V=1. I started to compile, but after a few seconds it showed:

"In file included from libavdevice/v4l.c:40:
/usr/include/linux/videodev.h:55: error: syntax error before "ulong"
/usr/include/linux/videodev.h:71: error: syntax error before '}' token
libavdevice/v4l.c: In function `grab_read_header':
libavdevice/v4l.c:84: error: storage size of `tuner' isn't known
libavdevice/v4l.c:92: warning: `time_base' is deprecated (declared at
libavformat/avformat.h:350)
libavdevice/v4l.c:93: warning: `time_base' is deprecated (declared at
libavformat/avformat.h:350)
libavdevice/v4l.c:96: warning: `time_base' is deprecated (declared at
libavformat/avformat.h:350)
libavdevice/v4l.c:98: warning: `width' is deprecated (declared at
libavformat/avformat.h:353)
libavdevice/v4l.c:99: warning: `height' is deprecated (declared at
libavformat/avformat.h:354)
libavdevice/v4l.c:136: warning: `pix_fmt' is deprecated (declared at
libavformat/avformat.h:355)
libavdevice/v4l.c:144: error: invalid application of `sizeof' to an
incomplete type
libavdevice/v4l.c:146: error: invalid application of `sizeof' to an
incomplete type
libavdevice/v4l.c:84: warning: unused variable `tuner'
make: *** [libavdevice/v4l.o] Error 1"

Any possible solution? Anyway, time to get a newer make, right?


2012/7/5, Mike Scheutzow <mike.scheutzow at alcatel-lucent.com>:
> Alexandre Schenberg wrote:
>> "common.mak:17: *** unterminated call to function `foreach': missing
>> `)'.  Stop."
>>
>> That it is the error message I receive, after entering "make"
>>
>> Any ideas?
>
> I vaguely remember that this is the error message you get when your
> version of gnu make is too old. ffmpeg requires 3.81 or later.
>
> In the past, this workaround worked:
>
> make V=1
>
> but I have no idea if it is still effective with current git. You'll
> save yourself a bunch of development pain by getting the more capable
> version of make.
>
>
> Mike Scheutzow
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list