Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001d01c2d855$04f3edf0$70eaec82@mindcooler> From: =?iso-8859-1?Q?Mikael_=C5sberg?= To: References: Subject: Re: MESA Date: Wed, 19 Feb 2003 21:25:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 X-Spam-Status: No, hits=-4.6 required=5.0 tests=FROM_ENDS_IN_NUMS,GAPPY_TEXT,INVALID_MSGID, LIU_FROM_MATCHES_LIUSTUDENT,LIU_MAILTO_TO_LIUSTUDENT, MAILTO_TO_SPAM_ADDR,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,USER_AGENT_OE version=2.41-liu_1.3 X-Spam-Level: ----- Original Message ----- From: "Igor Pechtchanski" To: "Mikael Åsberg" Cc: Sent: Wednesday, February 19, 2003 9:16 PM Subject: Re: MESA > On Wed, 19 Feb 2003, Mikael Åsberg wrote: > > > ----- Original Message ----- > > From: "Igor Pechtchanski" > > [snip] > > > > > Try "gcc -Wall -o test test.c -L/usr/local/lib -lGL -lGLU -lglut", or > > > something like that... > > > Igor > > > > Thanks for the quick reply, here's what I tried: > > $ gcc -Wall -o test test.c -L/usr/local/lib/GL -lGL -lGLU -lglut > ^^^ > > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > > cannot find -lGL > > collect2: ld returned 1 exit status > > > > This is confusing to me, because I recalling reading that one should link > > to -lGL etc. Any ideas? > > It works better if, after a -L, you specify a directory that actually > contains the relevant libraries (such as /usr/local/lib). > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! > -- /usr/games/fortune > > I just found that mistake, lol, and when I issued the following: $ gcc -Wall -o test test.c -L/usr/local/lib -lGL -lGLU -lglut I get a massive amount of linking errors: /usr/local/lib/libglut.a(glut_event.o)(.text+0x352): In function `interruptibleX NextEvent': /home/Administrator/Mesa-5.0/src-glut/glut_event.c:310: undefined reference to ` _XFlush' /usr/local/lib/libglut.a(glut_event.o)(.text+0x361):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:312: undefined reference to `_XPending' /usr/local/lib/libglut.a(glut_event.o)(.text+0x3f4):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:313: undefined reference to `_XNextEvent' /usr/local/lib/libglut.a(glut_event.o)(.text+0x4d4): In function `processEventsA ndTimeouts': /home/Administrator/Mesa-5.0/src-glut/glut_event.c:365: undefined reference to ` _XRefreshKeyboardMapping' /usr/local/lib/libglut.a(glut_event.o)(.text+0x4ea):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:842: undefined reference to `_XPending' /usr/local/lib/libglut.a(glut_event.o)(.text+0x56a):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:541: undefined reference to `_XLookupString' /usr/local/lib/libglut.a(glut_event.o)(.text+0x59e):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:595: undefined reference to `_XLookupKeysym' /usr/local/lib/libglut.a(glut_event.o)(.text+0x915):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:522: undefined reference to `_XEventsQueued' /usr/local/lib/libglut.a(glut_event.o)(.text+0x932):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:523: undefined reference to `_XPeekEvent' /usr/local/lib/libglut.a(glut_event.o)(.text+0x981):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:756: undefined reference to `_XNextEvent' /usr/local/lib/libglut.a(glut_event.o)(.text+0xc50):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:752: undefined reference to `_XEventsQueued' /usr/local/lib/libglut.a(glut_event.o)(.text+0xc69):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:753: undefined reference to `_XPeekEvent' /usr/local/lib/libglut.a(glut_event.o)(.text+0xd31):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:765: undefined reference to `_XEventsQueued' /usr/local/lib/libglut.a(glut_event.o)(.text+0xd4a):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:405: undefined reference to `_XPeekEvent' /usr/local/lib/libglut.a(glut_event.o)(.text+0xd6f):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:410: undefined reference to `_XNextEvent' /usr/local/lib/libglut.a(glut_event.o)(.text+0xef7):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:388: undefined reference to `_glXWaitX' /usr/local/lib/libglut.a(glut_event.o)(.text+0xf2e):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:381: undefined reference to `_XResizeWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0xf97): In function `waitForSomethi ng': /home/Administrator/Mesa-5.0/src-glut/glut_event.c:873: undefined reference to ` _XFlush' /usr/local/lib/libglut.a(glut_event.o)(.text+0xfa4):/home/Administrator/Mesa -5.0 /src-glut/glut_event.c:874: undefined reference to `_XPending' /usr/local/lib/libglut.a(glut_event.o)(.text+0x1057):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:941: undefined reference to `_XPending' /usr/local/lib/libglut.a(glut_event.o)(.text+0x10dc): In function `idleWait': /home/Administrator/Mesa-5.0/src-glut/glut_event.c:953: undefined reference to ` _XPending' /usr/local/lib/libglut.a(glut_event.o)(.text+0x11b8): In function `processWindow WorkList': /home/Administrator/Mesa-5.0/src-glut/glut_event.c:1022: undefined reference to `_XChangeWindowAttributes' /usr/local/lib/libglut.a(glut_event.o)(.text+0x11eb):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1030: undefined reference to `_XSelectInput' /usr/local/lib/libglut.a(glut_event.o)(.text+0x12c8):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1123: undefined reference to `_XChangeProperty' /usr/local/lib/libglut.a(glut_event.o)(.text+0x1331):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1164: undefined reference to `_XConfigureWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0x146d):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1315: undefined reference to `_glFinish' /usr/local/lib/libglut.a(glut_event.o)(.text+0x14bc):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1244: undefined reference to `_glXSwapBuffers' /usr/local/lib/libglut.a(glut_event.o)(.text+0x151f):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1288: undefined reference to `_glXSwapBuffers' /usr/local/lib/libglut.a(glut_event.o)(.text+0x156b):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1198: undefined reference to `_XIconifyWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0x159a):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1180: undefined reference to `_XUnmapWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0x15b9):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1182: undefined reference to `_XWithdrawWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0x15cf):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1188: undefined reference to `_XMapWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0x164f):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1146: undefined reference to `_XSetWMNormalHints' /usr/local/lib/libglut.a(glut_event.o)(.text+0x166c):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1149: undefined reference to `_XDeleteProperty' /usr/local/lib/libglut.a(glut_event.o)(.text+0x169b):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1114: undefined reference to `_XResizeWindow' /usr/local/lib/libglut.a(glut_event.o)(.text+0x16d0):/home/Administrator/Mes a-5. 0/src-glut/glut_event.c:1032: undefined reference to `_XSelectInput' /usr/local/lib/libglut.a(glut_win.o)(.text+0x110): In function `__glutSetWindow' : /home/Administrator/Mesa-5.0/src-glut/glut_win.c:157: undefined reference to `_g lXMakeCurrent' /usr/local/lib/libglut.a(glut_win.o)(.text+0x311): In function `getVisualInfoCI' : /home/Administrator/Mesa-5.0/src-glut/glut_win.c:271: undefined reference to `_g lXChooseVisual' /usr/local/lib/libglut.a(glut_win.o)(.text+0x4be): In function `getVisualInfoRGB ': /home/Administrator/Mesa-5.0/src-glut/glut_win.c:348: undefined reference to `_g lXChooseVisual' /usr/local/lib/libglut.a(glut_win.o)(.text+0x652): In function `__glutDefaultRes hape': /home/Administrator/Mesa-5.0/src-glut/glut_win.c:423: undefined reference to `_g lXMakeCurrent' /usr/local/lib/libglut.a(glut_win.o)(.text+0x66e):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:424: undefined reference to `_glViewport' /usr/local/lib/libglut.a(glut_win.o)(.text+0x695):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:427: undefined reference to `_glXMakeCurrent' /usr/local/lib/libglut.a(glut_win.o)(.text+0x6b1):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:428: undefined reference to `_glViewport' /usr/local/lib/libglut.a(glut_win.o)(.text+0x6d2):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:433: undefined reference to `_glXMakeCurrent' /usr/local/lib/libglut.a(glut_win.o)(.text+0x9aa): In function `__glutCreateWind ow': /home/Administrator/Mesa-5.0/src-glut/glut_win.c:576: undefined reference to `_X CreateWindow' /usr/local/lib/libglut.a(glut_win.o)(.text+0xa0a):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:599: undefined reference to `_glXIsDirect' /usr/local/lib/libglut.a(glut_win.o)(.text+0xb80):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:691: undefined reference to `_glDrawBuffer' /usr/local/lib/libglut.a(glut_win.o)(.text+0xb8c):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:692: undefined reference to `_glReadBuffer' /usr/local/lib/libglut.a(glut_win.o)(.text+0xbe7):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:590: undefined reference to `_glXCreateContext' /usr/local/lib/libglut.a(glut_win.o)(.text+0xcc1): In function `glutCreateWindow ': /home/Administrator/Mesa-5.0/src-glut/glut_win.c:728: undefined reference to `_X AllocWMHints' /usr/local/lib/libglut.a(glut_win.o)(.text+0xd32):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:732: undefined reference to `_XSetWMProperties' /usr/local/lib/libglut.a(glut_win.o)(.text+0xd3a):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:737: undefined reference to `_XFree' /usr/local/lib/libglut.a(glut_win.o)(.text+0xd5b):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:738: undefined reference to `_XSetWMProtocols' /usr/local/lib/libglut.a(glut_win.o)(.text+0xe5c): In function `__glutDestroyWin dow': /home/Administrator/Mesa-5.0/src-glut/glut_win.c:811: undefined reference to `_X DestroyWindow' /usr/local/lib/libglut.a(glut_win.o)(.text+0xe70):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:812: undefined reference to `_glXDestroyContext' /usr/local/lib/libglut.a(glut_win.o)(.text+0xecd):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:832: undefined reference to `_XFree' /usr/local/lib/libglut.a(glut_win.o)(.text+0xf0e):/home/Administrator/Mesa-5 .0/s rc-glut/glut_win.c:804: undefined reference to `_glXMakeCurrent' /usr/local/lib/libglut.a(glut_win.o)(.text+0xfe2): In function `glutDestroyWindo w': /home/Administrator/Mesa-5.0/src-glut/glut_win.c:864: undefined reference to `_X Flush' /usr/local/lib/libglut.a(glut_init.o)(.text+0x7c): In function `__glutOpenXConne ction': /home/Administrator/Mesa-5.0/src-glut/glut_init.c:135: undefined reference to `_ XOpenDisplay' /usr/local/lib/libglut.a(glut_init.o)(.text+0xb3):/home/Administrator/Mesa-5 .0/s rc-glut/glut_init.c:141: undefined reference to `_glXQueryExtension' /usr/local/lib/libglut.a(glut_init.o)(.text+0x111):/home/Administrator/Mesa- 5.0/ src-glut/glut_init.c:151: undefined reference to `_XInternAtom' /usr/local/lib/libglut.a(glut_init.o)(.text+0x124):/home/Administrator/Mesa- 5.0/ src-glut/glut_init.c:142: undefined reference to `_XDisplayName' /usr/local/lib/libglut.a(glut_init.o)(.text+0x14d):/home/Administrator/Mesa- 5.0/ src-glut/glut_init.c:140: undefined reference to `_XSynchronize' /usr/local/lib/libglut.a(glut_init.o)(.text+0x15c):/home/Administrator/Mesa- 5.0/ src-glut/glut_init.c:137: undefined reference to `_XDisplayName' /usr/local/lib/libglut.a(glut_init.o)(.text+0x4c4): In function `glutInit': /home/Administrator/Mesa-5.0/src-glut/glut_init.c:300: undefined reference to `_ XParseGeometry' /usr/local/lib/libglut.a(glut_mesa.o)(.text+0x7c): In function `__glutDetermineM esaSwapHackSupport': /home/Administrator/Mesa-5.0/src-glut/glut_mesa.c:37: undefined reference to `_g lGetString' /usr/local/lib/libglut.a(glut_mesa.o)(.text+0x8a):/home/Administrator/Mesa-5 .0/s rc-glut/glut_mesa.c:38: undefined reference to `_glGetString' /usr/local/lib/libglut.a(glut_util.o)(.text+0xe9): In function `glutReportErrors ': /home/Administrator/Mesa-5.0/src-glut/glut_util.c:47: undefined reference to `_g lGetError' /usr/local/lib/libglut.a(glut_util.o)(.text+0xf5):/home/Administrator/Mesa-5 .0/s rc-glut/glut_util.c:51: undefined reference to `_gluErrorString' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0xc8): In function `__glutAssociateN ewColormap': /home/Administrator/Mesa-5.0/src-glut/glut_cmap.c:78: undefined reference to `_X CreateColormap' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x108):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:95: undefined reference to `_XCreateColormap' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x145):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:97: undefined reference to `_XAllocColorCells' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x281): In function `__glutSetupColo rmap': /home/Administrator/Mesa-5.0/src-glut/glut_cmap.c:151: undefined reference to `_ glXGetConfig' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x2e1):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:169: undefined reference to `_XCreateColormap' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x3d4):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:206: undefined reference to `_XGetRGBColormaps' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x41a):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:231: undefined reference to `_XmuLookupStandardColormap' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x467):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:235: undefined reference to `_XGetRGBColormaps' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x4ad):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:245: undefined reference to `_XFree' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x4c4):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:241: undefined reference to `_XFree' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x515):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:216: undefined reference to `_XFree' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x575):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:200: undefined reference to `_XInternAtom' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x750): In function `__glutEstablish ColormapsProperty': /home/Administrator/Mesa-5.0/src-glut/glut_cmap.c:351: undefined reference to `_ XSetWMColormapWindows' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x799):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:343: undefined reference to `_XInternAtom' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x7bc):/home/Administrator/Mesa- 5.0/ src-glut/glut_cmap.c:349: undefined reference to `_XDeleteProperty' /usr/local/lib/libglut.a(glut_cmap.o)(.text+0x832): In function `__glutFreeColor map': /home/Administrator/Mesa-5.0/src-glut/glut_cmap.c:394: undefined reference to `_ XFreeColormap' /usr/local/lib/libglut.a(glut_gamemode.o)(.text+0x7d): In function `glutLeaveGam eMode': /home/Administrator/Mesa-5.0/src-glut/glut_gamemode.c:71: undefined reference to `_XFlush' /usr/local/lib/libglut.a(glut_gamemode.o)(.text+0xa3a): In function `glutEnterGa meMode': /home/Administrator/Mesa-5.0/src-glut/glut_gamemode.c:626: undefined reference t o `_XSetWMProtocols' /usr/local/lib/libglut.a(glut_gamemode.o)(.text+0xa99):/home/Administrator/M esa- 5.0/src-glut/glut_gamemode.c:618: undefined reference to `_XInternAtom' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x23): In function `__glutIsSuppor tedByGLX': /home/Administrator/Mesa-5.0/src-glut/glut_glxext.c:21: undefined reference to ` _glXQueryVersion' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x99):/home/Administrator/Mesa -5.0 /src-glut/glut_glxext.c:28: undefined reference to `_glXQueryExtensionsString' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0xe5): In function `__glut_glXBind ChannelToWindowSGIX': /home/Administrator/Mesa-5.0/src-glut/glut_glxext.c:69: undefined reference to ` _glXGetProcAddressARB' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x149): In function `__glut_glXCha nnelRectSGIX': /home/Administrator/Mesa-5.0/src-glut/glut_glxext.c:92: undefined reference to ` _glXGetProcAddressARB' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x1c9): In function `__glut_glXQue ryChannelRectSGIX': /home/Administrator/Mesa-5.0/src-glut/glut_glxext.c:116: undefined reference to `_glXGetProcAddressARB' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x24d): In function `__glut_glXQue ryChannelDeltasSGIX': /home/Administrator/Mesa-5.0/src-glut/glut_glxext.c:140: undefined reference to `_glXGetProcAddressARB' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x2cd): In function `__glut_glXCha nnelRectSyncSGIX': /home/Administrator/Mesa-5.0/src-glut/glut_glxext.c:164: undefined reference to `_glXGetProcAddressARB' /usr/local/lib/libglut.a(glut_glxext.o)(.text+0x355):/home/Administrator/Mes a-5. 0/src-glut/glut_glxext.c:190: more undefined references to `_glXGetProcAddressAR B' follow /usr/local/lib/libglut.a(glut_swap.o)(.text+0x72): In function `glutSwapBuffers' : /home/Administrator/Mesa-5.0/src-glut/glut_swap.c:38: undefined reference to `_g lXSwapBuffers' /usr/local/lib/libglut.a(layerutil.o)(.text+0x64): In function `findServerOverla yVisualsInfo': /home/Administrator/Mesa-5.0/src-glut/layerutil.c:38: undefined reference to `_X InternAtom' /usr/local/lib/libglut.a(layerutil.o)(.text+0x127):/home/Administrator/Mesa- 5.0/ src-glut/layerutil.c:50: undefined reference to `_XGetWindowProperty' /usr/local/lib/libglut.a(layerutil.o)(.text+0x244): In function `__glutXGetLayer VisualInfo': /home/Administrator/Mesa-5.0/src-glut/layerutil.c:105: undefined reference to `_ XGetVisualInfo' /usr/local/lib/libglut.a(layerutil.o)(.text+0x358):/home/Administrator/Mesa- 5.0/ src-glut/layerutil.c:167: undefined reference to `_XFree' /usr/local/lib/libglut.a(layerutil.o)(.text+0x37e):/home/Administrator/Mesa- 5.0/ src-glut/layerutil.c:170: undefined reference to `_XFree' /usr/local/lib/libglut.a(glut_get.o)(.text+0xf6): In function `glutGet': /home/Administrator/Mesa-5.0/src-glut/glut_get.c:32: undefined reference to `_XT ranslateCoordinates' /usr/local/lib/libglut.a(glut_get.o)(.text+0x15d):/home/Administrator/Mesa-5 .0/s rc-glut/glut_get.c:41: undefined reference to `_XGetGeometry' /usr/local/lib/libglut.a(glut_get.o)(.text+0x1b0):/home/Administrator/Mesa-5 .0/s rc-glut/glut_get.c:36: undefined reference to `_XTranslateCoordinates' /usr/local/lib/libglut.a(glut_get.o)(.text+0x211):/home/Administrator/Mesa-5 .0/s rc-glut/glut_get.c:76: undefined reference to `_glXGetConfig' /usr/local/lib/libglut.a(glut_get.o)(.text+0x338):/home/Administrator/Mesa-5 .0/s rc-glut/glut_get.c:49: undefined reference to `_XGetGeometry' /usr/local/lib/libglut.a(glut_get.o)(.text+0x665):/home/Administrator/Mesa-5 .0/s rc-glut/glut_get.c:106: undefined reference to `_glXGetConfig' /usr/local/lib/libglut.a(glut_get.o)(.text+0x815):/home/Administrator/Mesa-5 .0/s rc-glut/glut_get.c:182: undefined reference to `_XFree' collect2: ld returned 1 exit status Very long, sorry =( -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/