From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31565 invoked by alias); 16 Jun 2013 14:25:02 -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 31533 invoked by uid 89); 16 Jun 2013 14:24:56 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_BX,TW_GL,TW_IB,TW_KB,TW_XC,TW_XK,TW_YG autolearn=ham version=3.3.1 Received: from nm6-vm2.bt.bullet.mail.ir2.yahoo.com (HELO nm6-vm2.bt.bullet.mail.ir2.yahoo.com) (212.82.99.125) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sun, 16 Jun 2013 14:24:55 +0000 Received: from [212.82.98.47] by nm6.bt.bullet.mail.ir2.yahoo.com with NNFMP; 16 Jun 2013 14:24:52 -0000 Received: from [217.146.189.77] by tm8.bt.bullet.mail.ir2.yahoo.com with NNFMP; 16 Jun 2013 14:24:52 -0000 Received: from [127.0.0.1] by smtp827.mail.ird.yahoo.com with NNFMP; 16 Jun 2013 14:24:52 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@217.44.57.66 with plain) by smtp827.mail.ird.yahoo.com with SMTP; 16 Jun 2013 07:24:52 -0700 PDT Message-ID: <51BDCABC.9060008@dronecode.org.uk> Date: Sun, 16 Jun 2013 14:25:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: matt@codespunk.com Subject: Re: Make error when compiling xserver-cygwin-1.14.1-1 References: <51BCEF1F.7020805@dronecode.org.uk> <51BDB18D.9090505@codespunk.com> In-Reply-To: <51BDB18D.9090505@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00034.txt.bz2 On 16/06/2013 13:37, Matt D. wrote: > It seemed I had everything but flex. I downloaded that and double-checked all > of the dependencies. Everything compiles now but I'm getting a linking error. > Prepping, generating, and configuring: > > cygport xorg-server.cygport prep > autogen.sh -V > configure > > And on make I get the attached linker error. I've tried cleaning and > redownloading twice now. Ah. I think that page is in need of an update. It probably would be better if it told you to use 'cygport xorg-server.cygport compile' to configure and build, as then the configuration would match the one used to build packages, which is known to work. > /usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5827: undefined reference to `__glapi_tls_Dispatch' The undefined references to `__glapi_tls_Dispatch' should be fixed by configuring with --disable-glx-tls [1] > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: cannot find entry symbol rrwarn=E_BAD_PTR_INT_COMBINATION; defaulting to 00401000 No idea about this. You should probably be using gcc4, though. > /usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:467: undefined reference to `_wglSwapIntervalEXTWrapper' These undefined references are a bit mysterious. These wgl*Wrapper functions should by defined in the generated_wgl_wrappers.c generated file. >> I think now might be an appropriate time to ask if you have all the >> prerequisites listed in [1]? > > Yes, I do. On that note, the prerequisites are missing: > > libpixman1-devel > libx11-devel > libgl-devel > libxkbfile-devel > libxcb-image-devel > lib-icccm-devel > > (detected during configure) > > and > > glapi-devel > > (detected at compile-time) Thanks for the list. I'll update the documentation appropriately. > There is also no sanity check for flex, although it is listed as a prerequisite. Ok. I guess I need to add one then :-) [1] http://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/