R CMD SHLIB requesting makefile. Is a makefile required?
A few years ago I used the following to compile a shared object that I
wanted to call from R and it worked just fine.
R CMD SHLIB -o ~/my_C/R.shared.so/cocite.mat.so cocite.mat.c
Now when it is executed I receive the following error message:
make: *** No rule to make target `cocite.mat.o', needed by
I've consulted R CMD SHLIB --help and R-exts.pdf and neither indicates
that a makefile is now required by R CMD SHLIB, yet Googling the error
message leads me to lots of threads regarding makefiles.
Has something changed? Am I doing something wrong? Following is my gcc
version and sessionInfo().
kimpel-desktop ~/my_C: gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
R version 2.10.0 Patched (2009-10-27 r50222)