[R-SIG-Mac]compiling r-devel on Darwin

Jean Thioulouse Jean.Thioulouse@biomserv.univ-lyon1.fr
Wed, 26 Feb 2003 13:34:01 +0100


Hello,

I am trying to compile the latest r-devel under MacOS 10.2.4, and
I get the following error :

gcc -dynamiclib -install_name /usr/local/lib/R/bin/libRlapack.dylib -L/sw/lib -L/usr/local/lib -o libRlapack.dylib dlapack0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo  -lf77blas -latlas -L/sw/lib -L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1 -L/sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1/../../.. -lfrtbegin -lg2c -lSystem
ld: common symbols not allowed with MH_DYLIB output format
/usr/bin/libtool: internal link edit command failed
/sw/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
/sw/lib/libg2c.a(fmt.o) definition of common f(char,  *) (size 4)
/sw/lib/libg2c.a(err.o) definition of common f(char, long *, short __restrict) (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__cursor (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__doed (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__doend (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__doned (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__dorevert (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__elist (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__fmtbuf (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__fmtlen (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__init (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__nonl (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__parenlvl (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common f(char *) (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__ret (size 40)
/sw/lib/libg2c.a(fmt.o) definition of common _f__revloc (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common f(long double,  *) (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__scale (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__workdone (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__units (size 4800)
/sw/lib/libg2c.a(err.o) definition of common f(char, float) (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__curunit (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__donewrec (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__external (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__formatted (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__hiwater (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__putn (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__reading (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__recpos (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__sequential (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__getn (size 4)
/sw/lib/libg2c.a(err.o) definition of common _f__icptr (size 4)
/sw/lib/libg2c.a(err.o) definition of common f(short, void, int, char) (size 4)
make[4]: *** [libRlapack.dylib] Error 1
make[3]: *** [R] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

I have no problem compiling 1.6.2. What should I do ?

Thanks,
Jean

-- 
Jean Thioulouse - Equipe "Ecologie  Statistique" - UMR CNRS 5558
Universite Lyon 1, Bat. Mendel, 69622 Villeurbanne Cedex, France
Fax: (33) 4 78 89 27 19                  Tel: (33) 4 72 43 27 56
          http://pbil.univ-lyon1.fr/JTHome.html