Ask Your Question
0

X11 libraries not linking properly for spice-client. libX11-devel installed

asked 2013-11-22 20:40:51 -0600

spartan5127 gravatar image

updated 2014-09-30 09:25:10 -0600

mether gravatar image

I'm trying to install the spice client from the spice virtual desktop interface from source and I don't think the x11 libraries are being found. I also have xorg-x11-drv-intel-devel installed. Following instructions from www.spice-space.org/page/Building_Instructions#Fedora.

[david@wifi-977 client]$ make
  CXXLD    spicec
x11/platform.o: In function `XEventHandler::on_event()':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:311: undefined reference to `XLockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:312: undefined reference to `XPending'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:316: undefined reference to `XNextEvent'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:321: undefined reference to `XFilterEvent'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:325: undefined reference to `XFindContext'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:312: undefined reference to `XPending'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:340: undefined reference to `XUnlockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:336: undefined reference to `XUnlockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:338: undefined reference to `XLockDisplay'
x11/platform.o: In function `x_io_error_handler':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3172: undefined reference to `XDisplayString'
x11/platform.o: In function `set_keyboard_led':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3368: undefined reference to `XkbLockModifiers'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3369: undefined reference to `XFlush'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3376: undefined reference to `XChangeKeyboardControl'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3377: undefined reference to `XFlush'
x11/platform.o: In function `key_bit':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3399: undefined reference to `XKeysymToKeycode'
x11/platform.o: In function `XBaseLocalCursor::set(unsigned long)':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3476: undefined reference to `XDefineCursor'
x11/platform.o: In function `XBaseLocalCursor::~XBaseLocalCursor()':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:3484: undefined reference to `XFreeCursor'
x11/platform.o: In function `atom_name':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:214: undefined reference to `XLockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:216: undefined reference to `XGetAtomName'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:220: undefined reference to `XUnlockDisplay'
x11/platform.o: In function `get_selection':
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2724: undefined reference to `XFree'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2644: undefined reference to `XLockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2647: undefined reference to `XGetWindowProperty'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2648: undefined reference to `XUnlockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2644: undefined reference to `XLockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2647: undefined reference to `XGetWindowProperty'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2648: undefined reference to `XUnlockDisplay'
/home/david/programming/notRepoPCC/spice/client/x11/platform.cpp:2668: undefined reference to `XDeleteProperty'
/home/david/programming/notRepoPCC/spice/client/x11/platform ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-22 23:39:08 -0600

spartan5127 gravatar image

Apparently there is an option in the configure.ac in a parent directory that you could enable to get this working properly. For any future people who stumble onto this question, just switch the "enable client" option in the configure.ac in the spice directory to "yes".

I blame my lack of experience with autoreconf and make files for the long length of time it took me to figure this out.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-11-22 20:40:51 -0600

Seen: 1,105 times

Last updated: Nov 22 '13