[MPlayer-users] Problem with changes to makefiles/configure & live555
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Dec 10 13:56:58 CET 2006
Hello,
On Sun, Dec 10, 2006 at 04:42:32AM -0800, Nicholas Schell wrote:
> above are obviously encoders and not related to mplayer building. Oh
> yes I am working on windows builds with mingw, hopefully that is not
> the issue :(.
It is in so far as the network functions that cause the problems are not
included by default and thus -lws2_32 is needed.
In addition, the live555 check is broken and does not check for proper
linking, if it did the worst thing to happen would be only disabling
live555, like this it disables almost all features checked after it.
But please try if the attached patch solves it.
Greetings,
Reimar Döffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 21549)
+++ configure (working copy)
@@ -2803,6 +2803,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
@@ -3835,9 +3847,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 $_ld_tmp && _libs_mplayer="$_libs_mplayer $_ld_tmp" \
&& _x11=yes && break
@@ -6799,19 +6811,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-users
mailing list