[MPlayer-dev-eng] cygwin fix/questions for Xv support (workarounds)
Felix Buenemann
atmosfear at users.sourceforge.net
Fri Jul 12 05:14:07 CEST 2002
On Friday 12 July 2002 02:53, Sycotic Smith wrote:
> For all us cygwin lusers...
>
> Has anyone else installed Xv from the cygwin-utils page and tried to use it
> with mplayer? I had to tweak several places to get it to find it, and then
> to compile it in. Below is what I had to do, should I make the patches, or
> is this simple enough w/o it?
please send a patch as described in DOCS/tech/patches.txt
> 1) Getting ./configure to find xv
> In configure, the test for _xv has the order wrong for includes/libs. The
> following will work (may need it in this order only for cygwin?) cc_check
> -lXv $_ld_x11 $_inc_x11 && _xv=yes
ok
> 2) When compiling, it has problems with __uint's that are already defined
> from other files, problem is in including an extra file if Shm is not
> present. Wrong order:
> #include <sys/ipc.h>
> #ifdef HAVE_SHM
> ...
> Working order:
> #ifdef HAVE_SHM
> #include <sys/ipc.h>
> ...
hmm, if sys/ipc.h is really only used by SHM code, it's ok
> 3) When final linking occurs, it has the order wrong for Xv again, this
> time in config.mak line 43. Correct should read (again, may only be for
> cygwin...)
> X_LIB = -L/usr/X11R6/lib -lxv -lX11 -lXext
ok
> I can make a patch for each of these if warranted, please let me know
> either way. More info can always be provided too.
> Happy hacking!
> /S. Smith
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-dev-eng
mailing list