[MPlayer-users] latest version of mplayer still failed to compile
Zongyao Qu
zongyao.qu at gmail.com
Thu Feb 16 03:46:50 CET 2012
in linking, the following error occurs.
Undefined symbols for architecture x86_64:
"_ff_prores_progressive_scan", referenced from:
_decode_frame in libavcodec.a(proresdec_lgpl.o)
"_ff_prores_interlaced_scan", referenced from:
_decode_frame in libavcodec.a(proresdec_lgpl.o)
"_ff_prores_dc_codebook", referenced from:
_decode_slice_plane in libavcodec.a(proresdec_lgpl.o)
"_ff_prores_lev_to_cb_index", referenced from:
_decode_slice_plane in libavcodec.a(proresdec_lgpl.o)
"_ff_prores_run_to_cb_index", referenced from:
_decode_slice_plane in libavcodec.a(proresdec_lgpl.o)
"_ff_prores_ac_codebook", referenced from:
_decode_slice_plane in libavcodec.a(proresdec_lgpl.o)
ld: symbol(s) not found for architecture x86_64
dig a little bit, I found there is something missing in the
Makefile in /ffmpeg/libavcodec/
since it is a really tiny missing, I post the patch here.
----------------
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 183b6c1..3866f2e 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -330,7 +330,7 @@ OBJS-$(CONFIG_PNG_ENCODER) += png.o
pngenc.o
OBJS-$(CONFIG_PPM_DECODER) += pnmdec.o pnm.o
OBJS-$(CONFIG_PPM_ENCODER) += pnmenc.o pnm.o
OBJS-$(CONFIG_PRORES_DECODER) += proresdec2.o
-OBJS-$(CONFIG_PRORES_LGPL_DECODER) += proresdec_lgpl.o proresdsp.o
+OBJS-$(CONFIG_PRORES_LGPL_DECODER) += proresdec_lgpl.o proresdsp.o
proresdata.o
OBJS-$(CONFIG_PRORES_ENCODER) += proresenc_anatoliy.o
OBJS-$(CONFIG_PRORES_ANATOLIY_ENCODER) += proresenc_anatoliy.o
OBJS-$(CONFIG_PRORES_KOSTYA_ENCODER) += proresenc_kostya.o
proresdata.o proresdsp.o
More information about the MPlayer-users
mailing list