This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kdebase:latest svn doesn't compile

Tags: None
(comma "," separated)
tasoss
Registered Member
Posts
3
Karma
0

kdebase:latest svn doesn't compile

Mon Jan 26, 2009 6:59 pm
Hello people and nice to meet you.
For at least two weeks now i can't compile kdebase anymore.
Currently i have the following problem:

Linking CXX shared module ../../../lib/kcm_keyboard_layout.so
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
/home/kde-devel/kde/src/KDE/kdebase/workspace/kcontrol/kxkb/x11helper.cpp:413: undefined reference to `_XiGetDevicePresenceNotifyEvent'
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[1]: *** Waiting for unfinished jobs....
Linking CXX shared module ../../../../lib/plasma_wallpaper_image.so
[ 70%] Built target plasma_wallpaper_image
make: *** [all] Error 2


Any ideas?Thank you :)
hartwigj
Registered Member
Posts
12
Karma
0
OS
Hi.

Have you seen my thread (just created am hour before you)?
Can't compile too. But I get another error...
tasoss
Registered Member
Posts
3
Karma
0
hartwigj wrote:Hi.

Have you seen my thread (just created am hour before you)?
Can't compile too. But I get another error...


hello.yes i have seen it.maybe we do something wrong...but again i was able to build kde before.
waiting for a reply.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Have you tried to build with a clean build directory?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Also breakages in build do not usually last long. They can sometimes be fixed within the couple of hours following the commit that broke the build. I can only suggest 'svn up' and trying again.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
tasoss
Registered Member
Posts
3
Karma
0
thank you.
i have problems again today.
Linking CXX shared module ../../../lib/kcm_keyboard_layout.so
Linking CXX shared library ../../../lib/libkdeinit4_kxkb.so
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
/home/kde-devel/kde/src/KDE/kdebase/workspace/kcontrol/kxkb/x11helper.cpp:413: undefined reference to `_XiGetDevicePresenceNotifyEvent'
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[1]: *** Waiting for unfinished jobs....
CMakeFiles/kdeinit_kxkb.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
/home/kde-devel/kde/src/KDE/kdebase/workspace/kcontrol/kxkb/x11helper.cpp:413: undefined reference to `_XiGetDevicePresenceNotifyEvent'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdeinit4_kxkb.so] Error 1
make[1]: *** [workspace/kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/all] Error 2
make: *** [all] Error 2

i will try with a clean build dir and let you know.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It appears that some X libraries may be out of date with your development packages. Ensure your system is fully updated.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
sutashu
Registered Member
Posts
2
Karma
0
It's not only with SVN version, I try to install the "stable" 4.2 in Gentoo and get the same thing.

The problem is that it tries to link against libXi, which doesn't seem to export _XiGetDevicePresenceNotifyEvent.

I found this files as bug on some OpenSolaris pages, but I still don't know how to deal with it. When I do, I will post it here.
sutashu
Registered Member
Posts
2
Karma
0
So, after hours of sweating, I did it.

@bcooksley:
I forgot to add that all my libraries were up to date. I upgraded them just before trying to compile KDE.

libXi did export _XiGetDevicePresenceNotifyEvent, but KDE somehow could not link against it (even though there was -lXi in the failing command). I don't really know why.

But. I switched to libXi from the freedesktop git repository and now all compiles fine. For the record, I used libXi 1.2.0 before.

sutashu wrote:It's not only with SVN version, I try to install the "stable" 4.2 in Gentoo and get the same thing.

The problem is that it tries to link against libXi, which doesn't seem to export _XiGetDevicePresenceNotifyEvent.

I found this files as bug on some OpenSolaris pages, but I still don't know how to deal with it. When I do, I will post it here.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Glad to hear you managed to resolve the problem. Could you please mark the thread as solved if it is fully resolved? Thanks in advance.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
cquiros
Registered Member
Posts
5
Karma
0
Hi,

I have the same problem trying to build kdebase-workspace-4.2.0. on Slackware 12.0

I saw sutashu reply on installing libXi 1.2.0 but then lixXi request inputproto >= 1.5.

I have this configuration:
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Slackware 12.0 Slackware Linux Project

I don't know much of X11, but if i install libXi 1.2.0 and its dependencies would if mess up with my current version of X11? Even I am checking the latest X11R7.4 and comes with libXi 1.1.3.

I am a bit confused here :-(

Any help will be appreciated.
MrZammler
Registered Member
Posts
12
Karma
0
Same here. Trying to install 4.2 on Gentoo. Systemsettings always fails:

Code: Select all
[ 23%] Building CXX object kcontrol/kxkb/CMakeFiles/kcm_keyboard_layout.dir/xklavier_adaptor.o
Linking CXX shared module ../../lib/kcm_keyboard_layout.so
Scanning dependencies of target kdeinit_kxkb
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
x11helper.cpp:(.text+0xf2): undefined reference to `_XiGetDevicePresenceNotifyEvent(_XDisplay*)'
collect2: ld returned 1 exit status
make[2]: *** [lib/kcm_keyboard_layout.so] Error 1
make[1]: *** [kcontrol/kxkb/CMakeFiles/kcm_keyboard_layout.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Have libXi 1.1.3, and tried to upgrade most of my X* libs, still no go.

Any ideas?
MrZammler
Registered Member
Posts
12
Karma
0
This might be a gcc issue. I use 3.4.4. Those that did install, what gcc version have you got?

Edit: gcc 4.1.2 compiled it fine.

Last edited by MrZammler on Thu Feb 05, 2009 11:07 am, edited 1 time in total.
cquiros
Registered Member
Posts
5
Karma
0
MrZammler wrote:This might be a gcc issue. I use 3.4.4. Those that did install, what gcc version have you got?

Edit: gcc 4.1.2 compiled it fine.



Hi,

I am using gcc 4.1.2 with Slackware 12.0 and it does not compile it.
dj3mb3
Registered Member
Posts
11
Karma
0
OS
Hi, I has the same problem with Debian sqeeze and gcc 4.3.3-3
(libxi6 1.2.1-2)

[ 71%] Built target plasma_wallpaper_image
Linking CXX shared module ../../../lib/kcm_keyboard_layout.so
Linking CXX shared library ../../../lib/libkdeinit4_kxkb.so
CMakeFiles/kdeinit_kxkb.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
x11helper.cpp:(.text+0xbb): undefined reference to `_XiGetDevicePresenceNotifyEvent'
x11helper.cpp:(.text+0xef): undefined reference to `XSelectExtensionEvent'
CMakeFiles/kdeinit_kxkb.dir/x11helper.o: In function `X11Helper::isNewDeviceEvent(_XEvent*)':
x11helper.cpp:(.text+0x94c): undefined reference to `XListInputDevices'
x11helper.cpp:(.text+0xc99): undefined reference to `XFreeDeviceList'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdeinit4_kxkb.so] Error 1
make[1]: *** [workspace/kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
x11helper.cpp:(.text+0xbb): undefined reference to `_XiGetDevicePresenceNotifyEvent'
x11helper.cpp:(.text+0xef): undefined reference to `XSelectExtensionEvent'
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::isNewDeviceEvent(_XEvent*)':
x11helper.cpp:(.text+0x94c): undefined reference to `XListInputDevices'
x11helper.cpp:(.text+0xc99): 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

Has someone resolve this issue?


dj3mb3, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]