Review Request 123531: Build Cantor with the R backend also when the R version is equal or higher 3.2

Raymond Wooninck tittiatcoke at
Mon May 25 13:20:55 UTC 2015

This is an automatically generated e-mail. To reply, visit:

(Updated May 25, 2015, 1:20 p.m.)


This change has been marked as submitted.

Review request for KDE Edu, Alexander Rieder and Filipe Saraiva.


Submitted with commit 88b14d85b9504af29fa34ac41109db6ff1d8bdf5 by Raymond Wooninck to branch master.

Repository: cantor


In this commit:

R_running_as_main_program was moved from Rmain.c to Rinterface.h, and lost
its 'extern' declaration. This change is now causing linker problems when trying to build cantor against R v3.2 :

[  391s] CMakeFiles/cantor_rserver.dir/rcallbacks.o:(.bss+0x10): multiple definition of `R_running_as_main_program'
[  391s] CMakeFiles/cantor_rserver.dir/rserver.o:(.bss+0x0): first defined here
[  391s] collect2: error: ld returned 1 exit status
[  391s] src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/build.make:247: recipe for target 'src/backends/R/rserver/cantor_rserver' failed
[  391s] make[2]: *** [src/backends/R/rserver/cantor_rserver] Error 1

The attached patch would resolve the multiple definition.


  src/backends/R/rserver/rcallbacks.h 8f4752c 
  src/backends/R/rserver/rcallbacks.cpp 2c86531 
  src/backends/R/rserver/rserver.cpp 30cdb70 



Cantor builds fine for R v3.1.1 and R v3.2 versions


Raymond Wooninck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list