[MPlayer-users] Problem with changes to makefiles/configure & live555

Nicholas Schell nschell at gmail.com
Sun Dec 10 13:42:32 CET 2006


With current revisions (just tried r21567) I can no longer build
MPlayer/MEncoder with Live555 and Xvid, x264, and libmp3lame. That is
whenever live555 is autodetected by configure xvid, x264, and lame
will not be detected during configure. I do not force any libs with
--enable, I run completely off of autodetection. Live555 will
correctly build with mplayer, however the other three will not when it
is present. In mplayer's configure.log I noted that all three pointed
to errors with live555, here is a brief sample from xvid with my
mplayer configure parameters.

 ./configure --prefix="$mplayerinstalldir"       \
             --disable-tv                        \
             --disable-tremor-internal           \
             --disable-toolame                   \
             --disable-vidix-internal            \
             --enable-runtime-cpudetection       \
             --with-extraincdir="$live555dir"    \
             --with-extralibdir="$live555dir"    \

============ Checking for XviD ============

#include <xvid.h>
int main(void) { xvid_global(0, 0, 0, 0); return 0; }

gcc -O4 -march=i486 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer
-I/c/msys/1.0/home/Nicholi/live555-2006.12.08
-I/mingw/include/freetype2 -I/mingw/include -I/mingw/include
-I/c/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/include
      -I/c/msys/1.0/home/Nicholi/live555-2006.12.08/UsageEnvironment/include
             -I/c/msys/1.0/home/Nicholi/live555-2006.12.08/BasicUsageEnvironment/include
             -I/c/msys/1.0/home/Nicholi/live555-2006.12.08/groupsock/include
 -L/c/msys/1.0/home/Nicholi/live555-2006.12.08 -lwinmm -liconv -lpng
-lz -ljpeg -lungif -L/mingw/lib -L/mingw/lib -lfreetype -lz
-lfontconfig  -L/mingw/lib -lfribidi -lz -llzo -lmad -lvorbis -logg
-lspeex -IC:/msys/1.0/mingw/include  -LC:/msys/1.0/mingw/lib -ltheora
-logg   -ldts -lmpcdec -ladvapi32 -lole32
/c/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a
         /c/msys/1.0/home/Nicholi/live555-2006.12.08/groupsock/libgroupsock.a
           /c/msys/1.0/home/Nicholi/live555-2006.12.08/UsageEnvironment/libUsageEnvironment.a
           /c/msys/1.0/home/Nicholi/live555-2006.12.08/BasicUsageEnvironment/libBasicUsageEnvironment.a
           -lstdc++  -lopengl32 -lgdi32 -lwinmm -lgdi32 -lfaac
-ltwolame -lfaac -o /tmp/mplayer-conf-1962-552.o
/tmp/mplayer-conf-27605-552.c -lxvidcore -lm
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3HTTPSource.cpp:(.text+0xd020):
undefined reference to `connect at 12'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3HTTPSource.cpp:(.text+0xd137):
undefined reference to `ntohs at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3HTTPSource.cpp:(.text+0xd187):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3StreamState.cpp:(.text+0x101af):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3StreamState.cpp:(.text+0x1029b):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3StreamState.cpp:(.text+0x10387):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3StreamState.cpp:(.text+0x10909):
undefined reference to `send at 16'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3StreamState.cpp:(.text+0x10c98):
undefined reference to `select at 20'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MP3StreamState.cpp:(.text+0x10d6d):
undefined reference to `recv at 16'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MPEG1or2VideoRTPSource.cpp:(.text+0x141d8):
undefined reference to `ntohl at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MPEG1or2VideoRTPSource.cpp:(.text+0x1424a):
undefined reference to `ntohl at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MediaSink.cpp:(.text+0x19d0f):
undefined reference to `htonl at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MediaSink.cpp:(.text+0x19da3):
undefined reference to `htonl at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:MediaSink.cpp:(.text+0x19e44):
undefined reference to `ntohl at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b031):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b0b1):
undefined reference to `listen at 8'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b0f5):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b127):
undefined reference to `ntohs at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b21f):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b2d5):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b38b):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b453):
undefined reference to `accept at 12'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b4e9):
undefined reference to `send at 16'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b548):
undefined reference to `closesocket at 4'
c:/msys/1.0/home/Nicholi/live555-2006.12.08/liveMedia/libliveMedia.a:HTTPSink.cpp:(.text+0x1b5dd):
undefined reference to `send at 16'

There is a lot more if you would like to see the full list. This log
also just shows my recent attempt, however I have used the live
packages from last month when everything was working and it also
failed with the same errors. After that I tried disabling live in
configure and sure enough all three encoders were detected and
compiled with mencoder. I am pretty sure this is related to the major
updates in the makefile and configure that happened a few'ish weeks
ago. Been to busy to report it though and there were other major
compilation errors at that time. I thought they would all be resolved
at the same time. Perhaps the problem is related to the separation of
mencoder and mplayer in make/configure files because all three of the
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 :(.

Also on a very minor sidenote... while initially trying to figure out
what the heck was going on I was scanning the configure.log and stdout
info quite a bit, and I noticed that both zlib and libmp3lame are not
mentioned in the "Enabled/Disabled optional drivers" lists at the end
of configure's display info. You can only find out if they were
detected in configure.log. Just as well neither of them have a
--enable/disable parameter in configure. Just thought I'd mention
that.



More information about the MPlayer-users mailing list