[MPlayer-users] mencoder: undefined reference to `ff_MPV_motion'

Mark Guptill compguy284 at yahoo.com
Thu Aug 9 23:00:55 CEST 2012


On Aug 9, 2012, at 3:59 PM, Ron Johnson wrote:

> Hi,
> 
> While trying to build from svn, I get this error building mencoder:
> cc -o mencoder mencoder.o parser-mecmd.o xvid_vbr.o libmpcodecs/ae.o libmpcodecs/ae_pcm.o libmpcodecs/ve.o libmpcodecs/ve_raw.o
> [snip]
> -logg -lmpg123 -la52 -ldca -lfaad -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -lstdc++ -lrtmp -lopencore-amrnb -lopencore-amrwb -ldv -lxvidcore -ldirac_encoder -ldirac_decoder -lstdc++   -lschroedinger-1.0   -lvpx -lvstream-client -lpthread -ldl -rdynamic -L/usr/lib/x86_64-linux-gnu -lm   -ltwolame -lfaac -lx264 -lpthread -lmp3lame
> ffmpeg/libavcodec/libavcodec.a(mpegvideo.o): In function `ff_MPV_decode_mb':
> mpegvideo.c:(.text+0x9e2d): undefined reference to `ff_MPV_motion'
> mpegvideo.c:(.text+0xa4b0): undefined reference to `ff_MPV_motion'
> mpegvideo.c:(.text+0xc11d): undefined reference to `ff_MPV_motion'
> mpegvideo.c:(.text+0xc15e): undefined reference to `ff_MPV_motion'
> ffmpeg/libavcodec/libavcodec.a(mpegvideo_enc.o): In function `encode_mb_hq.isra.6':
> mpegvideo_enc.c:(.text+0x5452): undefined reference to `ff_MPV_motion'
> ffmpeg/libavcodec/libavcodec.a(mpegvideo_enc.o):mpegvideo_enc.c:(.text+0x54a1): more undefined references to `ff_MPV_motion' follow
> collect2: ld returned 1 exit status
> make: *** [mencoder] Error 1
> 
> 
> -- 
> If adults of legally sound mind must be told what foods they
> are not allowed to buy, then those people are not competent
> to choose (i.e. vote for) their own leaders.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

The attached patch fixes this for me. I know the first change is needed, I'm not sure about the second one.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegvideo.patch
Type: application/octet-stream
Size: 552 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20120809/8d57e41e/attachment.obj>


More information about the MPlayer-users mailing list