[FFmpeg-user] duplicate symbol

Reindl Harald h.reindl at thelounge.net
Tue Oct 9 16:21:08 EEST 2018


http://www.catb.org/esr/faqs/smart-questions.html#beprecise

Am 09.10.18 um 14:56 schrieb 桃源老師:
> Hello list member, 
> 
> I’m now trying to build static ffmpeg on macOS Mojave 10.14.
> 
> Then I got the following "duplicate symbol” error at linking.
> 
> How can I fix it???   Please help me!!
> 
> 
> CC	fftools/ffmpeg_videotoolbox.o
> LD	ffmpeg_g
> duplicate symbol _get_rdmult_delta in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encodeframe.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encodeframe.c.o)
> duplicate symbol _init_tpl_stats in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _init_gop_frames in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _get_quantize_error in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _round_floor in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _mc_flow_dispenser in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _motion_compensated_prediction in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _mode_estimation in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _wht_fwd_txfm in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _tpl_model_update in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _tpl_model_store in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _tpl_model_update_b in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> duplicate symbol _get_overlap_area in:
>     /Volumes/ffmpeg_compile/lib/libaom.a(encoder.c.o)
>     /Volumes/ffmpeg_compile/lib/libvpx.a(vp9_encoder.c.o)
> ld: 13 duplicate symbols for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [ffmpeg_g] Error 1


More information about the ffmpeg-user mailing list