From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16399 invoked by alias); 27 Sep 2012 12:38:24 -0000 Received: (qmail 16384 invoked by uid 22791); 27 Sep 2012 12:38:22 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE,TW_GL X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Sep 2012 12:38:14 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.1.103]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 27 Sep 2012 13:38:05 +0100 Message-ID: <506448A9.5040305@dronecode.org.uk> Date: Thu, 27 Sep 2012 12:38:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: jofferman@gmail.com Subject: Re: xserver compile err References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2012-09/txt/msg00011.txt.bz2 On 27/09/2012 01:13, J. Offerman wrote: > I'm trying to compile 1.12.4 now. Last time I tried in April 2012 with > 1.12.0, I (still) had to do this: > > http://cygwin.com/ml/cygwin-xfree/2011-10/msg00065.html > > This was for 1.11.1. Anyways, even with --disable-glx-tls, the build > fails now. It complains about something similar, "__glapi_Dispatch". > What should I do now? Thanks. > CCLD touch.exe > ./.libs/libxservertest.a(glxcmds.o): In function `FlushContext': > /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:221: undefined reference to `__glapi_Dispatch' > ./.libs/libxservertest.a(glxcmds.o): In function `DoMakeCurrent': > /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:610: undefined reference to `__glapi_Dispatch' > ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_WaitGL': > /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:789: undefined reference to `__glapi_Dispatch' > ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_CopyContext': > /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:887: undefined reference to `__glapi_Dispatch' > ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_SwapBuffers': > /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:1626: undefined reference to `__glapi_Dispatch' > ./.libs/libxservertest.a(glxcmds.o):/usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:1828: more undefined references to `__glapi_Dispatch' follow > collect2: ld returned 1 exit status > Makefile:717: recipe for target `touch.exe' failed > make[2]: *** [touch.exe] Error 1 > make[2]: Leaving directory `/usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/test' This is a failure building the unit tests I'd guess you need to ./configure with --disable-unit-tests, or add a patch to link them with libglapi which provides that symbol. In general I would suggest always looking at the .cygport file in the source package to look at the configuration options used there I'm slightly curious to know if there is something wrong with the X server binary package I produce, since you always seem to want to build your own? -- 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/