--
Fernando E. Miguez
Energy Biosciences Institute
http://netfiles.uiuc.edu/miguez/www/
--- Begin Message ---
Hi,
It would be helpful to also include version and sessionInfo(). I
recently saw a similar problem in the development version for Mac but
not in the current 2.6.2.
Fernando
[EMAIL PROTECTED] wrote:
Hello,
I'm working with R, I try to call C from R.
When I try to compile my file.c to make file.so, with the command :
R CMD SHLIB foo.c
return the message :
gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-mmacosx-version-min=10.4 -std=gnu99 -dynamiclib
-Wl,-headerpad_max_install_names -Wl,-macosx_version_min -Wl,10.4 -undefined
dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o
foo.so foo.o -F/Library/Frameworks/R.framework/.. -framework R
/usr/bin/libtool: for architecture cputype (16777223) cpusubtype (3) object:
/usr/local/lib/libgcc_s.10.4.dylib malformed object (unknown load command 4)
make: *** [foo.so] Error 1
Can you help me ? I work on Mac os X. Thanks
--
Fernando E. Miguez
Energy Biosciences Institute
http://netfiles.uiuc.edu/miguez/www/
--- End Message ---
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel