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

KDE4.6.4 build error....

Tags: None
(comma "," separated)
johndahntu
Registered Member
Posts
1
Karma
0
OS

KDE4.6.4 build error....

Tue Jun 28, 2011 8:36 pm
I'm trying to build my own custom Linux system using the BLFS and LFS books as well as a lot of external resources. I would really like to run KDE4 on my system, but I simply cannot get kdebindings-4.6.4 to compile....

[ 53%] Built target smokeokular
Linking CXX shared library ../../../lib/libqtruby4shared.so
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libruby-static.a(sprintf.o): In function `rb_str_catf':
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/sprintf.c:1236: multiple definition of `rb_str_catf'
CMakeFiles/qtruby4shared.dir/Qt.o:/sources/kde/kdebindings-4.6.4/ruby/qtruby/src/Qt.cpp:479: first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libruby-static.a(string.o): In function `rb_str_crypt':
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/string.c:6766: undefined reference to `crypt'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libruby-static.a(time.o): In function `time_init_0':
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/time.c:1940: undefined reference to `clock_gettime'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libruby-static.a(thread.o): In function `timeofday':
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/thread.c:931: undefined reference to `clock_gettime'
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/thread.c:931: undefined reference to `clock_gettime'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libruby-static.a(thread.o): In function `native_cond_timeout':
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/thread_pthread.c:336: undefined reference to `clock_gettime'
/sources/kde/ruby-1.9.2-p180/newruby2/ruby/thread_pthread.c:336: undefined reference to `clock_gettime'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libruby-static.a(thread.o):/sources/kde/ruby-1.9.2-p180/newruby2/ruby/thread_pthread.c:336: more undefined references to `clock_gettime' follow
collect2: ld returned 1 exit status
make[2]: *** [lib/libqtruby4shared.so.2.0.0] Error 1
make[1]: *** [ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/all] Error 2
make: *** [all] Error 2

Any help would be greatly appreciated =)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE4.6.4 build error....

Tue Jun 28, 2011 11:16 pm
Have you checked that you are using a version of Ruby which is targeted by the KDE Ruby bindings?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]