[MPlayer-users] compilation issue

Larry Reznick lreznick at idistream.com
Thu Jun 7 16:01:55 CEST 2007


Matthew M. Austin wrote:
> (resending because I hadn't confirmed mailing list membership previously)
>
> Hi all,
>
> I'm having trouble compiling a fresh svn checkout.
>
> libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
> allcodecs.c:(.text+0x276): undefined reference to `libx264_encoder'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
> [maustin at zaftra mplayer]$ svn info
> Path: .
> URL: svn://svn.mplayerhq.hu/mplayer/trunk
> Repository Root: svn://svn.mplayerhq.hu/mplayer
> Repository UUID: b3059339-0415-0410-9bf9-f77b7e298cf2
> Revision: 23487
> Node Kind: directory
> Schedule: normal
> Last Changed Author: kraymer
> Last Changed Rev: 23487
> Last Changed Date: 2007-06-06 04:58:52 -0700 (Wed, 06 Jun 2007)
> Properties Last Updated: 2007-06-06 12:01:04 -0700 (Wed, 06 Jun 2007)
>
> I have x264 installed from a svn checkout also
>
> [maustin at zaftra x264]$ svn info
> Path: .
> URL: svn://svn.videolan.org/x264/trunk
> Repository Root: svn://svn.videolan.org/x264
> Repository UUID: df754926-b1dd-0310-bc7b-ec298dee348c
> Revision: 658
> Node Kind: directory
> Schedule: normal
> Last Changed Author: aizvorski
> Last Changed Rev: 658
> Last Changed Date: 2007-06-05 11:38:31 -0700 (Tue, 05 Jun 2007)
> Properties Last Updated: 2007-06-06 12:08:09 -0700 (Wed, 06 Jun 2007)
>

I had the same problem yesterday with the same revision number (23487). 
I, too, checked out a new version of x264, but that made no difference. 
However, I noticed that the configure.log said:

============ Checking for x264 ============
[...]
Result is: yes (in libavcodec: yes)

so the x264 library was recognized (1st "yes") and the libavencoders 
list was recognized (2nd "yes"). Therefore, the x264 installation wasn't 
the problem. Stumped at this & at the end of my day, I figured I'd just 
wait until the next day's update.

This morning, I ran an svn update, got 23491, ran make distclean and 
make. It compiled without complaint. Thanks to the team. Whatever was 
the problem is now gone.

--Larry



More information about the MPlayer-users mailing list