| Summary: | compile error in kdebase-workspace libXi-1.2.99.4 | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | cheryl |
| Component: | kcm_keyboard_layout | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | arysin, cheryl, rakuco |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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. |
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); \ }