[R-SIG-Mac] make problem 2.2.1

roger koenker roger at ysidro.econ.uiuc.edu
Sat Jan 21 21:32:38 CET 2006


Simon,

Your hot-fix worked perfectly.  I'm not sure exactly what you want  
about compilers,
is this sufficient?

yzzy: gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc.  
build 5018)

yzzy: gfortran --version
GNU Fortran 95 (GCC 4.0.0 (Apple Computer, Inc. build 5018))

Thanks very much for your help,

Roger

On Jan 21, 2006, at 2:09 PM, Simon Urbanek wrote:

> Rober,
>
> On Jan 21, 2006, at 1:28 PM, roger koenker wrote:
>
>> I'm trying to make 2.2.1 from source on a G5 running 10.4.4 and  
>> using gcc 4.0.0 and gfortran (which seemed to be ok for my last  
>> 2.1.0 build)  --- but I now am getting:
>>
>
> Solution see below - but I'd be interested in your exact setup.  
> Please send me the version information of all compilers involved.
>
>> Error in solve.default(rgb) : lapack routines cannot be loaded
>> In addition: Warning message:
>> unable to load shared library '/Users/roger/Rinstall/R-2.2.1/modules/
>> lapack.so':
>>    dlopen(/Users/roger/Rinstall/R-2.2.1/modules/lapack.so, 6): Symbol
>> not found: _rcblas_zdotc_sub__
>
> This comes from a work-around for the incompatible ABI of gfortran.  
> For some strange reason (I'd like to know why) your gfortran seems  
> to append two underscores.
>
> The 'hot-fix' for your particular setup is to edit src/modules/ 
> lapack/vecLibg95c.c and replace everything between #ifdef and  
> #endif at the beginning of the file by one simple
> # define F77_SYMBOL(x)   x ## __
>
> In the meantime I'll see if I can get a better fix committed.
>
> Thanks,
> Simon



More information about the R-SIG-Mac mailing list