public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Mark Lillibridge <mdl@alum.mit.edu>
To: cygwin-xfree <cygwin-xfree@cygwin.com>
Subject: Re: Problem trying to build Cygwin X server from source
Date: Sun, 27 Oct 2013 00:27:00 -0000	[thread overview]
Message-ID: <877gczzhhp.fsf@foil.strangled.net> (raw)
In-Reply-To: <526525E9.1070802@dronecode.org.uk> (message from Jon TURNEY on Mon, 21 Oct 2013 14:02:33 +0100)


Jon TURNEY <jon.turney@dronecode.org.uk> 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/


  reply	other threads:[~2013-10-27  0:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-19 19:54 Mark Lillibridge
2013-10-20 20:28 ` Jon TURNEY
2013-10-20 22:58   ` Mark Lillibridge
2013-10-21 13:02     ` Jon TURNEY
2013-10-27  0:27       ` Mark Lillibridge [this message]
2013-10-28 14:48         ` Jon TURNEY
2013-11-02 17:48           ` Mark Lillibridge

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=877gczzhhp.fsf@foil.strangled.net \
    --to=mdl@alum.mit.edu \
    --cc=cygwin-xfree@cygwin.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).