[R] R on kdeedu-svn library problem
b-vol
bvl at btconnect.com
Thu May 6 11:11:32 CEST 2010
Hello,
I am new to this list. I am trying to compile the current svn version of
kdeedu on an amd64 linux machine which uses R and I get the following
compiler output.
-------------------------------------------
79%] Building CXX object
cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/rserver.o
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp: In member
function 'void RServer::runCommand(const QString&, bool)':
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:217:
warning: 'result' may be used uninitialized in this function
[ 79%] Building CXX object
cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/rcallbacks.o
[ 79%] Building CXX object
cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/main.o
[ 79%] Building CXX object
cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/settings.o
[ 79%] Building CXX object
cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/radaptor.o
Linking CXX executable cantor_rserver
CMakeFiles/cantor_rserver.dir/rserver.o: In function
`RServer::runCommand(QString const&, bool)':
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:223: undefined
reference to `Rf_allocVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:223: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:224: undefined
reference to `Rf_mkChar'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:224: undefined
reference to `SET_STRING_ELT'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:226: undefined
reference to `R_NilValue'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:226: undefined
reference to `R_ParseVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:226: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:261: undefined
reference to `Rf_unprotect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:275: undefined
reference to `Rf_PrintValue'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:234: undefined
reference to `VECTOR_ELT'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:234: undefined
reference to `R_tryEval'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:232: undefined
reference to `Rf_length'
CMakeFiles/cantor_rserver.dir/rserver.o: In function `RServer::autoload()':
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:137: undefined
reference to `R_GlobalEnv'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:137: undefined
reference to `Rf_install'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:137: undefined
reference to `Rf_findFun'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:137: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined
reference to `R_GlobalEnv'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined
reference to `Rf_install'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined
reference to `Rf_findVar'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:139: undefined
reference to `R_NilValue'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:143: undefined
reference to `Rf_allocVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:143: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:144: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:147: undefined
reference to `R_GlobalEnv'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:147: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:147: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:147: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:147: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:148: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:148: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:148: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:148: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:148: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:151: undefined
reference to `R_GlobalEnv'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:151: undefined
reference to `Rf_install'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:151: undefined
reference to `Rf_findFun'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:151: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:152: undefined
reference to `Rf_allocVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:152: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:153: undefined
reference to `R_NilValue'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:153: undefined
reference to `SET_TAG'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:154: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:164: undefined
reference to `Rf_allocVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:164: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:165: undefined
reference to `Rf_allocVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:165: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:166: undefined
reference to `Rf_mkChar'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:166: undefined
reference to `SET_STRING_ELT'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:167: undefined
reference to `Rf_mkChar'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:167: undefined
reference to `SET_STRING_ELT'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:170: undefined
reference to `Rf_allocVector'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:170: undefined
reference to `Rf_protect'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:171: undefined
reference to `R_NilValue'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:171: undefined
reference to `SET_TAG'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:172: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:173: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:173: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:174: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:174: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:174: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:177: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:177: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:178: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:178: undefined
reference to `CDR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:178: undefined
reference to `SETCAR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:180: undefined
reference to `R_GlobalEnv'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:180: undefined
reference to `R_tryEval'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:189: undefined
reference to `Rf_unprotect'
CMakeFiles/cantor_rserver.dir/rserver.o: In function `RServer::initR()':
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:83: undefined
reference to `Rf_initEmbeddedR'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:85: undefined
reference to `R_ReplDLLinit'
CMakeFiles/cantor_rserver.dir/rserver.o: In function `RServer::endR()':
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:194: undefined
reference to `Rf_endEmbeddedR'
CMakeFiles/cantor_rserver.dir/rcallbacks.o: In function
`setupCallbacks(RServer*)':
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:40: undefined
reference to `R_Outputfile'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:41: undefined
reference to `R_Consolefile'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:43: undefined
reference to `ptr_R_WriteConsole'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:44: undefined
reference to `ptr_R_WriteConsoleEx'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:45: undefined
reference to `ptr_R_ShowMessage'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:46: undefined
reference to `ptr_R_Busy'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:47: undefined
reference to `ptr_R_ReadConsole'
$SOURCES/kdeedu/cantor/src/backends/R/rserver/rcallbacks.cpp:48: undefined
reference to `ptr_R_ShowFiles'
collect2: ld returned 1 exit status
-------------------------------
help would be appreciated.
bvol
More information about the R-help
mailing list