D
DP
Hi -
I'm trying to compile qtruby and I'm having some issues.
I have tried both compiling from the kdebindings package AND from
the qtruby standalone package and the same error occurs:
The compile process always seems to die on an undefined reference to
some ruby functions. I'm using Fedora Core 2.
This is the last output from make:
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-long-lo ng -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subsc ripts -Wall -W
-Wpointer-arith -Wwrite-strings -O2 -Wformat-security
-Wmissing-format-att ribute -fno-exceptions -fno-check-new -fno-common
-o qtrubyinit -module -L/usr/lib -L/ usr/lib/qt-3.3/lib
-L/usr/X11R6/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 -W l,/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+0x25): In function `main':
: undefined reference to `ruby_options'
qtrubyinit.o(.text+0x2a): In function `main':
: undefined reference to `ruby_run'
collect2: ld returned 1 exit status
make[3]: *** [qtrubyinit] Error 1
make[3]: Leaving directory
`/home/davp/downloads/kdebindings-050120/qtruby/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/davp/downloads/kdebindings-050120/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/davp/downloads/kdebindings-050120'
make: *** [all] Error 2
Any suggestions?
Thank you,
David
I'm trying to compile qtruby and I'm having some issues.
I have tried both compiling from the kdebindings package AND from
the qtruby standalone package and the same error occurs:
The compile process always seems to die on an undefined reference to
some ruby functions. I'm using Fedora Core 2.
This is the last output from make:
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-long-lo ng -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subsc ripts -Wall -W
-Wpointer-arith -Wwrite-strings -O2 -Wformat-security
-Wmissing-format-att ribute -fno-exceptions -fno-check-new -fno-common
-o qtrubyinit -module -L/usr/lib -L/ usr/lib/qt-3.3/lib
-L/usr/X11R6/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 -W l,/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+0x25): In function `main':
: undefined reference to `ruby_options'
qtrubyinit.o(.text+0x2a): In function `main':
: undefined reference to `ruby_run'
collect2: ld returned 1 exit status
make[3]: *** [qtrubyinit] Error 1
make[3]: Leaving directory
`/home/davp/downloads/kdebindings-050120/qtruby/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/davp/downloads/kdebindings-050120/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/davp/downloads/kdebindings-050120'
make: *** [all] Error 2
Any suggestions?
Thank you,
David