[R] Compiling nlme 3.1-62 succeeds if OS X Developer Tools updated; however, compiling mgcv_1.3-4 fails

Michael Kubovy kubovy at virginia.edu
Mon Aug 1 19:26:19 CEST 2005


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:

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

> On Sun, 31 Jul 2005, Michael Kubovy wrote:

>> When I try to update nlme, I get
>>
>> * Installing *source* package 'nlme' ...
>> ** libs
>> gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/
>> include  -I/usr/local/include   -fno-common  -g -O2 -c corStruct.c -o
>> corStruct.o
>> /var/tmp//ccOTBSDa.s:6088:** Removing '/Library/Frameworks/
>> R.framework/Versions/2.1.1/Resources/library/nlme'
>> ** Restoring previous '/Library/Frameworks/R.framework/Versions/ 
>> 2.1.1/
>> Resources/library/nlme'
>>
>> The downloaded packages are in
>>     /private/tmp/RtmpL1j8Sa/downloaded_packages
>> Unknown pseudo-op: .p2align
>> /var/tmp//ccOTBSDa.s:6088:Rest of line ignored. 1st junk character
>> valued 50 (2).
>> /var/tmp//ccOTBSDa.s:6414:Unknown pseudo-op: .p2align
>> /var/tmp//ccOTBSDa.s:6414:Rest of line ignored. 1st junk character
>> valued 50 (2).
>> /var/tmp//ccOTBSDa.s:6608:Unknown pseudo-op: .p2align
>> /var/tmp//ccOTBSDa.s:6608:Rest of line ignored. 1st junk character
>> valued 50 (2).
>> /var/tmp//ccOTBSDa.s:7111:Unknown pseudo-op: .subsections_via_symbols
>> make: *** [corStruct.o] Error 1
>> ERROR: compilation failed for package 'nlme'

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/




More information about the R-help mailing list