[MPlayer-users] cvs breaks liba52, indicative of a needed project policy change

Rob Prowel tempest766 at yahoo.com
Wed Jun 30 01:14:06 CEST 2004


ya know, this policy of asking users to check/use cvs
before reporting bugs, or to see if a bug is fixed in
cvs first, doesn't work well.  Too often previously
working functions get broken in cvs and I really don't
have the time or internet connection speed to
contribute bug testing labor that frequently.  I
suspect that I'm not alone in this frustration.

How about 1) keeping cvs to the developers, 2)
developers actually testing out their proposed fixes
themselves first, and 3) sending unified diff patches
(diff -u last_stable_release test_fix) to the reporter
of the bug instead of expecting general users to
absorb any and all changes that have been incorporated
into the latest unstable cvs version?  cvs releases
are traditionally just too unstable and it is really
too aggressive of a policy to ask the general users to
get involved to the point of bug testing cvs releases.

now, onto my specific problem...here's the make error

cc -I../libvo -I../../libvo -I/usr/X11/include -O4
-march=pentium3 -mcpu=pentium3 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -Ilibmpdemux -Iloader -Ilibvo
-I/usr/include/freetype2   -I/usr/local/include/SDL
-D_REENTRANT -I/usr/X11/include       -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
libmenu/libmenu.a vidix/libvidix.a 
libmpcodecs/libmpcodecs.a mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a
loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a
postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
-lmpdvdkit libavcodec/libavcodec.a   -lmad -lvorbis
-logg -ldv    -ldivxdecore -lmp3lame -lvorbis -logg
-lxvidcore -lm -lpng -lz -lz -ljpeg -lasound -ldl
-lpthread    -lfreetype  -lcdda_interface
-lcdda_paranoia -lnsl  -lungif  -lsmbclient   
libfaad2/libfaad2.a 
libavcodec/libpostproc/libpostproc.so  -laa -lGL
-lXxf86dga -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib
-lXext -lX11 -lnsl -lmad -lnsl -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -lSDL -lpthread    
-ldirectfb  -L/opt/kde3/lib -ldl -lartsc -lpthread
-L/usr/lib -lesd -laudiofile -lm     -llirc_client  
-lpthread -ldl -rdynamic   -lm
libavcodec/libavcodec.a(parse.o): In function
`a52_syncinfo':
/usr/home/rprowel/ffmpeg/libavcodec/liba52/parse.c:81:
multiple definition of `a52_syncinfo'
liba52/liba52.a(parse.o)(.text+0x0): first defined
here
/usr/bin/ld: Warning: size of symbol `a52_syncinfo'
changed from 318 to 330 in
libavcodec/libavcodec.a(parse.o)
libavcodec/libavcodec.a(parse.o): In function
`a52_frame':
/usr/home/rprowel/ffmpeg/libavcodec/liba52/parse.c:126:
multiple definition of `a52_frame'
liba52/liba52.a(parse.o)(.text+0x140): first defined
here
/usr/bin/ld: Warning: size of symbol `a52_frame'
changed from 759 to 1483 in
libavcodec/libavcodec.a(parse.o)
libavcodec/libavcodec.a(parse.o): In function
`a52_block':
/usr/home/rprowel/ffmpeg/libavcodec/liba52/parse.c:552:
multiple definition of `a52_block'
liba52/liba52.a(parse.o)(.text+0x440): first defined
here
/usr/bin/ld: Warning: size of symbol `a52_block'
changed from 6064 to 6338 in
libavcodec/libavcodec.a(parse.o)
libavcodec/libavcodec.a(parse.o): In function
`a52_init':
/usr/home/rprowel/ffmpeg/libavcodec/liba52/parse.c:48:
multiple definition of `a52_init'
liba52/liba52.a(parse.o)(.text+0x1bf0): first defined
here
/usr/bin/ld: Warning: size of symbol `a52_init'
changed from 119 to 130 in
libavcodec/libavcodec.a(parse.o)
libavcodec/libavcodec.a(parse.o): In function
`a52_dynrng':
/usr/home/rprowel/ffmpeg/libavcodec/liba52/parse.c:202:
multiple definition of `a52_dynrng'
liba52/liba52.a(parse.o)(.text+0x1c70): first defined
here
/usr/bin/ld: Warning: size of symbol `a52_dynrng'
changed from 37 to 38 in
libavcodec/libavcodec.a(parse.o)
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

I separately compile and install ffmpeg first,
enabling gpl code and creating dynamic loaded
libraries ...mplayer needs to better make use of
pre-installed versions of ffmpeg instead of
recompiling the libavcodecs when the so already
exists.  same goes for liba52.  why include a liba52
directory if the user already has installed liba52.so
from a different source?

-prowel






		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 




More information about the MPlayer-users mailing list