public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: matt@codespunk.com
Subject: Re: Make error when compiling xserver-cygwin-1.14.1-1
Date: Sun, 16 Jun 2013 14:25:00 -0000	[thread overview]
Message-ID: <51BDCABC.9060008@dronecode.org.uk> (raw)
In-Reply-To: <51BDB18D.9090505@codespunk.com>

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/


  reply	other threads:[~2013-06-16 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15 22:07 Matt D.
2013-06-15 22:48 ` Jon TURNEY
2013-06-16 12:37   ` Matt D.
2013-06-16 14:25     ` Jon TURNEY [this message]
2013-06-20 19:53       ` Jon TURNEY
  -- strict thread matches above, loose matches on Subject: below --
2013-06-15 18:21 Matt D.
2013-06-15 21:36 ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51BDCABC.9060008@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=matt@codespunk.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).