[Kde-bindings] QtRuby compile error

Lieven De Keyzer lieven_dekeyzer at hotmail.com
Thu Mar 17 12:39:42 UTC 2005


I'm trying to compile Kdebindings version 3.3.2.

When QtRuby is compiling, I get the error:

make[3]: Entering directory 
`/usr/local/src/kde/kdebindings-3.3.2/qtruby/bin'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common    -o qtrubyinit -module -L/usr/X11R6/lib -L/usr/local/qt/lib 
-L/opt/kde/lib  -version-info 0:0:0 -L../../smoke/qt/ -L/usr/local/lib 
qtrubyinit.o -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread 
-Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -L.  ../../smoke/qt/libsmokeqt.la 
../../qtruby/rubylib/qtruby/libqtrubyinternal.la
libtool: link: warning: `-version-info' is ignored for programs
qtrubyinit.o(.text+0xa): In function `main':
: undefined reference to `ruby_init'
qtrubyinit.o(.text+0x18): In function `main':
: undefined reference to `ruby_script'
qtrubyinit.o(.text+0x27): In function `main':
: undefined reference to `ruby_options'
qtrubyinit.o(.text+0x2c): In function `main':
: undefined reference to `ruby_run'
collect2: ld returned 1 exit status

I've read somewhere I should compile Ruby with the --enable-shared flag 
given to ./configure, but that didn't help.

_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl




More information about the Kde-bindings mailing list