Summary: | kdebase workspace Linking Error X11Helper undefined reference XiGetDevicePresenceNotifyEvent libXi | ||
---|---|---|---|
Product: | kxkb | Reporter: | Carlos Quiros <cquiros> |
Component: | general | Assignee: | Andriy Rysin <arysin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Carlos Quiros
2009-02-03 07:17:02 UTC
Could you please paste the output from command: grep "DevicePresence(" -A 5 /usr/include/X11/extensions/XInput.h Hi, This is the output: #define DevicePresence(dpy, type, _class) \ { \ extern int _XiGetDevicePresenceNotifyEvent(Display *); \ type = _XiGetDevicePresenceNotifyEvent(dpy); \ _class = (0x10000 | _devicePresence); \ } ok, so there should be _XiGetDevicePresenceNotifyEvent as it's defined in the header. I guess the only thing I can suggest is to update xorg/xi libraries. There's also chance that the older gcc does not take the "extern C" override in cpp source - in this case you can *temporary* change extern to extern "C" {} in defint to check it out. It compiles and works fine when updating the libXi libraries to 1.2.0 and inputproto to 1.5.0 (Dependency of libXi 1.2.0). Might be good to modify the configure script to check for libXi >= 1.2.0. Thanks, I've added support for _XiGetDevicePresenceNotifyEvent() function to kxkb cmake script. Change pushed in trunk. |