[RkWard-devel] Problem with linking

Krzysztof Mieloch mieloch at math.uni-goettingen.de
Fri Dec 3 23:00:26 UTC 2004


Hi!

I have problem with linking. Everything has been compiled without 
problems, but not linked.

I've made:

./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib/qt3 
--with-extra-includes=/usr/lib/R/include --with-extra-libs=/usr/lib/R/bin

and than:

make



System: Suse 9.1 2.6.5-7.75


Moreover, the same problem I've had with 0.2.9 (I've not fixed it and I 
hoped it will not happen it the next version), but with 0.2.8 I had no 
problems.


Hier is output for the second make (without compilation)


make  all-recursive
make[1]: Entering directory `/root/rkward-0.3.0'
Making all in rkward
make[2]: Entering directory `/root/rkward-0.3.0/rkward'
Making all in plugins
make[3]: Entering directory `/root/rkward-0.3.0/rkward/plugins'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/plugins'
Making all in dataeditor
make[3]: Entering directory `/root/rkward-0.3.0/rkward/dataeditor'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/dataeditor'
Making all in settings
make[3]: Entering directory `/root/rkward-0.3.0/rkward/settings'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/settings'
Making all in plugin
make[3]: Entering directory `/root/rkward-0.3.0/rkward/plugin'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/plugin'
Making all in rbackend
make[3]: Entering directory `/root/rkward-0.3.0/rkward/rbackend'
Making all in rpackages
make[4]: Entering directory `/root/rkward-0.3.0/rkward/rbackend/rpackages'
R CMD build rkward
* checking for file 'rkward/DESCRIPTION' ... OK
* preparing 'rkward':
* removing junk files
* building 'rkward_0.3.0.tar.gz'

make[4]: Leaving directory `/root/rkward-0.3.0/rkward/rbackend/rpackages'
make[4]: Entering directory `/root/rkward-0.3.0/rkward/rbackend'
make[4]: Für das Ziel »all-am« ist nichts zu tun.
make[4]: Leaving directory `/root/rkward-0.3.0/rkward/rbackend'
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/rbackend'
Making all in scriptbackends
make[3]: Entering directory `/root/rkward-0.3.0/rkward/scriptbackends'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/scriptbackends'
Making all in misc
make[3]: Entering directory `/root/rkward-0.3.0/rkward/misc'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/misc'
Making all in core
make[3]: Entering directory `/root/rkward-0.3.0/rkward/core'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/core'
Making all in dialogs
make[3]: Entering directory `/root/rkward-0.3.0/rkward/dialogs'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/dialogs'
Making all in icons
make[3]: Entering directory `/root/rkward-0.3.0/rkward/icons'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/icons'
Making all in agents
make[3]: Entering directory `/root/rkward-0.3.0/rkward/agents'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/agents'
Making all in windows
make[3]: Entering directory `/root/rkward-0.3.0/rkward/windows'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/root/rkward-0.3.0/rkward/windows'
make[3]: Entering directory `/root/rkward-0.3.0/rkward'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
  -o rkward -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib 
-L/usr/lib/R/bin -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib 
-R /usr/lib/R/bin rkwatch.o rkward.o main.o rkoutputwindow.o 
rkcommandeditor.o rkglobals.o robjectbrowser.o rkeditormanager.o 
robjectviewer.o rkward.moc.o rkwatch.moc.o 
../rkward/windows/libwindows.a ../rkward/agents/libagents.a 
../rkward/dialogs/libdialogs.a ../rkward/plugin/libplugin.a 
../rkward/settings/libsettings.a ../rkward/dataeditor/libdataeditor.a 
../rkward/core/libcore.a ../rkward/rbackend/librbackend.a 
../rkward/scriptbackends/libscriptbackends.a ../rkward/misc/libmisc.a 
-lkmdi -lkio -lkdeui -lkdecore -lqt-mt  -lz -lpng -lz -lm -lXext -lX11 
-lSM -lICE -lpthread  -lR -lkatepartinterfaces
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x391): In 
function `REmbedInternal::getCommandAsRealVector(char const*, int*, bool*)':
: undefined reference to `na_double'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x397): In 
function `REmbedInternal::getCommandAsRealVector(char const*, int*, bool*)':
: undefined reference to `na_double'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x47a): In 
function `REmbedInternal::REmbedInternal[in-charge]()':
: undefined reference to `empty_char'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x491): In 
function `REmbedInternal::REmbedInternal[in-charge]()':
: undefined reference to `unknown_char'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x49b): In 
function `REmbedInternal::REmbedInternal[in-charge]()':
: undefined reference to `na_double'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x4a1): In 
function `REmbedInternal::REmbedInternal[in-charge]()':
: undefined reference to `na_double'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x4ca): In 
function `REmbedInternal::REmbedInternal[not-in-charge]()':
: undefined reference to `empty_char'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x4e1): In 
function `REmbedInternal::REmbedInternal[not-in-charge]()':
: undefined reference to `unknown_char'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x4eb): In 
function `REmbedInternal::REmbedInternal[not-in-charge]()':
: undefined reference to `na_double'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x4f1): In 
function `REmbedInternal::REmbedInternal[not-in-charge]()':
: undefined reference to `na_double'
../rkward/rbackend/librbackend.a(rembedinternal.o)(.text+0x666): In 
function `extractStrings':
: undefined reference to `empty_char'
collect2: ld returned 1 exit status
make[3]: *** [rkward] Fehler 1
make[3]: Leaving directory `/root/rkward-0.3.0/rkward'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/root/rkward-0.3.0/rkward'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/rkward-0.3.0'
make: *** [all] Fehler 2


Greetings
Krzysztof




More information about the Rkward-devel mailing list