Hello,

When i try to compile a a simple project, the linker complains:

   Linking demo
   /usr/bin/ld: warning: link.res contains output sections; did you
   forget -T?
   /usr/local/lib64/libX11.a(xcb_io.o): In function `process_responses':
   (.text+0x4f9): undefined reference to `xcb_xlib_unlock'
   /usr/local/lib64/libX11.a(xcb_io.o): In function `process_responses':
   (.text+0x522): undefined reference to `xcb_xlib_lock'
   /usr/local/lib64/libX11.a(xcb_io.o): In function `_XReply':
   (.text+0x9ec): undefined reference to `xcb_xlib_unlock'
   /usr/local/lib64/libX11.a(xcb_lock.o): In function `_XPutXCBBuffer':
   (.text+0xcb): undefined reference to `xcb_get_request_sent'
   /usr/local/lib64/libX11.a(xcb_lock.o): In function `_XPutXCBBuffer':
   (.text+0x41f): undefined reference to `xcb_get_request_sent'
   /usr/local/lib64/libX11.a(xcb_lock.o): In function `_XGetXCBBuffer':
   (.text+0x5f5): undefined reference to `xcb_get_request_sent'
   /usr/local/lib64/libX11.a(xcb_lock.o): In function `_XCBUnlockDisplay':
   (.text+0x73c): undefined reference to `xcb_xlib_unlock'
   /usr/local/lib64/libX11.a(xcb_lock.o): In function `_XCBUnlockDisplay':
   (.text+0x760): undefined reference to `xcb_get_request_sent'
   /usr/local/lib64/libX11.a(xcb_lock.o): In function `_XCBLockDisplay':
   (.text+0x80c): undefined reference to `xcb_xlib_lock'
   demo.lpr(20,1) Error: Error while linking
   demo.lpr(20,1) Fatal: There were 1 errors compiling module, stopping
   TMessagesView.CollectLineParts WARNING: 28<>8 SrcLine=demo.lpr(20,1)
   Fatal: There were 1 errors compiling module, stopping


I'm on openSuse 12.2, using lazarus-1.0.6-0 and fpc-2.6.0-2.
What library am i missing?


Thanks

--
Ivo Carrajola
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to