From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15795 invoked by alias); 27 Oct 2013 00:27:28 -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 15781 invoked by uid 89); 27 Oct 2013 00:27:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD,SPF_PASS,T_FRT_PACKAGE autolearn=ham version=3.3.2 X-HELO: alum-mailsec-scanner-8.mit.edu Received: from alum-mailsec-scanner-8.mit.edu (HELO alum-mailsec-scanner-8.mit.edu) (18.7.68.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 27 Oct 2013 00:27:25 +0000 Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) by alum-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id 11.BF.10829.BED5C625; Sat, 26 Oct 2013 20:27:23 -0400 (EDT) Received: from foil.strangled.net (c-67-188-232-141.hsd1.ca.comcast.net [67.188.232.141]) (authenticated bits=0) (User authenticated as mdl@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id r9R0RLDO015035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 26 Oct 2013 20:27:22 -0400 From: Mark Lillibridge To: cygwin-xfree Subject: Re: Problem trying to build Cygwin X server from source In-Reply-To: <526525E9.1070802@dronecode.org.uk> (message from Jon TURNEY on Mon, 21 Oct 2013 14:02:33 +0100) Reply-to: mdl@alum.mit.edu Date: Sun, 27 Oct 2013 00:27:00 -0000 Message-ID: <877gczzhhp.fsf@foil.strangled.net> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-10/txt/msg00039.txt.bz2 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: 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 > > Tip: Use setup -q -Ppackagename,packagename,etc. to quickly install > > the required packages. > > > > Darn if I could make this work no matter what I tried. Really, you > > should just give the actual code here so people can cut-and-paste. > > Ideally, you should also specify how to get the needed packages via the > > setup GUI. > > It's not really the function of that document to tell people how to install > packages on cygwin. > > I don't really want to put the package list there twice and have to keep both > copies updated. > > If you're doing the package installation manually, you just find them (perhaps > using the search function), and select them for installation. I found that tip useless as in I couldn't make any form of "setup -q -Pfoo" install a package. As for the GUI, I believe I just set: * X11, editors, shells, net: install * X11->xorg-server: source * devel: install [need for cygport] * Python: install [for lxml for X server compiling] This is *way* easier than trying to find the dozens of packages by name and trying to figure out what to check to get them. - Mark -- 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/