public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: mdl@alum.mit.edu
Subject: Re: Problem trying to build Cygwin X server from source
Date: Mon, 28 Oct 2013 14:48:00 -0000 [thread overview]
Message-ID: <526E7923.5010000@dronecode.org.uk> (raw)
In-Reply-To: <877gczzhhp.fsf@foil.strangled.net>
On 27/10/2013 01:26, Mark Lillibridge wrote:
> Jon TURNEY writes:
>
>> You will need to apply the attached change to /usr/include/Xpoll.h to fix
>> xserver compilation with w32api-headers >= 3.0.0-1, which adds a new WIN32
>> define somewhere, which breaks this test.
>
> It's /usr/include/X11/Xpoll.h on my system. That patch indeed makes
> the compilation proceed further. It's now stuck at:
Sorry, my mistake.
> CCLD XWin.exe
> ../../glx/.libs/libglx.a(glxcmds.o): In function `FlushContext':
> /usr/src/xorg-server-1.14.3-1/src/xserver-cygwin-1.14.3-1/glx/glxcmds.c:221: undefined reference to `__emutls_v._glapi_tls_Dispatch'
> ../../glx/.libs/libglx.a(glxcmds.o): In function `DoMakeCurrent':
> /usr/src/xorg-server-1.14.3-1/src/xserver-cygwin-1.14.3-1/glx/glxcmds.c:623: undefined reference to `__emutls_v._glapi_tls_Dispatch'
> ../../glx/.libs/libglx.a(glxcmds.o): In function `_glXDisp_WaitGL':
> /usr/src/xorg-server-1.14.3-1/src/xserver-cygwin-1.14.3-1/glx/glxcmds.c:806: undefined reference to `__emutls_v._glapi_tls_Dispatch'
> ../../glx/.libs/libglx.a(glxcmds.o): In function `_glXDisp_CopyContext':
> /usr/src/xorg-server-1.14.3-1/src/xserver-cygwin-1.14.3-1/glx/glxcmds.c:904: undefined reference to `__emutls_v._glapi_tls_Dispatch'
> ../../glx/.libs/libglx.a(glxcmds.o): In function `_glXDisp_SwapBuffers':
> /usr/src/xorg-server-1.14.3-1/src/xserver-cygwin-1.14.3-1/glx/glxcmds.c:1647: undefined reference to `__emutls_v._glapi_tls_Dispatch'
> ../../glx/.libs/libglx.a(glxcmds.o):/usr/src/xorg-server-1.14.3-1/src/xserver-cygwin-1.14.3-1/glx/glxcmds.c:1851: more undefined references to `__emutls_v._glapi_tls_Dispatch' follow
> collect2: error: ld returned 1 exit status
> Makefile:890: recipe for target `XWin.exe' failed
This looks like [1], a mis-match in TLS-ness between XWin and libglapi.
If you are building using the .cygport file it should have ./configure'ed with
--disable-glx-tls?
[1] http://www.cygwin.com/ml/cygwin-xfree/2011-10/msg00065.html
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
next prev parent reply other threads:[~2013-10-28 14:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-19 19:54 Mark Lillibridge
2013-10-20 20:28 ` Jon TURNEY
2013-10-20 22:58 ` Mark Lillibridge
2013-10-21 13:02 ` Jon TURNEY
2013-10-27 0:27 ` Mark Lillibridge
2013-10-28 14:48 ` Jon TURNEY [this message]
2013-11-02 17:48 ` Mark Lillibridge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=526E7923.5010000@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-xfree@cygwin.com \
--cc=mdl@alum.mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).