From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24789 invoked by alias); 28 Oct 2013 14:48:10 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 24772 invoked by uid 89); 28 Oct 2013 14:48:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtpout08.bt.lon5.cpcloud.co.uk Received: from smtpout08.bt.lon5.cpcloud.co.uk (HELO smtpout08.bt.lon5.cpcloud.co.uk) (65.20.0.128) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Oct 2013 14:48:07 +0000 X-CTCH-RefID: str=0001.0A090207.526E7923.015B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=28/97,refid=2.7.2:2013.10.28.54815:17:28.905,ip=86.177.101.35,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, URI_ENDS_IN_HTML, __URI_NO_MAILTO, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, __URI_NS, SXL_IP_DYNAMIC[35.101.177.86.fur], HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Received: from [192.168.1.72] (86.177.101.35) by smtpout08.bt.lon5.cpcloud.co.uk (8.6.100.99.10161) (authenticated as jonturney@btinternet.com) id 526D6C7B000FA84B; Mon, 28 Oct 2013 14:48:03 +0000 Message-ID: <526E7923.5010000@dronecode.org.uk> Date: Mon, 28 Oct 2013 14:48:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: mdl@alum.mit.edu Subject: Re: Problem trying to build Cygwin X server from source References: <526525E9.1070802@dronecode.org.uk> <877gczzhhp.fsf@foil.strangled.net> In-Reply-To: <877gczzhhp.fsf@foil.strangled.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-10/txt/msg00040.txt.bz2 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/