Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-03

Error while compiling

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ivo Carrajola

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: 288 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130307/43f4785e/attachment.html>

Reply by email