[MPlayer-cygwin] Current issues

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jan 30 16:45:05 CET 2007


Hello,
On Tue, Jan 30, 2007 at 03:07:59PM +0100, Diego Biurrun wrote:
> On Sat, Jan 06, 2007 at 02:38:30PM -0500, Erik Lunchpail wrote:
> > 
> > The second is failed checks after live555. In a nutshell live555 needs
> > to link against -lwsock32 in it's configure check, or it gets undefined
> > references and xvid, x264, nut, and mp3lame all fail afterwards. My
> > configure.log is here http://vayne.fdns.net/configure.log
> 
> Maybe you need to enable winsock2?  This adds -lws2_32 to the linker
> flags.  Does that solve your problem?

I have a patch in my local tree that was supposed to fix it, but since I
was told it didn't work I didn't propose it...
Check if it might be a good idea to apply anyway though.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 22063)
+++ configure	(working copy)
@@ -2841,6 +2852,18 @@
   _def_use_aton='#define USE_ATON 1'
 fi
 
+echocheck "network"
+# FIXME network check
+if test "$_network" = yes ; then
+  _def_network='#define MPLAYER_NETWORK 1'
+  _ld_extra="$_ld_extra $_ld_sock"
+  _inputmodules="network $_inputmodules"
+else
+  _noinputmodules="network $_noinputmodules"
+  _def_network='#undef MPLAYER_NETWORK'
+  _ftp=no
+fi
+echores "$_network"
 
 echocheck "inttypes.h (required)"
 cat > $TMPC << EOF
@@ -3891,9 +3914,9 @@
   for I in "" -L/usr/X11R6/lib -L/usr/lib/X11R6 -L/usr/X11/lib \
            -L/usr/lib32 -L/usr/openwin/lib -L/usr/X11R6/lib64 -L/usr/lib ; do
     if netbsd; then
-      _ld_tmp="$I -lXext -lX11 $_ld_sock $_ld_pthread -Wl,-R`echo $I | sed s/^-L//`"
+      _ld_tmp="$I -lXext -lX11 $_ld_pthread -Wl,-R`echo $I | sed s/^-L//`"
     else
-      _ld_tmp="$I -lXext -lX11 $_ld_sock $_ld_pthread"
+      _ld_tmp="$I -lXext -lX11 $_ld_pthread"
     fi
     cc_check $_inc_x11 $_ld_tmp && _libs_mplayer="$_libs_mplayer $_ld_tmp" \
                       && _x11=yes && break
@@ -6866,19 +6902,6 @@
 echores "$_select"
 
 
-echocheck "network"
-# FIXME network check
-if test "$_network" = yes ; then
-  _def_network='#define MPLAYER_NETWORK 1'
-  _ld_extra="$_ld_extra $_ld_sock"
-  _inputmodules="network $_inputmodules"
-else
-  _noinputmodules="network $_noinputmodules"
-  _def_network='#undef MPLAYER_NETWORK'
-  _ftp=no
-fi
-echores "$_network"
-
 echocheck "ftp"
 if not beos && test "$_ftp" = yes ; then
   _def_ftp='#define HAVE_FTP 1'


More information about the MPlayer-cygwin mailing list