Version: svn (using Devel) Compiler: gcc (GCC) 4.3.5 20091012 OS: Linux Installed from: Compiled sources hi, compilation error in kdebase/workspace, svn as of 10/14/09. Compilation fails with libXi version 1.2.99.4 Linking CXX shared module ../../../lib/kcm_keyboard_layout.so CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)': kdebase-101409-svn/workspace/kcontrol/kxkb/x11helper.cpp:413: undefined reference to `_XiGetDevicePresenceNotifyEvent' kdebase-101409-svn/workspace/kcontrol/kxkb/x11helper.cpp:414: undefined reference to `XSelectExtensionEvent' CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::isNewDeviceEvent(_XEvent*)': kdebase-101409-svn/workspace/kcontrol/kxkb/x11helper.cpp:388: undefined reference to `XListInputDevices' kdebase-101409-svn/workspace/kcontrol/kxkb/x11helper.cpp:399: undefined reference to `XFreeDeviceList' collect2: ld returned 1 exit status make[2]: *** [lib/kcm_keyboard_layout.so] Error 1 make[1]: *** [workspace/kcontrol/kxkb/CMakeFiles/kcm_keyboard_layout.dir/all] Error 2 make: *** [all] Error 2 looking through the Xinput.h produces this grep "DevicePresence(" -A 5 /usr/X11R6/include/X11/extensions/XInput.h #define DevicePresence(dpy, type, _class) \ { \ type = _XiGetDevicePresenceNotifyEvent(dpy); \ _class = (0x10000 | _devicePresence); \ }
addendum: the same thing happens when compiling 4.3.2 stable kdebase.
Can you please confirm if this is still valid?
Is it still a problem with 4.4 or trunk?
Can't reproduce it with 4.4 or trunk.