#11519 closed defect (fixed)

Undefined symbol: ff_init_float2half_tables from Commit 1eafbf820312d45b31907e16877ae780022598c4

Reported by: QFox Owned by: Timo Rothenpieler <timo@rothenpieler.org>
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Using the configuration below, I got link error

ld.lld: error: undefined symbol: ff_init_float2half_tables
    >>> referenced by libavcodec.a(exr.o):(decode_init)

After reverted commit 1eafbf820312d45b31907e16877ae780022598c4, the build would work.

/home/user/mpv-winbuild-cmake/src_packages/ffmpeg/configure 
   --cross-prefix=x86_64-w64-mingw32- 
   --prefix=/home/user/mpv-winbuild-cmake/build64/x86_64_v3-w64-mingw32 
   --arch=x86_64 
   --target-os=mingw32 
   --pkg-config-flags=--static 
   --nvccflags='-O3' 
   --disable-ptx-compression 
   --disable-filters 
   --enable-filter=scale2ref 
   --enable-filter=scale_cuda 
   --enable-filter=scale 
   --enable-filter=bwdif_cuda 
   --enable-filter=bwdif 
   --enable-filter=yadif_cuda 
   --enable-filter=yadif 
   --disable-muxers 
   --disable-encoders 
   --disable-debug 
   --disable-programs 
   --enable-cross-compile 
   --enable-runtime-cpudetect 
   --enable-hardcoded-tables 
   --enable-gpl 
   --enable-version3 
   --enable-postproc 
   --enable-avisynth 
   --enable-libass 
   --enable-libbluray 
   --enable-libdvdnav 
   --enable-libdvdread 
   --enable-libfreetype 
   --enable-libfribidi 
   --enable-libfontconfig 
   --enable-libharfbuzz 
   --enable-libmp3lame 
   --enable-lcms2 
   --enable-libopus 
   --enable-libsoxr 
   --enable-libvorbis 
   --enable-libvpx 
   --enable-libwebp 
   --enable-libx264 
   --enable-libx265 
   --enable-libsvtav1 
   --enable-libdav1d 
   --enable-libxvid 
   --enable-libzimg 
   --enable-openssl 
   --enable-libxml2 
   --enable-libmysofa 
   --enable-libssh 
   --enable-libsrt 
   --enable-libvpl 
   --enable-libplacebo 
   --enable-libshaderc 
   --enable-cuda-llvm
   --enable-cuvid
   --enable-nvdec
   --enable-nvenc 
   --enable-amf 
   --disable-doc 
   --disable-ffplay 
   --disable-ffprobe 
   --disable-vaapi 
   --disable-vdpau 
   --disable-videotoolbox 
   --disable-decoder=libaom_av1,aac_fixed,ac3_fixed 
   --extra-cflags='-Wno-error=int-conversion' 
   --extra-libs='-lc++'

Change History (1)

comment:1 by Timo Rothenpieler <timo@rothenpieler.org>, 18 months ago

Owner: set to Timo Rothenpieler <timo@rothenpieler.org>
Resolution: fixed
Status: newclosed

In d54afd4d/ffmpeg:

avcodec/Makefile: fix build of exr decoder in odd configs

Fixes #11519

Note: See TracTickets for help on using tickets.