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/