From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22693 invoked by alias); 20 Jun 2013 19:53:05 -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 22653 invoked by uid 89); 20 Jun 2013 19:53:01 -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_IB,TW_KB,TW_XC,TW_XK,TW_YG autolearn=ham version=3.3.1 Received: from nm4-vm8.bt.bullet.mail.ir2.yahoo.com (HELO nm4-vm8.bt.bullet.mail.ir2.yahoo.com) (212.82.99.235) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 20 Jun 2013 19:53:00 +0000 Received: from [212.82.98.44] by nm4.bt.bullet.mail.ir2.yahoo.com with NNFMP; 20 Jun 2013 19:52:58 -0000 Received: from [217.146.189.247] by tm5.bt.bullet.mail.ir2.yahoo.com with NNFMP; 20 Jun 2013 19:52:58 -0000 Received: from [127.0.0.1] by smtp820.mail.ird.yahoo.com with NNFMP; 20 Jun 2013 19:52:58 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@86.132.49.67 with plain) by smtp820.mail.ird.yahoo.com with SMTP; 20 Jun 2013 19:52:58 +0000 GMT Message-ID: <51C35DA8.40504@dronecode.org.uk> Date: Thu, 20 Jun 2013 19:53: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> <51BDCABC.9060008@dronecode.org.uk> In-Reply-To: <51BDCABC.9060008@dronecode.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00045.txt.bz2 On 16/06/2013 15:25, Jon TURNEY wrote: > On 16/06/2013 13:37, Matt D. wrote: >> /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. Ah, this is probably due to needing python to generate these files, despite not having an autoconf check for that. I've added one. >> 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. I've added libglapi-devel, libxcb-icccm-devel and libxcb-image-devel. The others seem to be already on that page. They may not be getting installed by the setup invocation you give, I think package name is case sensitive, and setup doesn't diagnose attempts to install non-existent packages. >> There is also no sanity check for flex, although it is listed as a prerequisite. > > Ok. I guess I need to add one then :-) We already have a AC_PROG_LEX check. Unfortunately, even with this autoconf assumes that lex will not actually be needed to build as lex generated files will be shipped in the tarball made by 'make dist', and no error is reported if it isn't found. Also unfortunately, the xserver tarball included in the source package violates this assumption as it is generated by cygport directly from a git tag, not using 'make dist', so doesn't include these generated files. I've made a change so that the configure script in the xserver tarball included in the source package will now require lex and yacc to be found. -- 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/