Hello, I'm using R 2.8.0 on a Macbook Pro running Tiger on it.
I have a simple C file named hello.c and when I try to generate the .so file like that: $ R CMD SHLIB hello.c I get the following output: gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -I/usr/local/include -fPIC -g -O2 -c hello.c -o hello.o gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o hello.so hello.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation /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: *** [hello.so] Error 1 What is this error? How can I fix it? Thank you Thibault
begin:vcard fn:Thibault Helleputte n:Helleputte;Thibault org:UCL;Computing Science and Engineering Dept. adr;quoted-printable:Place Sainte Barbe, 2;;Batiment R=C3=A9aumur, A.337.30;Louvain-la-Neuve;;1348;Belgium email;internet:[email protected] title:PhD Student tel;work:0032.10.47.91.15 tel;fax:0032.10.45.03.45 tel;cell:0032.498.64.24.63 url:http://www.info.ucl.ac.be/~thellepu/ version:2.1 end:vcard
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
