[FFmpeg-trac] #5868(build system:new): Cygwin64 build fails for ffserver.o
FFmpeg
trac at avcodec.org
Tue Sep 27 20:25:10 EEST 2016
#5868: Cygwin64 build fails for ffserver.o
-------------------------------------+-------------------------------------
Reporter: MDavis | Type: defect
Status: new | Priority: normal
Component: build | Version: git-
system | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
See http://fate.ffmpeg.org/history.cgi?slot=x86_64-win10-cygwin-gcc-5.4.0
Failing since revision N-81748-g47ea6f5, last checked on N-81780-g4a05d2e
{{{
% git reset --hard "origin/N-81748-g47ea6f5"
HEAD is now at 47ea6f5 lavd: drop SDL1 device and SDL1 support
% cd ../build
% ../src/configure --enable-gpl --enable-avresample
.....
% make
.....
src/ffserver.c: In function ‘main’:
src/ffserver.c:4003:5: error: implicit declaration of function ‘sigaction’
[-Werror=implicit-function-declaration]
sigaction(SIGCHLD, &sigact, 0);
^
cc1: some warnings being treated as errors
make: *** [/tmp/fate/build/src/common.mak:60: ffserver.o] Error 1
}}}
Fixed by using
{{{
% make CFLAGS="-Wno-error=implicit-function-declaration"
(build finishes normally)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5868>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list