[FFmpeg-devel] [PATCH 3/4] avcodec/Makefile: add missing h263data dependency to snow encoder

Lou Logan lou at lrcd.com
Tue Nov 5 21:35:47 EET 2019


Signed-off-by: Lou Logan <lou at lrcd.com>
---
Fixes:
--disable-everything --enable-encoder=snow
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `h263_get_motion_length':
ituh263enc.c:(.text+0x487): undefined reference to `ff_mvtab'
/usr/bin/ld: ituh263enc.c:(.text+0x4db): undefined reference to `ff_mvtab'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `get_p_cbp':
ituh263enc.c:(.text+0x63c): undefined reference to `ff_h263_inter_MCBPC_bits'
/usr/bin/ld: ituh263enc.c:(.text+0x6b5): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `ff_h263_aspect_to_info':
ituh263enc.c:(.text+0x8a1): undefined reference to `ff_h263_pixel_aspect'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `ff_h263_encode_picture_header':
ituh263enc.c:(.text+0xc34): undefined reference to `ff_h263_format'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `h263_encode_block':
ituh263enc.c:(.text+0x1733): undefined reference to `ff_h263_rl_inter'
/usr/bin/ld: ituh263enc.c:(.text+0x180b): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: ituh263enc.c:(.text+0x18f1): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: ituh263enc.c:(.text+0x1925): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: ituh263enc.c:(.text+0x1959): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: ituh263enc.c:(.text+0x19b7): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `ff_h263_encode_mb':
ituh263enc.c:(.text+0x1e80): undefined reference to `ff_h263_inter_MCBPC_code'
/usr/bin/ld: ituh263enc.c:(.text+0x1e93): undefined reference to `ff_h263_inter_MCBPC_bits'
/usr/bin/ld: ituh263enc.c:(.text+0x1ebb): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: ituh263enc.c:(.text+0x1ecf): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: ituh263enc.c:(.text+0x205a): undefined reference to `ff_h263_inter_MCBPC_code'
/usr/bin/ld: ituh263enc.c:(.text+0x2070): undefined reference to `ff_h263_inter_MCBPC_bits'
/usr/bin/ld: ituh263enc.c:(.text+0x2095): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: ituh263enc.c:(.text+0x20a9): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: ituh263enc.c:(.text+0x2519): undefined reference to `ff_h263_intra_MCBPC_code'
/usr/bin/ld: ituh263enc.c:(.text+0x252c): undefined reference to `ff_h263_intra_MCBPC_bits'
/usr/bin/ld: ituh263enc.c:(.text+0x258a): undefined reference to `ff_h263_inter_MCBPC_code'
/usr/bin/ld: ituh263enc.c:(.text+0x25a0): undefined reference to `ff_h263_inter_MCBPC_bits'
/usr/bin/ld: ituh263enc.c:(.text+0x25f5): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: ituh263enc.c:(.text+0x2609): undefined reference to `ff_h263_cbpy_tab'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `ff_h263_encode_motion':
ituh263enc.c:(.text+0x27d6): undefined reference to `ff_mvtab'
/usr/bin/ld: ituh263enc.c:(.text+0x27ea): undefined reference to `ff_mvtab'
/usr/bin/ld: ituh263enc.c:(.text+0x287e): undefined reference to `ff_mvtab'
/usr/bin/ld: ituh263enc.c:(.text+0x2899): undefined reference to `ff_mvtab'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `init_mv_penalty_and_fcode':
ituh263enc.c:(.text+0x2904): undefined reference to `ff_mvtab'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o):ituh263enc.c:(.text+0x294e): more undefined references to `ff_mvtab' follow
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `ff_h263_encode_init':
ituh263enc.c:(.text+0x2cd8): undefined reference to `ff_h263_static_rl_table_store'
/usr/bin/ld: ituh263enc.c:(.text+0x2ce2): undefined reference to `ff_h263_rl_inter'
/usr/bin/ld: ituh263enc.c:(.text+0x2cf1): undefined reference to `ff_h263_static_rl_table_store'
/usr/bin/ld: ituh263enc.c:(.text+0x2cff): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: ituh263enc.c:(.text+0x2d1a): undefined reference to `ff_rl_intra_aic'
/usr/bin/ld: ituh263enc.c:(.text+0x2d35): undefined reference to `ff_h263_rl_inter'
/usr/bin/ld: ituh263enc.c:(.text+0x2f14): undefined reference to `ff_aic_dc_scale_table'
/usr/bin/ld: libavcodec/libavcodec.a(ituh263enc.o): in function `ff_h263_encode_mba':
ituh263enc.c:(.text+0x2f87): undefined reference to `ff_mba_max'
/usr/bin/ld: ituh263enc.c:(.text+0x2fd5): undefined reference to `ff_mba_length'
---
 libavcodec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 6f06e16419..04e94f3f30 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -587,7 +587,7 @@ OBJS-$(CONFIG_SMC_DECODER)             += smc.o
 OBJS-$(CONFIG_SMVJPEG_DECODER)         += smvjpegdec.o
 OBJS-$(CONFIG_SNOW_DECODER)            += snowdec.o snow.o snow_dwt.o
 OBJS-$(CONFIG_SNOW_ENCODER)            += snowenc.o snow.o snow_dwt.o             \
-                                          h263.o ituh263enc.o
+                                          h263.o h263data.o ituh263enc.o
 OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
 OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
 OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
-- 
2.23.0



More information about the ffmpeg-devel mailing list