0 کاربر و 1 مهمان درحال مشاهده موضوع.
cc -Os -pedantic -Wall -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -o tinywm tinywm.ctinywm.c: In function ‘main’:tinywm.c:49:51: warning: ‘start.button’ may be used uninitialized in this function [-Wmaybe-uninitialized] attr.x + (start.button==1 ? xdiff : 0), ^tinywm.c:47:19: warning: ‘start.y_root’ may be used uninitialized in this function [-Wmaybe-uninitialized] ydiff = ev.xbutton.y_root - start.y_root; ^tinywm.c:46:19: warning: ‘start.x_root’ may be used uninitialized in this function [-Wmaybe-uninitialized] xdiff = ev.xbutton.x_root - start.x_root; ^/tmp/ccq3dOxl.o: In function `main':tinywm.c:(.text.startup+0x25): undefined reference to `XOpenDisplay'tinywm.c:(.text.startup+0x65): undefined reference to `XStringToKeysym'tinywm.c:(.text.startup+0x6e): undefined reference to `XKeysymToKeycode'tinywm.c:(.text.startup+0x84): undefined reference to `XGrabKey'tinywm.c:(.text.startup+0x9e): undefined reference to `XGrabButton'tinywm.c:(.text.startup+0xb8): undefined reference to `XGrabButton'tinywm.c:(.text.startup+0xc7): undefined reference to `XNextEvent'tinywm.c:(.text.startup+0xe2): undefined reference to `XRaiseWindow'tinywm.c:(.text.startup+0x108): undefined reference to `XGrabPointer'tinywm.c:(.text.startup+0x11b): undefined reference to `XGetWindowAttributes'tinywm.c:(.text.startup+0x14b): undefined reference to `XCheckTypedEvent'tinywm.c:(.text.startup+0x1e6): undefined reference to `XMoveResizeWindow'tinywm.c:(.text.startup+0x201): undefined reference to `XUngrabPointer'collect2: error: ld returned 1 exit statusmake: *** [all] Error 1