[MPlayer-users] Problem compiling mPlayer from svn.

Giorgio Vazzana mywing81 at gmail.com
Sun Oct 14 12:59:09 CEST 2012


2012/10/13 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Giorgio Vazzana <mywing81 <at> gmail.com> writes:
>
>> We have "-lvorbis -logg", but "-lvorbisenc" is missing
>
> Please test if exchanging '-lvorbis -logg' and
> '-lvorbis -lvorbisenc -logg' in line 6308 of configure
> helps (if yes, I will commit it).

Yes, I can confirm that with this patch:

Index: configure
===================================================================
--- configure	(revision 35246)
+++ configure	(working copy)
@@ -6305,7 +6305,7 @@
 fi
 if test "$_libvorbis" = auto; then
   _libvorbis=no
-  for vorbislibs in '-lvorbis -logg' '-lvorbis -lvorbisenc -logg' ; do
+  for vorbislibs in '-lvorbis -lvorbisenc -logg' '-lvorbis -logg' ; do
     statement_check vorbis/vorbisenc.h 'vorbis_encode_ctl(0, 0, 0);
ogg_stream_clear(0)' $vorbislibs && _libvorbis=yes && break
   done
 fi

it works okay.

> (But I still believe if you have multiple versions of
> libvorbis installed, you have to tell configure with
> extra-cflags and extra-ldflags which one you want to
> use.)

I suppose so, but I only have the version from the official Ubuntu
Lucid repository installed, so I did not test the case of multiple
libvorbis.

Thanks.
Giorgio Vazzana


More information about the MPlayer-users mailing list