[MPlayer-users] Fedora 37: make: *** [Makefile:744: ffmpeg/libavcodec/libavcodec.a] Error 2
Antonio Olivares
olivares14031 at yahoo.com
Wed Nov 16 16:50:38 EET 2022
Dear mplayer-users,
I have upgraded from Fedora 36 to Fedora 37 and I ran svn update on mplayer directory, ran ./configure, make distclean, reran ./configure, make and run into this error.
....
./libavutil/intmath.h:31:7: warning: "ARCH_RISCV" is not defined, evaluates to 0 [-Wundef]
31 | #elif ARCH_RISCV
| ^~~~~~~~~~
In file included from ./libavutil/intreadwrite.h:25,
from libavcodec/bytestream.h:31,
from libavcodec/notchlc.c:27:
./libavutil/bswap.h:43:7: warning: "ARCH_RISCV" is not defined, evaluates to 0 [-Wundef]
43 | #elif ARCH_RISCV
| ^~~~~~~~~~
In file included from ./libavutil/internal.h:43,
from ./libavutil/common.h:575:
./libavutil/timer.h:60:7: warning: "ARCH_RISCV" is not defined, evaluates to 0 [-Wundef]
60 | #elif ARCH_RISCV
| ^~~~~~~~~~
In file included from libavcodec/nvenc.c:25:
libavcodec/nvenc.h:31:10: fatal error: ffnvcodec/nvEncodeAPI.h: No such file or directory
31 | #include <ffnvcodec/nvEncodeAPI.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [ffbuild/common.mak:81: libavcodec/nvenc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./libavutil/common.h:88,
from libavcodec/nuv.c:25:
./libavutil/intmath.h:31:7: warning: "ARCH_RISCV" is not defined, evaluates to 0 [-Wundef]
31 | #elif ARCH_RISCV
| ^~~~~~~~~~
In file included from ./libavutil/internal.h:43,
from ./libavutil/common.h:575:
./libavutil/timer.h:60:7: warning: "ARCH_RISCV" is not defined, evaluates to 0 [-Wundef]
60 | #elif ARCH_RISCV
| ^~~~~~~~~~
In file included from ./libavutil/intreadwrite.h:25,
from libavcodec/nuv.c:26:
./libavutil/bswap.h:43:7: warning: "ARCH_RISCV" is not defined, evaluates to 0 [-Wundef]
43 | #elif ARCH_RISCV
| ^~~~~~~~~~
make[1]: Leaving directory '/home/olivares/Downloads/mplayer/ffmpeg'
make: *** [Makefile:744: ffmpeg/libavcodec/libavcodec.a] Error 2
Best Regards,
Antonio
More information about the MPlayer-users
mailing list