Re: [R] problems with dynamic objects on solaris

2005-11-25 Thread Prof Brian Ripley
On Fri, 25 Nov 2005, Ott Toomet wrote: > Dear R people, > > I am working on a solaris 9 workstation with very restrictive access > policy. It means I have still to use R 1.7.1 and gcc 2.95. Headers that long ago were not AFAIR written for C++, so ensure you used extern "C" {} when including them

[R] problems with dynamic objects on solaris

2005-11-25 Thread Ott Toomet
Dear R people, I am working on a solaris 9 workstation with very restrictive access policy. It means I have still to use R 1.7.1 and gcc 2.95. The problems is following: I have written a small function in c++ using boost library and I want to dyn.load the resulting .so file into R. Compilation w