public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Matt D." <matt@codespunk.com>
To: cygwin-xfree <cygwin-xfree@cygwin.com>
Subject: Re: Re: Make error when compiling xserver-cygwin-1.14.1-1
Date: Sun, 16 Jun 2013 12:37:00 -0000	[thread overview]
Message-ID: <51BDB18D.9090505@codespunk.com> (raw)
In-Reply-To: <51BCEF1F.7020805@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

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.

I am using a CLEAN install of cygwin with the following packages:

setup -P 
cygwin,autoconf,automake,binutils,bison,bzip2,cygport,diffutils,fileutils,findutils,flex,gawk,gcc,git,libtool,make,patch,pkg-config,sed,tar,w32api,dri-drivers,libbz2_1,libfontenc1,libfreetype6,libgcc1,libGL1,libpixman1_0,libX11_6,libXau6,libXdmcp6,libXext6,xauth,xcursor-themes,xkbcomp,xkeyboard-config,zlib0,libdmx1,libXaw7,libXfixes3,libXi6,libXmu6,libXmuu1,libXrender1,libXt6,bigreqsproto,compositeproto,damageproto,dmxproto,fixesproto,font-util,fontsproto,glproto,inputproto,kbproto,libXfont-devel,randrproto,recordproto,renderproto,resourceproto,scrnsaverproto,windowswmproto,xcmiscproto,xextproto,xf86bigfontproto,xineramaproto,xorg-util-macros,xproto,xtrans,khronos-opengl-registry,libpixman1-devel,libx11-devel,libgl-devel,libxkbfile-devel,libxcb-image-devel,lib-icccm-devel,glapi-devel

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.

 > 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)

There is also no sanity check for flex, although it is listed as a 
prerequisite.


[-- Attachment #2: link.txt --]
[-- Type: text/plain, Size: 3803 bytes --]

/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
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinScreenSwapInterval':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:467: undefined reference to `_wglSwapIn
tervalEXTWrapper'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinDrawableDestroy':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:932: undefined reference to `_wglDestro
yPbufferARBWrapper'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinReleaseDC':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:1242: undefined reference to `_wglRelea
sePbufferDCARBWrapper'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinCreateContext':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:1624: undefined reference to `_glWinSet
upDispatchTable'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `fbConfigToPixelFormatIndex':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:1803: undefined reference to `_wglChoos
ePixelFormatARBWrapper'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinMakeDC':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:1204: undefined reference to `_wglGetPb
ufferDCARBWrapper'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinContextMakeCurrent':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:1497: undefined reference to `_wglMakeC
ontextCurrentARBWrapper'
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:1328: undefined reference to `_wglCreat
ePbufferARBWrapper'
../../hw/xwin/glx/.libs/libXwinGLX.a(indirect.o): In function `glxWinScreenProbe':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:596: undefined reference to `_wglResolv
eExtensionProcs'
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:603: undefined reference to `_wglGetExt
ensionsStringARBWrapper'
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:2087: undefined reference to `_wglGetPi
xelFormatAttribivARBWrapper'
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:2171: undefined reference to `_wglGetPi
xelFormatAttribivARBWrapper'
../../glx/.libs/libglx.a(glxcmds.o): In function `FlushContext':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5827: undefined reference to `__glapi_tls_Dispa
tch'
../../glx/.libs/libglx.a(glxcmds.o): In function `DoMakeCurrent':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5827: undefined reference to `__glapi_tls_Dispa
tch'
../../glx/.libs/libglx.a(glxcmds.o): In function `__glXDisp_WaitGL':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5811: undefined reference to `__glapi_tls_Dispa
tch'
../../glx/.libs/libglx.a(glxcmds.o): In function `__glXDisp_CopyContext':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5811: undefined reference to `__glapi_tls_Dispa
tch'
../../glx/.libs/libglx.a(glxcmds.o): In function `__glXDisp_SwapBuffers':
/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5811: undefined reference to `__glapi_tls_Dispa
tch'
../../glx/.libs/libglx.a(glxcmds.o):/usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/glx/dispatch.h:5811: more
undefined references to `__glapi_tls_Dispatch' follow
collect2: ld returned 1 exit status

[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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 12:37 UTC|newest]

Thread overview: 5+ 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. [this message]
2013-06-16 14:25     ` Jon TURNEY
2013-06-20 19:53       ` 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=51BDB18D.9090505@codespunk.com \
    --to=matt@codespunk.com \
    --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).