[R] Problem with compiling shared C/C++ library for loading into R (Linux)

2009-01-10 Thread Samsiddhi Bhattacharjee
Dear all, Sorry about posting this to R-help by mistake. I just realized it belongs to the r-devel list. So I am reposting it there. - I am using the .Call interface to call c++ code from R. For that, I am trying to create a dynamic library (mylib.so) using "R CMD SHLIB" by linking my o

[R] Problem with compiling shared C/C++ library for loading into R (Linux)

2009-01-10 Thread Samsiddhi Bhattacharjee
I am using the .Call interface to call c++ code from R. For that, I am trying to create a dynamic library (mylib.so) using "R CMD SHLIB" by linking my own c++ code and an external c++ library (blitz++). The makefile works fine on my Mac, produces mylib.so and I am able to call .Call() from R, but