[MPlayer-users] Multiple undefined reference, I don't know what to do.

RokleToR FuRy rokletor at gmail.com
Tue Sep 19 22:27:23 CEST 2006


On 9/19/06, RC <rcooley at spamcop.net> wrote:
> On Mon, 18 Sep 2006 18:51:35 -0400
> "RokleToR FuRy" <rokletor at gmail.com> wrote:
>
> > mplayer.o:(.data+0x4e4): undefined reference to `tv_param_alsa'
> > mplayer.o:(.data+0x2618): undefined reference to `rtspStreamOverTCP'
> > mplayer.o:(.data+0x263c): undefined reference to `rtsp_port'
> > libavcodec/libavcodec.a(mpegvideo.o): In function `write_slice_end':
> > mpegvideo.c:(.text+0x97a8): undefined reference to `ff_mpeg4_stuffing'
> > mpegvideo.c:(.text+0x97c2): undefined reference to
> > `ff_mpeg4_merge_partitions' libavcodec/libavcodec.a(mpegvideo.o): In
> > function `MPV_encode_init': mpegvideo.c:(.text+0xd5ae): undefined
> > reference to `ff_h263_chroma_qscale_table' mpegvideo.c:(.text+0xd6e2):
> > undefined reference to `ff_mpeg4_default_intra_matrix'
> > mpegvideo.c:(.text+0xd6f2): undefined reference to
> > `ff_mpeg4_default_non_intra_matrix'
>
> You've got a lot of problems in a lot of seemingly unrelated code.
>
> I'd suggest running "make distclean", Then check to make sure your
> system's clock is set to the proper date, and try configuring and
> compiling again.
>
> If that doesn't work, it would help if you could include more of the
> output of configure and make.

Yes!!!!!! :-D. I made "make distclean" and works ;-D. I'm very
contented.  The steps to solve the problem are:

1. Execute 'make distclean'.

2. When configuring:

Note: I compiled codec of Xvid separately. Download:
http://www.xvid.org/downloads.html.

./configure --enable-gui --enable-largefiles
--with-codecsdir=/usr/local/lib/codecs/
--with-win32libdir=/usr/local/lib/codecs/
--with-xvidlibdir=/usr/local/lib/
--with-xvidincdir=/usr/local/include/

3. 'make'.
4. Like root: 'make install'.

To add a customized font. Create a simlink:
5. ln -s /usr/share/fonts/truetype/dustin/Wargames.ttf ~/.mplayer/subfont.ttf

More information: http://www.mplayerhq.hu/DOCS/HTML/es/subosd.html and
the great guide of Death Master 'Compiling Mplayer'.
(http://www.death-master.tk/).

Thank you very much to help me, The Wandered, RC and Nico Sabbi. :-D.
List nice!!

Greetings.



More information about the MPlayer-users mailing list