[MPlayer-users] MPlayer compile problem with Ubuntu x264-dev package

Diogo Franco diogomfranco at gmail.com
Mon Jun 9 16:08:43 CEST 2008


Em Seg, 2008-06-09 às 22:46 +0900, Masaru Nomiya escreveu:
> Hello,
> 
> Thank you for your reply.
> 
> In the Message; 
> 
>   Subject    : Re: [MPlayer-users] MPlayer compile problem with Ubuntu x264-dev package
>   Message-ID : <484D1EB2.8000304 at roalter.it>
>   Date & Time: Mon, 09 Jun 2008 14:14:42 +0200
> 
> [Alexander] == Alexander Roalter <alex at roalter.it> has written:
> 
> >> [...]
> >> L/usr/lib64 -lfribidi -lz -llzo2 -lmad -lspeex  -ltheora -logg   -ldts -lmpcdec  -lstdc++ -lamrnb -lamrwb -ldv -lxvidcore -lm -lnut -lpthread -ldl -rdynamic -llirc_client -L/usr/local/lib -ldvdnavmini -lpthread  -lm   
> >> mencoder.o: In function `main':
> >> mencoder.c:(.text+0x31ca): undefined reference to `dvdnav_sid_from_lang'
> >> mencoder.c:(.text+0x3623): undefined reference to `dvdnav_aid_from_lang'
> >> collect2: ld returned 1 exit status
> >> make: *** [mencoder] Error 1
> >> 
> >> Does this mean, "compile with the svn of libdvdnav"?
> 
> Alexander> It looks like it.
> 
> No, it doesn't.
> 
> Alexander> I currently wasn't able to compile a fresh checkout from libdvdnav
> Alexander> myself, as there's a lot of reworking done at the moment.
> 
> You did "svn up", didn't you?
> I did so.
> Now, I removed libdvdnav directorym and got the latest svn;
> 
>   svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
> 
> Oh, I could compile libdvdnav with ./configure2, and installed!
> 
> Then. I tried to cpmpile the latest svn of MPlayer, but I've got the same
> error;
> 
> [...]
> lirc_client -L/usr/local/lib -ldvdnavmini -lpthread  -lm   
> mencoder.o: In function `main':
> mencoder.c:(.text+0x31ca): undefined reference to `dvdnav_sid_from_lang'
> mencoder.c:(.text+0x3623): undefined reference to `dvdnav_aid_from_lang'
> collect2: ld returned 1 exit status
> make: *** [mencoder] Error 1
> 
> What's wrong with me, I wonder?
> 
> Regards,
> 
> ---
>   Masaru Nomiya       mail-to: nomiya @ galaxy.dti.ne.jp
> 
>           "Bill! You married with Computers.
>            Not with Me!"
>           "No..., with money."
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
That is a bug in mplayer's code. They changed some internal glue api to
dvdnav on mplayer.c and forgot to do it on mencoder.c. I attached a
patch to fix that. It will probably apply with a offset, but will do.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvdnav.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080609/4854c80c/attachment.bin>


More information about the MPlayer-users mailing list