[Mplayer-users] 0.18pre4 released with native divx codec :) Can't compile.

Leandro Lucarella luca at lucarella.com.ar
Fri Jul 6 17:44:23 CEST 2001


El Fri, 6 Jul 2001 05:42:42 +0200 (CEST) Arpi <arpi at thot.banki.hu> escribió:

Hi, I've downlaoded ffmpeg-0.4.3 and copied libavcodec and libav into main
mplayer dir. I make the libavcodec and libav and tried to make the mplayer.
I'm updated my mplayer sources today from the cvs (codecs.conf has the
ffmpeg codecs).
First I had this error:

gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -Iloader -Ilibvo  -I/usr/local/include  -o mplayer.o mplayer.c
In file included from libavcodec/avcodec.h:1,
                 from mplayer.c:69:
libavcodec/common.h:5: redefinition of `UINT16'
loader/wine/windef.h:363: `UINT16' previously declared here
libavcodec/common.h:9: redefinition of `INT16'
loader/wine/windef.h:362: `INT16' previously declared here
mplayer.c: In function `main':
mplayer.c:1309: warning: assignment makes pointer from integer without a cast
make: *** [mplayer.o] Error 1

I've eddited libavcodec/common.h and deleted the repeatd definitions. Then
I have this error:

gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -Iloader -Ilibvo  -I/usr/local/include  -o mplayer mplayer.o find_sub.o aviprint.o dll_init.o dec_audio.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o demux_mpg.o demuxer.o stream.o codec-cfg.o subreader.o linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o    -Lmp3lib -lMP3 -Llibac3 -lac3   -lm -ltermcap -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -Llibavcodec -lavcodec -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore -Llibao2 -lao2 -Llibvo -lvo -L/usr/X11R6/lib -L/usr/local/lib -lGL -lggi -L/usr/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm  -lpng -lz  -lnsl  -Lencore -lencore -lrt -ldl -lpthread
mplayer.o: In function `main':
mplayer.o(.text+0x275d): undefined reference to `avcodec_find_decoder_by_name'collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Any ideas???

I'm on a Debian GNU/Linux Sid/Duron 800MHz.

--
LUCA - Leandro Lucarella
------------------------
luca at lucarella.com.ar
http://www.luca.2y.net
LICQ UIN: 2847576
------------------------
Usando Debian GNU/Linux


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list