[FFmpeg-user] Compiling on OSX from scratch: error: use of undeclared identifier 'O_SEQUENTIAL'

Peter Rennert mailinglists at rennert.io
Mon Sep 7 16:21:57 CEST 2015


On 7 Sep 2015, at 15:13, Moritz Barsnick <barsnick at gmx.net <mailto:barsnick at gmx.net>> wrote:
> 
> On Mon, Sep 07, 2015 at 14:06:37 +0000, Carl Eugen Hoyos wrote:
>> Peter Rennert <mailinglists <at> rennert.io> writes:
>> 
>>> libavformat/file.c:190:29: error: 
>>> use of undeclared identifier 'O_SEQUENTIAL'
>>>        access = O_RDONLY | O_SEQUENTIAL;
> 
>> This line does not exist in my sources, line 190 
>> of libavformat/file.c shows the following here:
>>    return AVERROR(ENOSYS);
> 
> Could be related to what is line 214 now:
> https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/file.c#L214 <https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/file.c#L214>
> 
>  access = O_RDONLY;
> 
> But git blame claims that line has never changed since this file
> exists.
> 
> Where does homebrew get these sources????? Does it patch them? Why are
> there instructions on the Wiki which do _not_ use git HEAD?
> 
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Thanks for your help. Totally my fault. I cloned blindly from the ffmpeg git repository on github, rather than from ffmpeg.org <http://ffmpeg.org/>. I think I just typed “ffmpeg git” in google and went for the first link in the list. Compiling now from the ffmpeg.org <http://ffmpeg.org/> repository and it seems to work (at least it has not stopped compiling yet).

Peter


More information about the ffmpeg-user mailing list