This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xserver compile err


On 27/09/2012 01:13, J. Offerman wrote:
> I'm trying to compile 1.12.4 now. Last time I tried in April 2012 with
> 1.12.0, I (still) had to do this:
> 
>     http://cygwin.com/ml/cygwin-xfree/2011-10/msg00065.html
> 
> This was for 1.11.1. Anyways, even with --disable-glx-tls, the build
> fails now. It complains about something similar, "__glapi_Dispatch".
> What should I do now? Thanks.

>   CCLD     touch.exe
> ./.libs/libxservertest.a(glxcmds.o): In function `FlushContext':
> /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:221: undefined reference to `__glapi_Dispatch'
> ./.libs/libxservertest.a(glxcmds.o): In function `DoMakeCurrent':
> /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:610: undefined reference to `__glapi_Dispatch'
> ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_WaitGL':
> /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:789: undefined reference to `__glapi_Dispatch'
> ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_CopyContext':
> /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:887: undefined reference to `__glapi_Dispatch'
> ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_SwapBuffers':
> /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:1626: undefined reference to `__glapi_Dispatch'
> ./.libs/libxservertest.a(glxcmds.o):/usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:1828: more undefined references to `__glapi_Dispatch' follow
> collect2: ld returned 1 exit status
> Makefile:717: recipe for target `touch.exe' failed
> make[2]: *** [touch.exe] Error 1
> make[2]: Leaving directory `/usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/test'

This is a failure building the unit tests

I'd guess you need to ./configure with --disable-unit-tests, or add a patch to
link them with libglapi which provides that symbol.

In general I would suggest always looking at the .cygport file in the source
package to look at the configuration options used there

I'm slightly curious to know if there is something wrong with the X server
binary package I produce, since you always seem to want to build your own?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]