[MPlayer-users] compilation aborted with shared libavcodec

Sylvain Petreolle spetreolle at yahoo.fr
Wed Sep 11 18:57:01 CEST 2002


Compiling mplayer wuth the cvs ffmpeg libavcodec installed currently
doesn't work.
I get duplicated definitions for the liba52 thing.
Wanted files for bugreport are in bugfiles.tgz.

Report of make :
./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o
cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o
asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o mixer.o
mp-opt-reg.o loader/libloader.a loader/dshow/libDS_Filter.a  
libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a
liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a
postproc/libpostproc.a input/libinput.a libvo/libvo.a libdha/libdha.so
vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a
gcc -W -Wall -O2 -march=athlon-xp -mcpu=athlon-xp -g3  -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader
-Ilibvo -I-I/usr/local/include -I/usr/local/include/dvdnav   
-I/usr/include/SDL -D_REENTRANT  -o mplayer mplayer.o mp_msg.o
cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o
playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o
mixer.o mp-opt-reg.o libvo/libvo.a  libmpcodecs/libmpcodecs.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a -lavcodec 
libmpdemux/libmpdemux.a input/libinput.a postproc/libpostproc.a
linux/libosdep.a loader/libloader.a loader/dshow/libDS_Filter.a  
-L/usr/lib -ldl -lartsc -lpthread      -Llibmpdvdkit2 -lmpdvdkit
-L/usr/local/lib -ldvdnav -ldvdread -lpthread  -ldivxdecore  -ltermcap 
-lnsl  -lz  -lpng -lz -ljpeg -lgif  -lpthread -ldl -rdynamic  -lm 
libao2/libao2.a -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga
-lXv -lXxf86vm -lXinerama  -lnsl    -L/usr/lib -Wl,-rpath,/usr/lib
-lSDL -lpthread -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga
-lXv -lXinerama -ldl  -laa   vidix/libvidix.a     
/usr/local/lib/libavcodec.a(parse.o): In function `a52_syncinfo':
/home/ffmpeg/libavcodec/liba52/parse.c:80: multiple definition of
`a52_syncinfo'
liba52/liba52.a(parse.o):/home/main/liba52/parse.c:71: first defined
here
/usr/bin/ld: Warning: size of symbol `a52_syncinfo' changed from 316 to
331 in /usr/local/lib/libavcodec.a(parse.o)
/usr/local/lib/libavcodec.a(parse.o): In function `a52_frame':
/home/ffmpeg/libavcodec/liba52/parse.c:125: multiple definition of
`a52_frame'
liba52/liba52.a(parse.o):/home/main/liba52/parse.c:116: first defined
here
/usr/bin/ld: Warning: size of symbol `a52_frame' changed from 737 to
1348 in /usr/local/lib/libavcodec.a(parse.o)
/usr/local/lib/libavcodec.a(parse.o): In function `a52_block':
/home/ffmpeg/libavcodec/liba52/parse.c:516: multiple definition of
`a52_block'
liba52/liba52.a(parse.o):/home/main/liba52/parse.c:494: first defined
here
/usr/bin/ld: Warning: size of symbol `a52_block' changed from 5761 to
6136 in /usr/local/lib/libavcodec.a(parse.o)
/usr/local/lib/libavcodec.a(parse.o): In function `a52_init':
/home/ffmpeg/libavcodec/liba52/parse.c:49: multiple definition of
`a52_init'
liba52/liba52.a(parse.o):/home/main/liba52/parse.c:52: first defined
here
/usr/bin/ld: Warning: size of symbol `a52_init' changed from 80 to 122
in /usr/local/lib/libavcodec.a(parse.o)
/usr/local/lib/libavcodec.a(parse.o): In function `a52_dynrng':
/home/ffmpeg/libavcodec/liba52/parse.c:197: multiple definition of
`a52_dynrng'
liba52/liba52.a(parse.o):/home/main/liba52/parse.c:185: first defined
here
collect2: ld returned 1 exit status
make: *** [mplayer] Erreur 1

System details:

============ Checking for kernel version ============
Result is: Linux snoop 2.4.18-10 #1 Wed Aug 7 10:26:48 EDT 2002 i686
unknown
##########################################

============ Checking for libc version ============
Result is: -rwxr-xr-x    2 root     root      1260480 aoû  7 19:09
/lib/libc-2.2.5.so
##########################################

============ Checking for X version ============
Result is: XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X
Window System (protocol Version 11, revision 0, vendor release 6600)
##########################################

============ Checking for gcc version ============
Result is: Lecture des spécification à partir de
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configuré avec: ./configure 
Modèle de thread: posix
version gcc 3.2
##########################################

============ Checking for ld version ============
Result is: GNU ld version 2.11.93.0.2 20020207
##########################################

============ Checking for binutils version ============
Result is: GNU assembler 2.11.93.0.2 20020207
##########################################

============ Checking for Hardware ============
============ Checking for CPU type ============
Result is: 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 6
model name	: AMD Athlon(tm) Processor
stepping	: 2
cpu MHz		: 1150.064
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips	: 2293.76
##########################################

============ Checking for videocard model ============
Result is: Geforce 2 MX
##########################################

============ Checking for videocard driver type ============
Result is: nvidia drivers
##########################################

============ Checking for soundcard type ============
Result is: Sb PCI 128 (linux es1371)
##########################################

============ Checking for distribution ============
Result is: RedHat 7.3
##########################################


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugfiles.tgz
Type: application/x-gzip
Size: 10654 bytes
Desc: bugfiles.tgz
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020911/ebbb3423/attachment.bin>


More information about the MPlayer-users mailing list