| Newsgroups |
gmane.linux.lfs.beyond.devel |
| Message-ID |
<[email protected]> |
Hi Devs,
Not sure if anyone has noticed, but despite the optional v4l-utils dependency mention in ffmpeg,
there is no mention of the required --enable-libv4l2 paramter for it.
Anyway, as the title says, the build fails:
CC libavdevice/xcbgrab.o
libavdevice/v4l2.c: In function ‘device_open’:
libavdevice/v4l2.c:141:17: error: assignment to ‘int (*)(int, long unsigned int, ...)’ from incompatible pointer type ‘int (*)(int, int, ...)’ [-Wincompatible-pointer-types]
141 | s->ioctl_f = prefix ## ioctl; \
| ^
libavdevice/v4l2.c:149:9: note: in expansion of macro ‘SET_WRAPPERS’
149 | SET_WRAPPERS(v4l2_);
| ^~~~~~~~~~~~
CC libavfilter/aeval.o
CC libavfilter/af_aap.o
CC libavfilter/af_acontrast.o
make: *** [ffbuild/common.mak:81: libavdevice/v4l2.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ./libavutil/common.h:48,
from ./libavutil/avutil.h:301,
from ./libavutil/opt.h:31,
from libavdevice/sdl2.c:31:
./config.h:336:9: warning: "HAVE_PTHREAD_SETNAME_NP" redefined
336 | #define HAVE_PTHREAD_SETNAME_NP 0
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/SDL2/SDL_stdinc.h:33,
from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:31,
from libavdevice/sdl2.c:26:
/usr/include/SDL2/SDL_config.h:209:9: note: this is the location of the previous definition
209 | #define HAVE_PTHREAD_SETNAME_NP 1
| ^~~~~~~~~~~~~~~~~~~~~~~
Regards,
Wayne.
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page