Opened 3 months ago

Last modified 3 months ago

#70325 new defect

MPlayer build has multiple macros undefined

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: MPlayer

Description

While the build itself succeeds, multiple macros are reported as undefined, which is probably wrong:

libavutil/hwcontext.c:33:5: warning: "CONFIG_CUDA" is not defined
libavutil/hwcontext.c:36:5: warning: "CONFIG_D3D11VA" is not defined
libavutil/hwcontext.c:39:5: warning: "CONFIG_LIBDRM" is not defined
libavutil/hwcontext.c:45:5: warning: "CONFIG_OPENCL" is not defined
libavutil/hwcontext.c:57:5: warning: "CONFIG_VIDEOTOOLBOX" is not defined
libavutil/hwcontext.c:60:5: warning: "CONFIG_MEDIACODEC" is not defined
libavutil/hwcontext.c:63:5: warning: "CONFIG_VULKAN" is not defined
libavutil/log.c:50:5: warning: "HAVE_VALGRIND_VALGRIND_H" is not defined
libavutil/log.c:397:5: warning: "CONFIG_VALGRIND_BACKTRACE" is not defined
libavutil/random_seed.c:29:5: warning: "HAVE_BCRYPT" is not defined
libavutil/random_seed.c:124:5: warning: "HAVE_BCRYPT" is not defined
libavutil/random_seed.c:136:5: warning: "HAVE_ARC4RANDOM" is not defined
libavformat/file.c:26:5: warning: "HAVE_DIRENT_H" is not defined
libavformat/file.c:77:5: warning: "HAVE_DIRENT_H" is not defined
libavformat/file.c:144:5: warning: "HAVE_ACCESS" is not defined
libavformat/file.c:275:5: warning: "HAVE_LSTAT" is not defined
libavformat/file.c:290:5: warning: "HAVE_LSTAT" is not defined
libavformat/file.c:348:5: warning: "HAVE_LSTAT" is not defined
libavformat/hlsenc.c:30:5: warning: "CONFIG_GCRYPT" is not defined
libavformat/hlsenc.c:701:5: warning: "CONFIG_GCRYPT" is not defined
libavutil/time.c:58:5: warning: "HAVE_CLOCK_GETTIME" is not defined
libavutil/time.c:73:5: warning: "HAVE_CLOCK_GETTIME" is not defined
libavcodec/tiff.c:31:5: warning: "CONFIG_LZMA" is not defined
libavcodec/tiff.c:548:5: warning: "CONFIG_LZMA" is not defined
libavcodec/tiff.c:784:5: warning: "CONFIG_LZMA" is not defined
libavcodec/tiff.c:1336:5: warning: "CONFIG_LZMA" is not defined

Change History (1)

comment:1 Changed 3 months ago by jmroot (Joshua Root)

It's normal for config.h to not define HAVE_* when you do not have that feature.

Note: See TracTickets for help on using tickets.