[MPlayer-users] CVS build issues

Mark Williams (MWP) mwp at internode.on.net
Tue Mar 30 16:52:25 CEST 2004


Hi all,

Im trying to build todays CVS of mplayer.

The first error i get is:

cc -c -I../libvo/ -I../../libvo -O4 -march=athlon-4 -mcpu=athlon-4 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -I../loader      -o demux_viv.o demux_viv.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
demux_viv.c:308:2: warning: #warning "Calculate PTS from picture header!"
demux_viv.c: In function `demux_open_vivo':
demux_viv.c:717: error: label at end of compound statement
make[1]: *** [demux_viv.o] Error 1
make[1]: Leaving directory
`/data/WD1200JB-1/new/linux/MPlayer-20040201/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

If i hack demux_viv.c and remove the offending code and continue, i then get:

./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o
playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o
m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o
libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a
libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a
osdep/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a
libaf/libaf.a libfaad2/libfaad2.a libdha/libdha.so vidix/libvidix.a
libmpdvdkit2/libmpdvdkit.a libmpflac/libmpflac.a
cc -I../libvo/ -I../../libvo -O4 -march=athlon-4 -mcpu=athlon-4 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -Ilibmpdemux -Iloader -Ilibvo           -o mplayer
mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o
asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o
parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a
libao2/libao2.a  vidix/libvidix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a   libaf/libaf.a libmpdemux/libmpdemux.a
input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
-lmpdvdkit libavcodec/libavcodec.a  -L/usr/local/mad-decoder/lib       -lpng -lz
-lz -ljpeg -lasound -ldl -lpthread       -lnsl       -Llibmpflac -lmpflac
libfaad2/libfaad2.a    -L/usr/local/mad-decoder/lib -lnsl
-lpthread -ldl    -lm
libvo/libvo.a(osd.o)(.text+0x6d): In function `vo_draw_alpha_yv12':
: undefined reference to `bFF'
libvo/libvo.a(osd.o)(.text+0x126): In function `vo_draw_alpha_yuy2':
: undefined reference to `bFF'
libvo/libvo.a(osd.o)(.text+0x2b1): In function `vo_draw_alpha_rgb32':
: undefined reference to `bFF'
mp3lib/libMP3.a(decode_i586.o)(.text+0x21): In function `synth_1to1_pent':
: undefined reference to `bo'
mp3lib/libMP3.a(decode_i586.o)(.text+0x31): In function `synth_1to1_pent':
: undefined reference to `bo'
mp3lib/libMP3.a(decode_MMX.o)(.text+0x10b): In function `synth_1to1_MMX_s':
: undefined reference to `one_null'
mp3lib/libMP3.a(decode_MMX.o)(.text+0x112): In function `synth_1to1_MMX_s':
: undefined reference to `null_one'
mp3lib/libMP3.a(decode_MMX.o)(.text+0x217): In function `.next_loop':
: undefined reference to `one_null'
mp3lib/libMP3.a(decode_MMX.o)(.text+0x21e): In function `.next_loop':
: undefined reference to `null_one'
mp3lib/libMP3.a(tabinit_MMX.o)(.text+0x46): In function
`make_decode_tables_MMX':
: undefined reference to `intwindiv'
mp3lib/libMP3.a(dct64_3dnow.o)(.text+0x679): In function `dct64_MMX_3dnow':
: undefined reference to `plus_1f'
mp3lib/libMP3.a(dct64_k7.o)(.text+0x4d5): In function `dct64_MMX_3dnowex':
: undefined reference to `plus_1f'
liba52/liba52.a(resample.o)(.text+0x925): In function
`a52_resample_MONO_to_5_MMX':
: undefined reference to `magicF2W'
liba52/liba52.a(resample.o)(.text+0x92c): In function
`a52_resample_MONO_to_5_MMX':
: undefined reference to `wm1100'
liba52/liba52.a(resample.o)(.text+0x933): In function
`a52_resample_MONO_to_5_MMX':
: undefined reference to `wm0101'
liba52/liba52.a(resample.o)(.text+0x93a): In function
`a52_resample_MONO_to_5_MMX':
: undefined reference to `wm1010'
liba52/liba52.a(resample.o)(.text+0x9bc): In function
`a52_resample_STEREO_to_2_MMX':

.... and lots more

These exact same errors also occour with the CVS snapshot for the 1st of Feb.

Any ideas?


BTW... kernel is 2.4.6 and GCC is the latest.

Thanks.




More information about the MPlayer-users mailing list