[FFmpeg-user] make: *** [ffbuild/common.mak:67: libavfilter/vf_nnedi.o] Error 1
Hongyi Zhao
hongyi.zhao at gmail.com
Tue Jan 19 11:21:03 EET 2021
On Ubuntu 20.10, I try to compile the latest git master version of
ffmpeg as below:
# In the needed prerequisites and execute the following command:
$ sudo apt-get build-dep ffmpeg
$ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg.git
$ cd ffmpeg.git
$ ./configure --enable-rpath --enable-gpl --enable-version3
--enable-nonfree --enable-shared --enable-small --enable-gray
--enable-avresample --enable-avisynth --enable-chromaprint
--enable-frei0r --enable-gcrypt --enable-gmp --enable-ladspa
--enable-libaom --enable-libaribb24 --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcelt --enable-libcdio --enable-libcodec2
--enable-libdav1d --enable-libdc1394 --enable-libfdk-aac
--enable-libflite --enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-libgme --enable-libgsm
--enable-libiec61883 --enable-libjack --enable-libklvanc
--enable-liblensfun --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librabbitmq
--enable-librsvg --enable-librubberband --enable-librtmp
--enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libsrt --enable-libssh
--enable-libtesseract --enable-libtheora --enable-libtwolame
--enable-libv4l2 --enable-libvidstab --enable-libvmaf
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libdavs2 --enable-libxcb
--enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape
--enable-libxvid --enable-libxml2 --enable-libzmq
--enable-libzvbi --enable-lv2 --enable-libmysofa
--enable-openal --enable-opencl --enable-opengl
--enable-openssl --enable-pocketsphinx --enable-vulkan
--enable-libdrm --enable-libmfx --enable-pic --enable-thumb
--enable-lto --enable-hardcoded-tables --enable-extra-warnings
--enable-memory-poisoning --enable-ftrapv
--enable-neon-clobber-test --enable-xmm-clobber-test
--enable-random --enable-linux-perf --disable-avresample
$ make
[...]
libavfilter/vf_nnedi.c: At top level:
libavfilter/vf_nnedi.c:819:13: error: conflicting types for ‘read’
819 | static void read(float *dst, size_t n, const float **data)
| ^~~~
In file included from /usr/include/unistd.h:1183,
from ./libavutil/timer.h:35,
from ./libavutil/internal.h:42,
from ./libavutil/common.h:532,
from libavfilter/vf_nnedi.c:24:
/usr/include/x86_64-linux-gnu/bits/unistd.h:36:1: note: previous
definition of ‘read’ was here
36 | read (int __fd, void *__buf, size_t __nbytes)
| ^~~~
libavfilter/vf_nnedi.c: In function ‘subtract_mean_predictor’:
libavfilter/vf_nnedi.c:982:27: warning: comparison of integer
expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long
unsigned int’} [-Wsign-compare]
982 | for (int k = 0; k < filter_size; k++)
| ^
libavfilter/vf_nnedi.c:986:23: warning: comparison of integer
expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long
unsigned int’} [-Wsign-compare]
986 | for (int k = 0; k < filter_size; k++)
| ^
libavfilter/vf_nnedi.c:992:27: warning: comparison of integer
expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long
unsigned int’} [-Wsign-compare]
992 | for (int k = 0; k < filter_size; k++) {
| ^
libavfilter/vf_nnedi.c:1006:27: warning: comparison of integer
expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long
unsigned int’} [-Wsign-compare]
1006 | for (int k = 0; k < filter_size; k++) {
| ^
libavfilter/vf_nnedi.c:1011:23: warning: comparison of integer
expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long
unsigned int’} [-Wsign-compare]
1011 | for (int k = 0; k < filter_size; k++)
| ^
libavfilter/vf_nnedi.c:1016:30: warning: comparison of integer
expressions of different signedness: ‘unsigned int’ and ‘int’
[-Wsign-compare]
1016 | for (unsigned nn = 0; nn < nns; nn++) {
| ^
make: *** [ffbuild/common.mak:67: libavfilter/vf_nnedi.o] Error 1
Any hints for solving this problem are highly appreciated.
Regards,
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao at gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
More information about the ffmpeg-user
mailing list