-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jon TURNEY wrote:
> This throws up a strange linkage problem: XWin.exe links fine, but all the
> other .exes produced (e.g. Xvfb.exe, Xnest.exe) fail to link with the
> GetTickCount reference in libos.a unresolved.  XWin.exe is presumably
> different because it has references to GetTickCount in the .o files linked
> to make the final executable.  I don't understand the intricacies of cygwin
> linking to guess why the linker can't resolve this symbol from kernel32 in
> this case. 

Because os/utils.c doesn't include windows.h (and it can't, because
you'll get an error from mixing of winsock2.h and cygwin socket.h
headers), and GetTickCount is exported in libkernel32 as stdcall
[EMAIL PROTECTED]  So adding the stdcall declaration of GetTickCount in
os/utils.c builds, and that seems to fix the right-click and grab
problems.  (I'm a bit curious as to why the gettimeofday fallback
doesn't work, though.)  Thanks; I've added a modified patch to SVN.

> I agree that enabling XVideo doesn't make much sense or do anything useful,
> I had it off in my .cygport, so this patch also changes the .cygport to add
> --disable-xv to the configuration.

configure seems to imply that there is support with the XWIN_XV
conditional, which is used in hw/xwin/Makefile.am, but the corresponding
compiler flag seems to be unused.  Too bad; a lot of multimedia programs
use Xv. :-(  I'll disable Xv and XvMC accordingly.

I've noticed a few other (more minor) issues:
- - transparent backgrounds are black in window icons
- - multiwindow mode ignores WM hints to not show title bar
- - mplayer complains that shared memory isn't available (but xdpyinfo
shows MIT-SHM extension is enabled) if launched with DISPLAY=:0.0, but
doesn't complain if launched with DISPLAY=:1.0 (where both are XWin).
- - what's the story with Xinerama?


Any ideas?


Yaakov
Cygwin Ports
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkju4asACgkQpiWmPGlmQSNn/gCg0nxaLmDrSlkF0Y7XmYgCKSRk
PR0AnRFlrXkz+jTApUDpYmpMjNToljt3
=qJ5d
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to