[Libav-user] Link error of static libavcodec: libavcodec/eac3_core_bsf.c:39: undefined reference to `ff_ac3_parse_header'
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Jun 13 13:07:15 EEST 2018
2018-06-12 5:19 GMT+02:00, nurupo <nurupocontributions at gmail.com>:
> I have built a static libavcodec and I'm trying to link it to an
> application. I'm cross-compiling to Windows using mingw32-w64. When linking
> the static libavcodec to my application I get the following errors:
>
> /root/prefix/lib/libavcodec.a(eac3_core_bsf.o): In function
> `eac3_core_filter':
> /root/ffmpeg-4.0/libavcodec/eac3_core_bsf.c:39: undefined reference to
> `ff_ac3_parse_header'
> /root/ffmpeg-4.0/libavcodec/eac3_core_bsf.c:55: undefined reference to
> `ff_ac3_parse_header'
As said, work-arounds include "--disable-bsf=eac3_core", "--disable-bsfs"
and "--enable-parser=ac3".
Should be fixed, thank you for the report!
Carl Eugen
More information about the Libav-user
mailing list