<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
<br>
When i try to compile a a simple project, the linker complains:<br>
<br>
<blockquote>Linking demo<br>
/usr/bin/ld: warning: link.res contains output sections; did you
forget -T?<br>
/usr/local/lib64/libX11.a(xcb_io.o): In function
`process_responses':<br>
(.text+0x4f9): undefined reference to `xcb_xlib_unlock'<br>
/usr/local/lib64/libX11.a(xcb_io.o): In function
`process_responses':<br>
(.text+0x522): undefined reference to `xcb_xlib_lock'<br>
/usr/local/lib64/libX11.a(xcb_io.o): In function `_XReply':<br>
(.text+0x9ec): undefined reference to `xcb_xlib_unlock'<br>
/usr/local/lib64/libX11.a(xcb_lock.o): In function
`_XPutXCBBuffer':<br>
(.text+0xcb): undefined reference to `xcb_get_request_sent'<br>
/usr/local/lib64/libX11.a(xcb_lock.o): In function
`_XPutXCBBuffer':<br>
(.text+0x41f): undefined reference to `xcb_get_request_sent'<br>
/usr/local/lib64/libX11.a(xcb_lock.o): In function
`_XGetXCBBuffer':<br>
(.text+0x5f5): undefined reference to `xcb_get_request_sent'<br>
/usr/local/lib64/libX11.a(xcb_lock.o): In function
`_XCBUnlockDisplay':<br>
(.text+0x73c): undefined reference to `xcb_xlib_unlock'<br>
/usr/local/lib64/libX11.a(xcb_lock.o): In function
`_XCBUnlockDisplay':<br>
(.text+0x760): undefined reference to `xcb_get_request_sent'<br>
/usr/local/lib64/libX11.a(xcb_lock.o): In function
`_XCBLockDisplay':<br>
(.text+0x80c): undefined reference to `xcb_xlib_lock'<br>
demo.lpr(20,1) Error: Error while linking<br>
demo.lpr(20,1) Fatal: There were 1 errors compiling module,
stopping<br>
TMessagesView.CollectLineParts WARNING: 28<>8
SrcLine=demo.lpr(20,1) Fatal: There were 1 errors compiling
module, stopping<br>
</blockquote>
<br>
I'm on openSuse 12.2, using lazarus-1.0.6-0 and fpc-2.6.0-2.<br>
What library am i missing?<br>
<br>
<br>
Thanks<br>
<br>
--<br>
<div class="moz-signature">Ivo Carrajola<br>
</div>
</body>
</html>