[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Copiling Error.
From:       Fernando Lujan <fernando.lujan () mandic ! com ! br>
Date:       2006-02-01 20:02:29
Message-ID: 43E113D5.50307 () mandic ! com ! br
[Download RAW message or body]

Hi all.

I'm trying to compile in a Slackware 10.2 with kde contrib 3.5.1 
packages. I'm receiving the following errors. I guess it's a problem 
with my ruby installation. Can someone help me solve this? Which 
parameter in the configure does disable ruby support?

make[4]: Entering directory `/home/flujan/tmp/koffice-1.4.90/lib/kross/ruby'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++  
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor 
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION 
-DHAVE_KNEWSTUFF -fexceptions   -o krossruby.la -rpath /opt/kde/lib/kde3 
-module -Wl,-R -Wl,/usr/lib -L/usr/lib -L.  -L/opt/kde/lib 
-L/usr/lib/qt/lib -L/usr/X11R6/lib    -avoid-version -module 
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R 
/opt/kde/lib -R /opt/kde/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib  
-version-info 1:0:0  rubyinterpreter.lo rubyextension.lo rubyscript.lo 
rubymodule.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE 
-lpthread -lkdecore ../api/libkrossapi.la ../main/libkrossmain.la
.libs/rubyinterpreter.o(.text+0x2c0): In function 
`Kross::Ruby::RubyInterpreter::RubyInterpreter[not-in-charge](Kross::Api::InterpreterInfo*)':
: undefined reference to `rb_set_safe_level'
.libs/rubyinterpreter.o(.text+0x2f7): In function 
`Kross::Ruby::RubyInterpreter::RubyInterpreter[not-in-charge](Kross::Api::InterpreterInfo*)':
: undefined reference to `rb_set_safe_level'
.libs/rubyinterpreter.o(.text+0x430): In function 
`Kross::Ruby::RubyInterpreter::RubyInterpreter[in-charge](Kross::Api::InterpreterInfo*)':
: undefined reference to `rb_set_safe_level'
.libs/rubyinterpreter.o(.text+0x467): In function 
`Kross::Ruby::RubyInterpreter::RubyInterpreter[in-charge](Kross::Api::InterpreterInfo*)':
: undefined reference to `rb_set_safe_level'
.libs/rubyinterpreter.o(.text+0x686): In function 
`Kross::Ruby::RubyInterpreter::initRuby()':
: undefined reference to `ruby_init'
.libs/rubyinterpreter.o(.text+0x68b): In function 
`Kross::Ruby::RubyInterpreter::initRuby()':
: undefined reference to `ruby_init_loadpath'
.libs/rubyinterpreter.o(.text+0x6a1): In function 
`Kross::Ruby::RubyInterpreter::initRuby()':
: undefined reference to `rb_define_global_function'
.libs/rubyinterpreter.o(.text+0x6d9): In function 
`Kross::Ruby::RubyInterpreter::finalizeRuby()':
: undefined reference to `ruby_finalize'
.libs/rubyinterpreter.o(.text+0x70d): In function 
`Kross::Ruby::RubyInterpreter::require(unsigned long, unsigned long)':
: undefined reference to `rb_string_value_ptr'
.libs/rubyinterpreter.o(.text+0xccc): In function 
`Kross::Ruby::RubyInterpreter::require(unsigned long, unsigned long)':
: undefined reference to `rb_f_require'
.libs/rubyextension.o(.text+0x122): In function 
`Kross::Ruby::RubyExtension::call_method(KSharedPtr<Kross::Api::Object>, 
int, unsigned long*)':
: undefined reference to `rb_id2name'
.libs/rubyextension.o(.text+0x9af): In function 
`Kross::Ruby::RubyExtension::convertHash_i(unsigned long, unsigned long, 
unsigned long)':
: undefined reference to `rb_check_type'
.libs/rubyextension.o(.text+0x9e6): In function 
`Kross::Ruby::RubyExtension::convertHash_i(unsigned long, unsigned long, 
unsigned long)':
: undefined reference to `rb_str2cstr'
.libs/rubyextension.o(.text+0xb30): In function `.L538':
: undefined reference to `rb_intern'
.libs/rubyextension.o(.text+0xb39): In function `.L538':
: undefined reference to `rb_funcall'
.libs/rubyextension.o(.text+0xc47): In function `.L1276':
: undefined reference to `rb_check_type'
.libs/rubyextension.o(.text+0xcc2): In function `.L596':
: undefined reference to `rb_num2dbl'
.libs/rubyextension.o(.text+0xd6f): In function `.L626':
: undefined reference to `rb_str2cstr'
.libs/rubyextension.o(.text+0xe57): In function `.L672':
: undefined reference to `rb_ary_entry'
.libs/rubyextension.o(.text+0x10d2): In function `.L819':
: undefined reference to `rb_cObject'
.libs/rubyextension.o(.text+0x10da): In function `.L819':
: undefined reference to `rb_data_object_alloc'
.libs/rubyextension.o(.text+0x10eb): In function `.L819':
: undefined reference to `rb_hash_foreach'
.libs/rubyextension.o(.text+0x1355): In function `.L1077':
: undefined reference to `rb_num2long'
.libs/rubyextension.o(.text+0x1623): In function `.L1169':
: undefined reference to `rb_id2name'
.libs/rubyextension.o(.text+0x1dc8): In function 
`Kross::Ruby::RubyExtension::toVALUE(QString const&)':
: undefined reference to `rb_str_new2'
.libs/rubyextension.o(.text+0x1e09): In function 
`Kross::Ruby::RubyExtension::toVALUE(QStringList)':
: undefined reference to `rb_ary_new'
.libs/rubyextension.o(.text+0x1e44): In function 
`Kross::Ruby::RubyExtension::toVALUE(QStringList)':
: undefined reference to `rb_ary_push'
.libs/rubyextension.o(.text+0x1e89): In function 
`Kross::Ruby::RubyExtension::toVALUE(QMap<QString, QVariant>)':
: undefined reference to `rb_hash_new'
.libs/rubyextension.o(.text+0x1ee8): In function 
`Kross::Ruby::RubyExtension::toVALUE(QMap<QString, QVariant>)':
: undefined reference to `rb_hash_aset'
.libs/rubyextension.o(.text+0x1f59): In function 
`Kross::Ruby::RubyExtension::toVALUE(QValueList<QVariant>)':
: undefined reference to `rb_ary_new'
.libs/rubyextension.o(.text+0x1f93): In function 
`Kross::Ruby::RubyExtension::toVALUE(QValueList<QVariant>)':
: undefined reference to `rb_ary_push'
.libs/rubyextension.o(.text+0x2133): In function `.L1442':
: undefined reference to `rb_uint2inum'
.libs/rubyextension.o(.text+0x2168): In function `.L1443':
: undefined reference to `rb_float_new'
.libs/rubyextension.o(.text+0x2360): In function `.L1578':
: undefined reference to `rb_int2inum'
.libs/rubyextension.o(.text+0x2741): In function 
`Kross::Ruby::RubyExtension::toVALUE(KSharedPtr<Kross::Api::Object>)':
: undefined reference to `rb_data_object_alloc'
.libs/rubyextension.o(.text+0x2771): In function 
`Kross::Ruby::RubyExtension::toVALUE(KSharedPtr<Kross::Api::Object>)':
: undefined reference to `rb_cObject'
.libs/rubyextension.o(.text+0x2783): In function 
`Kross::Ruby::RubyExtension::toVALUE(KSharedPtr<Kross::Api::Object>)':
: undefined reference to `rb_define_class'
.libs/rubyextension.o(.text+0x27a0): In function 
`Kross::Ruby::RubyExtension::toVALUE(KSharedPtr<Kross::Api::Object>)':
: undefined reference to `rb_define_method'
.libs/rubyextension.o(.text+0x2866): In function 
`Kross::Ruby::RubyExtension::toVALUE(KSharedPtr<Kross::Api::List>)':
: undefined reference to `rb_ary_new'
.libs/rubyextension.o(.text+0x28b4): In function 
`Kross::Ruby::RubyExtension::toVALUE(KSharedPtr<Kross::Api::List>)':
: undefined reference to `rb_ary_push'
.libs/rubyscript.o(.text+0x33d): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `ruby_nerrs'
.libs/rubyscript.o(.text+0x355): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `ruby_errinfo'
.libs/rubyscript.o(.text+0x37a): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `rb_string_value'
.libs/rubyscript.o(.text+0x380): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `rb_thread_critical'
.libs/rubyscript.o(.text+0x38b): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `ruby_in_eval'
.libs/rubyscript.o(.text+0x3be): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `rb_compile_string'
.libs/rubyscript.o(.text+0x434): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `rb_obj_as_string'
.libs/rubyscript.o(.text+0x43c): In function 
`Kross::Ruby::RubyScript::compile()':
: undefined reference to `rb_str2cstr'
.libs/rubyscript.o(.text+0x70a): In function 
`Kross::Ruby::RubyScript::execute()':
: undefined reference to `ruby_eval_tree'
.libs/rubyscript.o(.text+0x718): In function 
`Kross::Ruby::RubyScript::execute()':
: undefined reference to `ruby_exec'
.libs/rubyscript.o(.text+0x722): In function 
`Kross::Ruby::RubyScript::execute()':
: undefined reference to `ruby_eval_tree'
.libs/rubyscript.o(.text+0x759): In function 
`Kross::Ruby::RubyScript::execute()':
: undefined reference to `ruby_errinfo'
.libs/rubyscript.o(.text+0x778): In function 
`Kross::Ruby::RubyScript::execute()':
: undefined reference to `rb_obj_as_string'
.libs/rubyscript.o(.text+0x780): In function 
`Kross::Ruby::RubyScript::execute()':
: undefined reference to `rb_str2cstr'
.libs/rubymodule.o(.text+0x165): In function 
`Kross::Ruby::RubyModule::RubyModule[not-in-charge](Kross::Api::Module*, 
QString)':
: undefined reference to `rb_define_module'
.libs/rubymodule.o(.text+0x17d): In function 
`Kross::Ruby::RubyModule::RubyModule[not-in-charge](Kross::Api::Module*, 
QString)':
: undefined reference to `rb_define_module_function'
.libs/rubymodule.o(.text+0x1c8): In function 
`Kross::Ruby::RubyModule::RubyModule[not-in-charge](Kross::Api::Module*, 
QString)':
: undefined reference to `rb_define_const'
.libs/rubymodule.o(.text+0x4f5): In function 
`Kross::Ruby::RubyModule::RubyModule[in-charge](Kross::Api::Module*, 
QString)':
: undefined reference to `rb_define_module'
.libs/rubymodule.o(.text+0x50d): In function 
`Kross::Ruby::RubyModule::RubyModule[in-charge](Kross::Api::Module*, 
QString)':
: undefined reference to `rb_define_module_function'
.libs/rubymodule.o(.text+0x558): In function 
`Kross::Ruby::RubyModule::RubyModule[in-charge](Kross::Api::Module*, 
QString)':
: undefined reference to `rb_define_const'
.libs/rubymodule.o(.text+0x75c): In function 
`Kross::Ruby::RubyModule::method_missing(int, unsigned long*, unsigned 
long)':
: undefined reference to `rb_intern'
.libs/rubymodule.o(.text+0x775): In function 
`Kross::Ruby::RubyModule::method_missing(int, unsigned long*, unsigned 
long)':
: undefined reference to `rb_intern'
.libs/rubymodule.o(.text+0x781): In function 
`Kross::Ruby::RubyModule::method_missing(int, unsigned long*, unsigned 
long)':
: undefined reference to `rb_funcall'
.libs/rubymodule.o(.text+0x78d): In function 
`Kross::Ruby::RubyModule::method_missing(int, unsigned long*, unsigned 
long)':
: undefined reference to `rb_check_type'
collect2: ld returned 1 exit status
make[4]: *** [krossruby.la] Error 1
make[4]: Leaving directory `/home/flujan/tmp/koffice-1.4.90/lib/kross/ruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/flujan/tmp/koffice-1.4.90/lib/kross'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/flujan/tmp/koffice-1.4.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/flujan/tmp/koffice-1.4.90'
make: *** [all] Error 2

____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic