[MPlayer-users] Problem compiling mPlayer from svn.

Krzysztof Duchnowski amidk75 at gmail.com
Sun Oct 14 05:11:37 CEST 2012


On 13.10.2012 19:04, Carl Eugen Hoyos wrote:
> 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).
> 
> (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.)


Yes, it works:
--- mplayer/configure
+++ mplayer/configure.new
@@ -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


-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.getfirefox.net/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/


More information about the MPlayer-users mailing list