Hi, I just bought new macbook pro 10.6.3. I am trying to use some old c code that used to work. I tried to recompile the code. In the directory with code I used R CMD SHLIB hello.c and get the error make: Nothing to be done for `all'. I have tried reinstalling Xcode and R but I am still having this problem. Any suggestions? -- View this message in context: http://r.789695.n4.nabble.com/make-Nothing-to-be-done-for-all-tp2173220p2173220.html Sent from the R help mailing list archive at Nabble.com.
Le 11/05/10 04:16, Elizabeth Lawson a ?crit :> > > Hi, > > I just bought new macbook pro 10.6.3. I am trying to use some old c code > that used to work. I tried to recompile the code. In the directory with > code I used R CMD SHLIB hello.c and get the error > make: Nothing to be done for `all'. > > I have tried reinstalling Xcode and R but I am still having this problem. > > Any suggestions?You can try $ rm hello.o hello.so Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/9aKDM9 : embed images in Rd documents |- http://tr.im/OIXN : raster images and RImageJ |- http://tr.im/OcQe : Rcpp 0.7.7
I recently bought a new macbook pro 10.6.3 and I am trying to compile some C code I have. I reinstalled R and Xcode on the Mac but I keep running into the same problem. The code help.c #include <R.h> void hello(int *n) { int i; for(i=0; i < *n; i++) { Rprintf("Hello, world!\n"); } } I try R CMD SHLIB hello.c in the directory that the file is located. I get the error make: Nothing to be done for `all'. But in the same directory I have the file hello2.c /* hello.c: display a message on the screen */ #include <stdio.h> main() { printf("hello, world\n"); } When I use gcc hello2.c it works. Any suggestions? [[alternative HTML version deleted]]