Re: [Rd] R CMD SHLIB error using OS X

From: stefano iacus <stefano.iacus_at_unimi.it>
Date: Tue, 12 Jun 2007 17:44:54 -0700

please report to R-sig-mac
stefano

On 08/giu/07, at 06:29, Richard Zur wrote:

> Hello,
>
> I'm using R 2.5.0 with OS X 10.4.9 and Xcode 2.4.1 on a PowerPC. My
> code used to compile fine with R 2.4.* and Xcode 2.2 (I think).
>
> I'm compiling some C code (named mhroc_prop.c) that calls a fortran
> routine from mvndstpack.f I get the error
>
> /usr/bin/libtool: file: mvndstpack.o is not an object file (not
> allowed
> in a library)
>
> after R outputs (sorry... not sure if this is useful information or
> not)
>
> gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99
> -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined dynamic_lookup
> -single_module -multiply_defined suppress -L/usr/local/lib -o
> mhroc_prop.so mhroc_prop.o mvndstpack.o
> -L/Library/Frameworks/R.framework/Resources/lib/ppc -lRlapack
> -L/Library/Frameworks/R.framework/Resources/lib/ppc -lRblas
> -L/usr/local/lib/gcc/powerpc-apple-darwin8/4.2.0 -lgfortran -lgcc_s.
> 10.4
> -lSystemStubs -L/usr/local/lib/gcc/powerpc-apple-darwin8/4.2.0
> -lgfortran -lgcc_s.10.4 -lSystemStubs
> -F/Library/Frameworks/R.framework/.. -framework R
>
> Any ideas?
>
> Thank you,
> Richard Zur
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 13 Jun 2007 - 06:42:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 13 Jun 2007 - 14:34:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.