gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_DONT_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o zoo.o zoo.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_DONT_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o gameevent.o gameevent.c gcc bl.o initdisp.o initgc.o initwin.o options.o bloc.o transfo.o initbuffer.o help.o demo.o movingbloc.o loop.o draw.o opbloc.o realtime.o initbloc.o menu.o initmenu.o score.o sound.o buttons.o movingbutton.o zoo.o gameevent.o -lm -o bl bl.o(.text+0x3d2): In function `main': : undefined reference to `XCreateBitmapFromData' bl.o(.text+0x406): In function `main': : undefined reference to `XrmGetFileDatabase' bl.o(.text+0x448): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0x52f): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0x616): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0x6b9): In function `main': : undefined reference to `XrmGetFileDatabase' bl.o(.text+0x6fb): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0x7e2): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0x8c9): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0x94c): In function `main': : undefined reference to `XResourceManagerString' bl.o(.text+0x95c): In function `main': : undefined reference to `XrmGetStringDatabase' bl.o(.text+0x99e): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0xa85): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0xb6c): In function `main': : undefined reference to `XrmGetResource' bl.o(.text+0xeec): In function `main': : undefined reference to `XFlush' bl.o(.text+0x10ac): In function `main': : undefined reference to `XSynchronize' bl.o(.text+0x11e8): In function `quitprog': : undefined reference to `XSync' bl.o(.text+0x11f6): In function `quitprog': : undefined reference to `XCloseDisplay' bl.o(.text+0x1446): In function `quitprog': : undefined reference to `XDestroyWindow' bl.o(.text+0x145d): In function `quitprog': : undefined reference to `XDestroyWindow' bl.o(.text+0x1474): In function `quitprog': : undefined reference to `XDestroyWindow' bl.o(.text+0x152f): In function `speedtest': : undefined reference to `XNextEvent' bl.o(.text+0x1699): In function `speedtest': : undefined reference to `XSync' bl.o(.text+0x16c6): In function `speedtest': : undefined reference to `XSync' bl.o(.text+0x16f3): In function `speedtest': : undefined reference to `XSync' bl.o(.text+0x1720): In function `speedtest': : undefined reference to `XSync' bl.o(.text+0x174d): In function `speedtest': : undefined reference to `XSync' bl.o(.text+0x18ad): In function `getres': : undefined reference to `XrmGetResource' bl.o(.text+0x1988): In function `getres': : undefined reference to `XrmGetResource' bl.o(.text+0x1a63): In function `getres': : undefined reference to `XrmGetResource' initdisp.o(.text+0x27): In function `SymCode': : undefined reference to `XDisplayKeycodes' initdisp.o(.text+0x50): In function `SymCode': : undefined reference to `XGetKeyboardMapping' initdisp.o(.text+0x380): In function `initdisp': : undefined reference to `XOpenDisplay' initdisp.o(.text+0x45c): In function `initdisp': : undefined reference to `XOpenDisplay' initdisp.o(.text+0x4d2): In function `initdisp2': : undefined reference to `XWhitePixel' initdisp.o(.text+0x4e6): In function `initdisp2': : undefined reference to `XBlackPixel' initdisp.o(.text+0x5aa): In function `initdisp2': : undefined reference to `XGetVisualInfo' initdisp.o(.text+0x62f): In function `initdisp2': : undefined reference to `XCreateColormap' initgc.o(.text+0x37c): In function `initgc': : undefined reference to `XCreateBitmapFromData' initgc.o(.text+0x3c0): In function `initgc': : undefined reference to `XCreatePixmapFromBitmapData' initgc.o(.text+0x442): In function `initgc': : undefined reference to `XCreatePixmapFromBitmapData' initgc.o(.text+0x48b): In function `initgc': : undefined reference to `XCreatePixmapFromBitmapData' initgc.o(.text+0x4d4): In function `initgc': : undefined reference to `XCreatePixmapFromBitmapData' initgc.o(.text+0x51d): In function `initgc': : undefined reference to `XCreatePixmapFromBitmapData' initgc.o(.text+0x566): more undefined references to `XCreatePixmapFromBitmapData' follow initgc.o(.text+0x611): In function `initgc': : undefined reference to `XCreateGC' initgc.o(.text+0x668): In function `initgc': : undefined reference to `XCreateGC' initgc.o(.text+0x6be): In function `initgc': : undefined reference to `XCreateGC' initgc.o(.text+0x702): In function `initgc': : undefined reference to `XCreateGC' initgc.o(.text+0x756): In function `initgc': : undefined reference to `XCreateGC' initgc.o(.text+0x78c): more undefined references to `XCreateGC' follow initgc.o(.text+0xe4a): In function `initgc': : undefined reference to `XQueryColors' initgc.o(.text+0x1e32): In function `initgc': : undefined reference to `XStoreColors' initgc.o(.text+0x1fa9): In function `initgc': : undefined reference to `XAllocColorCells' initgc.o(.text+0x25f2): In function `initgc': : undefined reference to `XStoreColors' initgc.o(.text+0x2973): In function `initgc': : undefined reference to `XStoreColors' initwin.o(.text+0x40): In function `initwin': : undefined reference to `XCreateBitmapFromData' initwin.o(.text+0x8b): In function `initwin': : undefined reference to `XCopyColormapAndFree' initwin.o(.text+0x103): In function `initwin': : undefined reference to `XAllocColorCells' initwin.o(.text+0x1b8): In function `initwin': : undefined reference to `XQueryColors' initwin.o(.text+0x218): In function `initwin': : undefined reference to `XStoreColors' initwin.o(.text+0x328): In function `initwin': : undefined reference to `XCreateWindow' initwin.o(.text+0x349): In function `initwin': : undefined reference to `XSetWindowColormap' initwin.o(.text+0x3a4): In function `initwin': : undefined reference to `XSetWMClientMachine' initwin.o(.text+0x428): In function `initwin': : undefined reference to `XSetWMNormalHints' initwin.o(.text+0x447): In function `initwin': : undefined reference to `XMapWindow' initwin.o(.text+0x5ad): In function `initwin': : undefined reference to `XCopyColormapAndFree' initwin.o(.text+0x617): In function `initwin': : undefined reference to `XAllocColorCells' initwin.o(.text+0x6b8): In function `initwin': : undefined reference to `XQueryColors' initwin.o(.text+0x717): In function `initwin': : undefined reference to `XStoreColors' initwin.o(.text+0x1581): In function `setargs': : undefined reference to `XSetWMProperties' initwin.o(.text+0x1669): In function `setargs': : undefined reference to `XQueryTree' initwin.o(.text+0x16b8): In function `setargs': : undefined reference to `XGetGeometry' initwin.o(.text+0x16f4): In function `setargs': : undefined reference to `XTranslateCoordinates' initwin.o(.text+0x17c1): In function `setargs': : undefined reference to `XQueryTree' initwin.o(.text+0x180d): In function `setargs': : undefined reference to `XGetGeometry' initwin.o(.text+0x1849): In function `setargs': : undefined reference to `XTranslateCoordinates' initwin.o(.text+0x191c): In function `setargs': : undefined reference to `XQueryTree' initwin.o(.text+0x196b): In function `setargs': : undefined reference to `XGetGeometry' initwin.o(.text+0x19a7): In function `setargs': : undefined reference to `XTranslateCoordinates' initwin.o(.text+0x1a79): In function `setargs': : undefined reference to `XQueryTree' initwin.o(.text+0x1ac1): In function `setargs': : undefined reference to `XGetGeometry' initwin.o(.text+0x1afd): In function `setargs': : undefined reference to `XTranslateCoordinates' initwin.o(.text+0x1df8): In function `restorecolor': : undefined reference to `XAllocColorCells' initwin.o(.text+0x1ea8): In function `restorecolor': : undefined reference to `XQueryColors' initwin.o(.text+0x1f08): In function `restorecolor': : undefined reference to `XStoreColors' bloc.o(.text+0x1488): In function `drawfacebloc': : undefined reference to `XFillPolygon' bloc.o(.text+0x14bd): In function `drawfacebloc': : undefined reference to `XDrawLines' bloc.o(.text+0x1673): In function `drawtranspbloc': : undefined reference to `XFillPolygon' bloc.o(.text+0x1772): In function `drawtranspbloc': : undefined reference to `XDrawSegments' bloc.o(.text+0x1f17): In function `drawpolypolyline': : undefined reference to `XDrawSegments' bloc.o(.text+0x2346): In function `clearlinebloc': : undefined reference to `XDrawSegments' bloc.o(.text+0x24bc): In function `clearlastline': : undefined reference to `XDrawSegments' bloc.o(.text+0x2255): In function `drawlinebloc': : undefined reference to `XDrawSegments' initbuffer.o(.text+0xa2): In function `initbuffer': : undefined reference to `XCreatePixmap' initbuffer.o(.text+0x1ac): In function `initbuffer': : undefined reference to `XCreateSimpleWindow' initbuffer.o(.text+0x1c0): In function `initbuffer': : undefined reference to `XMapWindow' initbuffer.o(.text+0x208): In function `initbuffer': : undefined reference to `XCreatePixmap' initbuffer.o(.text+0x23a): In function `initbuffer': : undefined reference to `XCreatePixmap' initbuffer.o(.text+0x2da): In function `initbuffer': : undefined reference to `XFreePixmap' initbuffer.o(.text+0x2f6): In function `initbuffer': : undefined reference to `XFreePixmap' loop.o(.text+0x66): In function `loop': : undefined reference to `XPending' loop.o(.text+0x80): In function `loop': : undefined reference to `XNextEvent' loop.o(.text+0x194): In function `loop': : undefined reference to `XSync' loop.o(.text+0x8fc): In function `splash': : undefined reference to `XStoreName' loop.o(.text+0xa75): In function `splash': : undefined reference to `XSync' loop.o(.text+0xb0d): In function `splash': : undefined reference to `XSync' loop.o(.text+0xd9b): In function `startgame': : undefined reference to `XCheckWindowEvent' loop.o(.text+0xdba): In function `startgame': : undefined reference to `XSync' loop.o(.text+0xf57): In function `endgame': : undefined reference to `XMapWindow' loop.o(.text+0xf69): In function `endgame': : undefined reference to `XRaiseWindow' loop.o(.text+0xfc6): In function `endgame': : undefined reference to `XFlush' loop.o(.text+0x1037): In function `endgame': : undefined reference to `XPending' loop.o(.text+0x104a): In function `endgame': : undefined reference to `XNextEvent' draw.o(.text+0x90): In function `updatescreen': : undefined reference to `XCopyArea' draw.o(.text+0x19d): In function `updatescreen': : undefined reference to `XInstallColormap' draw.o(.text+0x26f): In function `updatework': : undefined reference to `XCopyArea' draw.o(.text+0x329): In function `updatework': : undefined reference to `XFillRectangle' draw.o(.text+0xf6f): In function `drawback': : undefined reference to `XFillRectangle' draw.o(.text+0x1027): In function `drawback': : undefined reference to `XSetTile' draw.o(.text+0x1047): In function `drawback': : undefined reference to `XSetTile' draw.o(.text+0x108d): In function `drawback': : undefined reference to `XClearWindow' draw.o(.text+0x10fa): In function `drawback': : undefined reference to `XFillRectangle' draw.o(.text+0x1178): In function `drawback': : undefined reference to `XCopyArea' draw.o(.text+0x11bf): In function `drawback': : undefined reference to `XFillRectangle' draw.o(.text+0x1442): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x1508): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x155f): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x15a8): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x15e9): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x162f): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1670): more undefined references to `XDrawString' follow draw.o(.text+0x1727): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x17ed): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1842): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x188e): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x18d2): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1922): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x196d): more undefined references to `XDrawString' follow draw.o(.text+0x1a24): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x1aed): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1b47): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1b95): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1be5): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1c3a): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1c80): more undefined references to `XDrawString' follow draw.o(.text+0x1e4c): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x1f12): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1f64): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x1fb9): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2001): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2053): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2096): more undefined references to `XDrawString' follow draw.o(.text+0x214d): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x220e): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2263): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x22bb): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2306): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x235b): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x23a1): more undefined references to `XDrawString' follow draw.o(.text+0x2458): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x2526): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2576): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x25ce): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2614): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x266e): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x26b9): more undefined references to `XDrawString' follow draw.o(.text+0x273c): In function `drawrealback': : undefined reference to `XCreateGC' draw.o(.text+0x2760): In function `drawrealback': : undefined reference to `XCreateGC' draw.o(.text+0x278d): In function `drawrealback': : undefined reference to `XCopyGC' draw.o(.text+0x27b0): In function `drawrealback': : undefined reference to `XCopyGC' draw.o(.text+0x27e1): In function `drawrealback': : undefined reference to `XChangeGC' draw.o(.text+0x2808): In function `drawrealback': : undefined reference to `XChangeGC' draw.o(.text+0x2839): In function `drawrealback': : undefined reference to `XCreateGC' draw.o(.text+0x285a): In function `drawrealback': : undefined reference to `XCreateGC' draw.o(.text+0x2887): In function `drawrealback': : undefined reference to `XCopyGC' draw.o(.text+0x28af): In function `drawrealback': : undefined reference to `XCopyGC' draw.o(.text+0x28e0): In function `drawrealback': : undefined reference to `XChangeGC' draw.o(.text+0x2907): In function `drawrealback': : undefined reference to `XChangeGC' draw.o(.text+0x2a76): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x2b3c): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2b93): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2be3): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2c26): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2c7d): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2cc0): more undefined references to `XDrawString' follow draw.o(.text+0x2d77): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x2e2f): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2e86): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2ed3): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2f18): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2f62): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x2fa7): more undefined references to `XDrawString' follow draw.o(.text+0x3058): In function `drawrealback': : undefined reference to `XTextExtents' draw.o(.text+0x30fd): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x3148): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x318c): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x31cb): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x320c): In function `drawrealback': : undefined reference to `XDrawString' draw.o(.text+0x324b): more undefined references to `XDrawString' follow draw.o(.text+0x3290): In function `drawrealback': : undefined reference to `XCreateGC' draw.o(.text+0x32b1): In function `drawrealback': : undefined reference to `XCreateGC' draw.o(.text+0x32de): In function `drawrealback': : undefined reference to `XCopyGC' draw.o(.text+0x3306): In function `drawrealback': : undefined reference to `XCopyGC' draw.o(.text+0x3332): In function `drawrealback': : undefined reference to `XChangeGC' draw.o(.text+0x335e): In function `drawrealback': : undefined reference to `XChangeGC' draw.o(.text+0x33ad): In function `tstgc': : undefined reference to `XFillRectangle' draw.o(.text+0x33ec): In function `tstgc': : undefined reference to `XFillRectangle' draw.o(.text+0x342b): In function `tstgc': : undefined reference to `XFillRectangle' draw.o(.text+0x346a): In function `tstgc': : undefined reference to `XFillRectangle' draw.o(.text+0x34a9): In function `tstgc': : undefined reference to `XFillRectangle' draw.o(.text+0x34e8): more undefined references to `XFillRectangle' follow draw.o(.text+0x3733): In function `ShadowText': : undefined reference to `XTextExtents' draw.o(.text+0x37c9): In function `ShadowText': : undefined reference to `XDrawString' draw.o(.text+0x3809): In function `ShadowText': : undefined reference to `XDrawString' draw.o(.text+0x3845): In function `ShadowText': : undefined reference to `XDrawString' draw.o(.text+0x387e): In function `ShadowText': : undefined reference to `XDrawString' draw.o(.text+0x38ba): In function `ShadowText': : undefined reference to `XDrawString' draw.o(.text+0x38f3): more undefined references to `XDrawString' follow draw.o(.text+0x3a91): In function `drawrealback_': : undefined reference to `XTextExtents' draw.o(.text+0x3b57): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3bae): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3bf7): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3c38): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3c7e): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3cbf): more undefined references to `XDrawString' follow draw.o(.text+0x3d76): In function `drawrealback_': : undefined reference to `XTextExtents' draw.o(.text+0x3e2e): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3e85): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3ecd): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3f17): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3f66): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x3fa6): more undefined references to `XDrawString' follow draw.o(.text+0x4057): In function `drawrealback_': : undefined reference to `XTextExtents' draw.o(.text+0x40fc): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x4142): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x418b): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x41ca): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x4210): In function `drawrealback_': : undefined reference to `XDrawString' draw.o(.text+0x424a): more undefined references to `XDrawString' follow draw.o(.text+0x42bc): In function `drawrealback_': : undefined reference to `XCreateGC' draw.o(.text+0x42e0): In function `drawrealback_': : undefined reference to `XCreateGC' draw.o(.text+0x430d): In function `drawrealback_': : undefined reference to `XCopyGC' draw.o(.text+0x4330): In function `drawrealback_': : undefined reference to `XCopyGC' draw.o(.text+0x4361): In function `drawrealback_': : undefined reference to `XChangeGC' draw.o(.text+0x4388): In function `drawrealback_': : undefined reference to `XChangeGC' draw.o(.text+0x3671): In function `tstgc': : undefined reference to `XFlush' menu.o(.text+0x1f6): In function `menuevent': : undefined reference to `XSetWMNormalHints' initmenu.o(.text+0x1424): In function `initzoo': : undefined reference to `XCreateWindow' initmenu.o(.text+0x143c): In function `initzoo': : undefined reference to `XSetWindowColormap' initmenu.o(.text+0x1494): In function `initzoo': : undefined reference to `XSetStandardProperties' initmenu.o(.text+0x1512): In function `initzoo': : undefined reference to `XSetWMNormalHints' initmenu.o(.text+0x165f): In function `initmenuwindow': : undefined reference to `XCreateWindow' initmenu.o(.text+0x167c): In function `initmenuwindow': : undefined reference to `XSetWindowColormap' initmenu.o(.text+0x16d7): In function `initmenuwindow': : undefined reference to `XSetStandardProperties' initmenu.o(.text+0x1726): In function `initmenuwindow': : undefined reference to `XSetWMNormalHints' initmenu.o(.text+0x174d): In function `initmenuwindow': : undefined reference to `XMapWindow' initmenu.o(.text+0x1acc): In function `inittext': : undefined reference to `XLoadQueryFont' initmenu.o(.text+0x1add): In function `inittext': : undefined reference to `XLoadFont' initmenu.o(.text+0x1b3e): In function `inittext': : undefined reference to `XLoadQueryFont' initmenu.o(.text+0x1b54): In function `inittext': : undefined reference to `XLoadFont' initmenu.o(.text+0x1c04): In function `inittext': : undefined reference to `XLoadQueryFont' initmenu.o(.text+0x1c15): In function `inittext': : undefined reference to `XLoadFont' initmenu.o(.text+0x1c97): In function `inittext': : undefined reference to `XCreateGC' initmenu.o(.text+0x1cc1): In function `inittext': : undefined reference to `XCreateGC' initmenu.o(.text+0x1ced): In function `inittext': : undefined reference to `XCreateGC' initmenu.o(.text+0x1d29): In function `inittext': : undefined reference to `XTextExtents' initmenu.o(.text+0x1e79): In function `createhelpbitmap': : undefined reference to `XCreateBitmapFromData' score.o(.text+0x3f2): In function `displayscore': : undefined reference to `XClearWindow' score.o(.text+0x4b1): In function `displayscore': : undefined reference to `XDrawString' score.o(.text+0x577): In function `displayscore': : undefined reference to `XDrawString' score.o(.text+0x70a): In function `displayscore': : undefined reference to `XDrawString' score.o(.text+0x7a6): In function `displayscore': : undefined reference to `XTextExtents' score.o(.text+0x7f3): In function `displayscore': : undefined reference to `XDrawRectangle' score.o(.text+0xfbd): In function `scorewin': : undefined reference to `XTextExtents' score.o(.text+0x1074): In function `scorewin': : undefined reference to `XCreateWindow' score.o(.text+0x10eb): In function `scorewin': : undefined reference to `XSetStandardProperties' score.o(.text+0x1102): In function `scorewin': : undefined reference to `XSetWindowColormap' score.o(.text+0x1150): In function `scorewin': : undefined reference to `XSetWMNormalHints' score.o(.text+0x11f2): In function `scoreevent': : undefined reference to `XCheckWindowEvent' score.o(.text+0x12fc): In function `scoreevent': : undefined reference to `XSetWMNormalHints' sound.o(.text+0x69): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0xa8): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0xb4): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x112): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x11e): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x182): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x18e): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x212): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x21e): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x282): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x28e): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x302): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x30e): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x382): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x38e): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x414): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x420): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x494): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x4a0): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x514): In function `playsound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x520): In function `playsound': : undefined reference to `XBell' sound.o(.text+0x59c): In function `setbell': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x5c4): In function `savebell': : undefined reference to `XGetKeyboardControl' sound.o(.text+0x600): In function `restorebell': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x640): In function `sound': : undefined reference to `XChangeKeyboardControl' sound.o(.text+0x650): In function `sound': : undefined reference to `XBell' buttons.o(.text+0xda): In function `fctland': : undefined reference to `XDrawRectangle' buttons.o(.text+0x148): In function `fctland': : undefined reference to `XFillRectangle' buttons.o(.text+0x19f): In function `fctland': : undefined reference to `XFillRectangle' buttons.o(.text+0xdc4): In function `displaynextpiece': : undefined reference to `XFillRectangle' buttons.o(.text+0x156f): In function `displaystairs': : undefined reference to `XDrawRectangle' buttons.o(.text+0x15cf): In function `displaystairs': : undefined reference to `XFillRectangle' buttons.o(.text+0x161b): In function `displaystairs': : undefined reference to `XFillRectangle' buttons.o(.text+0x19da): In function `fctdepth': : undefined reference to `XDrawRectangle' buttons.o(.text+0x1a48): In function `fctdepth': : undefined reference to `XFillRectangle' buttons.o(.text+0x1a9a): In function `fctdepth': : undefined reference to `XFillRectangle' buttons.o(.text+0x1ce2): In function `fctcopyright': : undefined reference to `XFlush' buttons.o(.text+0x1f0c): In function `fctzoo': : undefined reference to `XUnmapWindow' buttons.o(.text+0x1f3d): In function `fctzoo': : undefined reference to `XMapWindow' buttons.o(.text+0x1f82): In function `fctscore': : undefined reference to `XUnmapWindow' buttons.o(.text+0x1fb3): In function `fctscore': : undefined reference to `XMapWindow' buttons.o(.text+0x2117): In function `displayhelp': : undefined reference to `XTextExtents' buttons.o(.text+0x2197): In function `displayhelp': : undefined reference to `XDrawString' buttons.o(.text+0x21fc): In function `displayhelp': : undefined reference to `XCopyPlane' movingbutton.o(.text+0x6d): In function `button_extent': : undefined reference to `XTextExtents' movingbutton.o(.text+0x3e9): In function `display_button': : undefined reference to `XDrawLines' movingbutton.o(.text+0x458): In function `display_button': : undefined reference to `XDrawLines' movingbutton.o(.text+0x4c7): In function `display_button': : undefined reference to `XDrawLines' movingbutton.o(.text+0x536): In function `display_button': : undefined reference to `XDrawLines' movingbutton.o(.text+0x60a): In function `display_button': : undefined reference to `XChangeGC' movingbutton.o(.text+0x66a): In function `display_button': : undefined reference to `XDrawString' movingbutton.o(.text+0x6de): In function `display_button': : undefined reference to `XTextExtents' movingbutton.o(.text+0x7d5): In function `display_button': : undefined reference to `XDrawRectangle' movingbutton.o(.text+0x81a): In function `display_button': : undefined reference to `XFillRectangle' movingbutton.o(.text+0x854): In function `display_button': : undefined reference to `XFillPolygon' movingbutton.o(.text+0x891): In function `display_button': : undefined reference to `XFillPolygon' movingbutton.o(.text+0x8ce): In function `display_button': : undefined reference to `XFillPolygon' movingbutton.o(.text+0x90b): In function `display_button': : undefined reference to `XFillPolygon' movingbutton.o(.text+0x942): In function `display_button': : undefined reference to `XDrawRectangle' movingbutton.o(.text+0xac7): In function `init_movinggc': : undefined reference to `XCreateBitmapFromData' movingbutton.o(.text+0xaf1): In function `init_movinggc': : undefined reference to `XCreateBitmapFromData' movingbutton.o(.text+0xb1b): In function `init_movinggc': : undefined reference to `XCreateBitmapFromData' movingbutton.o(.text+0xb45): In function `init_movinggc': : undefined reference to `XCreateBitmapFromData' movingbutton.o(.text+0xb6f): In function `init_movinggc': : undefined reference to `XCreateBitmapFromData' movingbutton.o(.text+0xb99): more undefined references to `XCreateBitmapFromData' follow movingbutton.o(.text+0xd8d): In function `init_movinggc': : undefined reference to `XCreateGC' movingbutton.o(.text+0xdcf): In function `init_movinggc': : undefined reference to `XCreateGC' movingbutton.o(.text+0xe1c): In function `init_movinggc': : undefined reference to `XCreateGC' movingbutton.o(.text+0xe43): In function `init_movinggc': : undefined reference to `XCreateGC' zoo.o(.text+0x2aa): In function `displayzoo': : undefined reference to `XDrawString' zoo.o(.text+0x354): In function `displayzoo': : undefined reference to `XClearWindow' zoo.o(.text+0x400): In function `zooevent': : undefined reference to `XClearWindow' zoo.o(.text+0x433): In function `zooevent': : undefined reference to `XSetWMNormalHints' zoo.o(.text+0x4ed): In function `zooevent': : undefined reference to `XCheckWindowEvent' zoo.o(.text+0x740): In function `displaystat': : undefined reference to `XDrawImageString' gameevent.o(.text+0xdf): In function `gameevent': : undefined reference to `XSetWMNormalHints' gameevent.o(.text+0x134): In function `gameevent': : undefined reference to `XSync' gameevent.o(.text+0x7e4): In function `gameevent': : undefined reference to `XLookupString' gameevent.o(.text+0x9fd): In function `gameevent': : undefined reference to `XSync' collect2: ld returned 1 exit status make: *** [bl] Error 1 !!! ERROR: games-puzzle/xblockout-1.1.2 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. emerge xblockout Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc fixpackages sandbox usersandbox" GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 apm arts audiofile avi berkdb bindist cdr crypt cups curl directfb divx4linux dvd dvdr encode esd ethereal fastcgi fbcon flac flash foomaticdb freetype gd gdbm ggi gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imlib java jikes jpeg junit kde lcms ldap libg++ libwww mad memlimit mikmod mmx motif mozilla mpeg msn ncurses nls nocd oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime readline samba sdl slang spell sse ssl svg svga szip tcltk tcpd tiff truetype ttf unicode usb videos wmf x86 xml xml2 xmms xv xvid zlib"
I think you should try to lower optimilizations and compile this one more time.
No way: blackhat root # CFLAGS="-mcpu=i686 -O2" emerge xblockout Calculating dependencies ...done! >>> emerge (1 of 1) games-puzzle/xblockout-1.1.2 to / >>> md5 src_uri ;-) xbl-1.1.2.tar.gz >>> Unpacking source... >>> Unpacking xbl-1.1.2.tar.gz to /var/tmp/portage/xblockout-1.1.2/work >>> Source unpacked. creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -mcpu=i686 -O2 ) works... yes checking whether the C compiler (gcc -mcpu=i686 -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes ...gameevent.o(.text+0xcf): In function `gameevent': : undefined reference to `XSetWMNormalHints' gameevent.o(.text+0x109): In function `gameevent': : undefined reference to `XSync' gameevent.o(.text+0x7b3): In function `gameevent': : undefined reference to `XLookupString' gameevent.o(.text+0x9bf): In function `gameevent': : undefined reference to `XSync' collect2: ld returned 1 exit status make: *** [bl] Error 1 !!! ERROR: games-puzzle/xblockout-1.1.2 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed
Created attachment 34199 [details, diff] Patch on xblockout to work with xorg
Created attachment 34200 [details, diff] patch on ebuild
Check if above patches works when xfree is installed, it should, but for sure check it :)
You meant xorg, not xfree :) Patching the files and testing
The patch was successful. ----- gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o buttons.o buttons.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o movingbutton.o movingbutton.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o zoo.o zoo.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o gameevent.o gameevent.c gcc bl.o initdisp.o initgc.o initwin.o options.o bloc.o transfo.o initbuffer.o help.o demo.o movingbloc.o loop.o draw.o opbloc.o realtime.o initbloc.o menu.o initmenu.o score.o sound.o buttons.o movingbutton.o zoo.o gameevent.o -lm -L/usr/X11R6/lib -lX11 -o bl You can test the play by typing : 'bl' Scores will not be memorized ***----------------------------------------*** *** You must find the best buffering mode *** *** on your host/display. *** *** Same for the button height; on slow *** *** screens, limit yourself to 2 or 1 *** *** You must specify these defaults in the *** *** Xbl.ad file, before typing: *** *** make install *** ***----------------------------------------*** >>> Install xblockout-1.1.2 into /var/tmp/portage/xblockout-1.1.2/image/ category games-puzzle man: prepallstrip: strip: strip: usr/games/bin/xbl >>> Completed installing into /var/tmp/portage/xblockout-1.1.2/image/
patch isnt in portage ;)
I'm sure there's a clever way to fix this with modifications to configure.in but since it's a one-liner I just added it to the sedfoo in the ebuild. Thanks for the patch and bug report.
You can close.
It was closed until you messed with it. ;-)