Skip to content

Updating to nlme 3.1-62 failing from source (OS X)

2 messages · Brian Ripley, Michael Kubovy

#
This is an internal compiler/assembler error - please check that your 
tools are consistent and if so report this as a MacOS X error.

(It is the sort of thing which happens if gcc targetted for one assembler 
is used with another, for example on Solaris with GNU vs Sun assemblers.)

Given that the C code being compiled is unchanged since 3.1-60 which was 
successfully compiled by the maintainers, this does point to a problem 
local to you.
On Sun, 31 Jul 2005, Michael Kubovy wrote:

            
The CRAN repository for MacOS X has not be updated for a couple of weeks.

  
    
#
Prof. Ripley was right. The problem went away when I updated the  
Developer Tools.
On Aug 1, 2005, at 2:48 AM, Prof Brian Ripley wrote:

            
However, the following problem occurred when I tried to compile mgcv:

* Installing *source* package 'mgcv' ...
** libs
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c gcv.c -o gcv.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c magic.c -o  
magic.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c mat.c -o mat.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c matrix.c -o  
matrix.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c mgcv.c -o mgcv.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c qp.c -o qp.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c tprs.c -o tprs.o
gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - 
o mgcv.so gcv.o magic.o mat.o matrix.o mgcv.o qp.o tprs.o  -framework  
vecLib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 -lg2c - 
lSystem  -framework R
ld: warning ** Removing '/Library/Frameworks/R.framework/Versions/ 
2.1.1/Resources/library/mgcv'
** Restoring previous '/Library/Frameworks/R.framework/Versions/2.1.1/ 
Resources/library/mgcv'
multiple definitions of symbol _xerbla_
/Library/Frameworks/R.framework/R(print.lo) definition of _xerbla_
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
vecLib.framework/Versions/A/libBLAS.dylib(single module) definition  
of _xerbla_
ld: warning multiple definitions of symbol _signgam
/Library/Frameworks/R.framework/R(lgamma.lo) definition of _signgam
/usr/lib/libSystem.dylib(gamma9.o) definition of _signgam
ld: gcv.o has external relocation entries in non-writable section  
(__TEXT,__text) for symbols:
restFP
saveFP
make: *** [mgcv.so] Error 1
ERROR: compilation failed for package 'mgcv'

_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/