Re: [Rd] compiling tests/Embedding

2006-05-26 Thread George Ostrouchov
Thanks for helping me understand what is going on. Understanding is really my reason for the compile. I took the R_tryEval() route to fixing the problem. I am running SuSE Linux 9.2 on that machine, which might support visibility under gcc3 as Brian points out. Thanks again, George Duncan Tem

Re: [Rd] compiling tests/Embedding

2006-05-26 Thread Prof Brian Ripley
On Fri, 26 May 2006, Antonio, Fabio Di Narzo wrote: > Hi all. > The same compiler problem appears on my gcc-4.0.2 shipped with ubuntu > breezy. Well fixed with B.R. indication. Note: I already said > > (There is a known problem here with gcc >= 4.0.0, with this fix in the > > pre-2.3.1 sources.

Re: [Rd] compiling tests/Embedding

2006-05-26 Thread Antonio, Fabio Di Narzo
Hi all. The same compiler problem appears on my gcc-4.0.2 shipped with ubuntu breezy. Well fixed with B.R. indication. Antonio. 2006/5/26, Duncan Temple Lang <[EMAIL PROTECTED]>: > > > In addition to the compiler issues, the test should also be changed. > It should use R_tryEval() directly rather

Re: [Rd] compiling tests/Embedding

2006-05-26 Thread Duncan Temple Lang
In addition to the compiler issues, the test should also be changed. It should use R_tryEval() directly rather than Test_tryEval(). The test preceeds the existence of that exported routine that was motivated by the same usage that gave rise to this test. I'll commit an update when I get a few m

Re: [Rd] compiling tests/Embedding

2006-05-25 Thread Prof Brian Ripley
What system is this? It should work under gcc-3.3.4, as the issue is visibility attributes and they are not supposed to be supported on that compiler. (I suspect from the message that this is not a version of gcc released by GNU, a common source of problems.) I happen to have an i686 FC3 syst

[Rd] compiling tests/Embedding

2006-05-25 Thread George Ostrouchov
I am compiling the Embedding examples in the tests directory and get an undefined reference. I include the make output as well as grep'd output of nm on libR.so and compiler and arch information. Do I have an improperly built R shared library or is there a problem with the Embedding tests or so