[Kde-bindings] QtRuby compile error

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Mar 17 12:15:12 UTC 2005


We were discussing this problem on ruby-talk a month or two ago, and Alex 
mentioned some problem that he had fixed, and then he removed the fix because 
he thought it wasn't needed, and he suggested I restore it. But he didn't 
actually say what it was, so I'll cc him this mail and hope he remembers.

-- Richard

On Thursday 17 March 2005 13:39, Lieven De Keyzer wrote:
> 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
>
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings



More information about the Kde-bindings mailing list