[MPlayer-users] Error compiling mplayer-cvs (linking libavcodec)?

* afe0108 at yahoo.com
Mon Jan 23 03:29:47 CET 2006


Hello, I haven't been able to compile mplayer cvs for about a month.
 This is using a gentoo ebuild, which checks out the current copy of cvs
 into a temp dir and compiles it from there.  The error seems to occur
 when linking libavcodec:
 
 libavcodec/libavcodec.a(mpeg12.o): In function `mpeg_decode_frame':
 mpeg12.c:(.text+0x8688): undefined reference to `av_reduce'
 mpeg12.c:(.text+0x86f5): undefined reference to `av_div_q'
 mpeg12.c:(.text+0x95d7): undefined reference to `av_d2q'
 libavcodec/libavcodec.a(h264.o): In function `decode_slice_header':
 h264.c:(.text+0x8ac5): undefined reference to `av_reduce'
 libavformat/libavformat.a(utils.o): In function `av_find_stream_info':
 utils.c:(.text+0x32e5): undefined reference to `av_reduce'
 utils.c:(.text+0x3345): undefined reference to `av_reduce'
 libavformat/libavformat.a(ffm.o): In function `ffm_write_header':
 ffm.c:(.text+0x531): undefined reference to `av_dbl2int'
 ffm.c:(.text+0x54c): undefined reference to `av_dbl2int'
 ffm.c:(.text+0x56a): undefined reference to `av_dbl2int'
 ffm.c:(.text+0x588): undefined reference to `av_dbl2int'
 ffm.c:(.text+0x666): undefined reference to `av_dbl2int'
 libavformat/libavformat.a(ffm.o): In function `ffm_read_header':
 ffm.c:(.text+0x123d): undefined reference to `av_int2dbl'
 ffm.c:(.text+0x1257): undefined reference to `av_int2dbl'
 ffm.c:(.text+0x126e): undefined reference to `av_int2dbl'
 ffm.c:(.text+0x1288): undefined reference to `av_int2dbl'
 ffm.c:(.text+0x1336): undefined reference to `av_int2dbl'
 libavformat/libavformat.a(yuv4mpeg.o): In function `yuv4_write_packet':
 yuv4mpeg.c:(.text+0xa2): undefined reference to `av_reduce'
 libavformat/libavformat.a(yuv4mpeg.o): In function `yuv4_read_header':
 yuv4mpeg.c:(.text+0x6c6): undefined reference to `av_reduce'
 libavformat/libavformat.a(4xm.o): In function `fourxm_read_header':
 4xm.c:(.text+0x507): undefined reference to `av_int2flt'
 libavformat/libavformat.a(flvdec.o): In function `flv_read_packet':
 flvdec.c:(.text+0x307): undefined reference to `av_int2dbl'
 flvdec.c:(.text+0x3c4): undefined reference to `av_int2dbl'
 libavformat/libavformat.a(matroska.o): In function `ebml_read_float':
 matroska.c:(.text+0x506): undefined reference to `av_int2flt'
 matroska.c:(.text+0x523): undefined reference to `av_int2dbl'
 collect2: ld returned 1 exit status
 make: *** [mplayer] Error 1
 
 !!! ERROR: media-video/mplayer-cvs-0.1-r7 failed.
 !!! Function src_compile, Line 473, Exitcode 2
 !!! Failed to build MPlayer!
 !!! If you need support, post the topmost build error, NOT this status message.
 
 I've browsed the last 2 months of messages but I guess I'm the only
 one...  Does the above indicate anything obvious?
 
 
			
---------------------------------
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.


More information about the MPlayer-users mailing list