[Xcb] Problem compiling -lxcb -static

Iain McFarlane iain at imcfarla.homelinux.net
Thu Feb 21 23:48:43 PST 2008


Hello,

I am trying to compile the host target for mvpmc http://www.mvpmc.org/

when it gets to the linking stage:
gcc -o src/obj/host/mvpmc -static src/obj/host/audio.o src/obj/host/colorlist.o src/obj/host/config.o src/obj/host/display.o src/obj/host/emulate.o src/obj/host/fb.o src/obj/host/gui.o src/obj/host/http_stream.o src/obj/host/main.o src/obj/host/mclient.o src/obj/host/mclient_mvpmc.o src/obj/host/mclient_cli.o src/obj/host/mythtv.o src/obj/host/mythtv_livetv.o src/obj/host/splash2.o src/obj/host/tvguide.o src/obj/host/playlist.o src/obj/host/replaytv.o src/obj/host/theme.o src/obj/host/video.o src/obj/host/version.o src/obj/host/vlc_control.o src/obj/host/web_config.o src/obj/host/wss.o src/obj/host/weather.o -Ldongle/install/host/lib -Ldongle/install/host/lib/mysql -L/usr/X11R6/lib -lwidget -lnano-X -lmwengine -lmwdrivers -lmwfonts -lreplaytv -lexpat -losd -lav -ldemux -lcmyth -lrefmem -lvnc -lmysqlclient -lpng12 -lz -ljpeg -lm -lgcc -lpthread -la52 -lm -lvorbisidec -lid3 -lts_demux -ldvbpsi -lX11 -lxcb -lpthread -lrt -lXau -ldl -lXdmcp

I get the following errors:
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_lock.o): In function `_XPutXCBBuffer':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_lock.c:181: undefined reference to `xcb_get_request_sent'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_lock.o): In function `issue_complete_request':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_lock.c:145: undefined reference to `xcb_get_request_sent'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_lock.o): In function `_XGetXCBBuffer':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_lock.c:68: undefined reference to `xcb_get_request_sent'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_lock.o): In function `_XCBUnlockDisplay':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_lock.c:41: undefined reference to `xcb_xlib_unlock'
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_lock.c:33: undefined reference to `xcb_get_request_sent'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_lock.o): In function `_XCBLockDisplay':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_lock.c:21: undefined reference to `xcb_xlib_lock'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_io.o): In function `condition_wait':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_io.c:74: undefined reference to `xcb_xlib_unlock'
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_io.c:76: undefined reference to `xcb_xlib_lock'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libX11.a(xcb_io.o): In function `_XReply':
/home/mandrake/rpm/BUILD/libX11-1.1.3/src/xcb_io.c:361: undefined reference to `xcb_xlib_unlock

Can anyone help me?

Regards,

Iain


More information about the Xcb mailing list