[R-SIG-Mac] compilation error with R-2.4.0

David Ruau druau at ukaachen.de
Fri Oct 6 18:22:58 CEST 2006


I am running a G5 DP 1,8Ghz with 3.5 Gb RAM
I install gcc 4.2 from the http://hpc.sourceforge.net/ web site with  

[mac:admin]$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.7.0
Configured with: ../gcc-4.2-20060805/configure --enable-languages=c+ 
Thread model: posix
gcc version 4.2.0 20060805 (experimental)

I did (from wiki.urbanek.info)
./configure CFLAGS='-O3 -fgcse-sm -funroll-loops -fstrict-aliasing - 
fsched-interblock -falign-loops=16 -falign-jumps=16 -falign- 
functions=16 -malign-natural -freorder-blocks -freorder-blocks-and- 
partition -mpowerpc-gfxopt -mpowerpc-gpopt -fstrict-aliasing -ftree- 
vectorize -mtune=G5 -mcpu=G5' FFLAGS='-O3 -fgcse-sm -funroll-loops - 
fstrict-aliasing -fsched-interblock -falign-loops=16 -falign-jumps=16  
-falign-functions=16 -malign-natural -freorder-blocks -freorder- 
blocks-and-partition -mpowerpc-gfxopt -mpowerpc-gpopt -fstrict- 
aliasing -ftree-vectorize -mtune=G5 -mcpu=G5'

removing -falign-jumps-max-skip=15 -falign-loops-max-skip=15
because configure give me a error.

and when I run make it compile ok until:
[gaia:admin]$ make
make[1]: Nothing to be done for `R'.
make[1]: Nothing to be done for `R'.
make[2]: Nothing to be done for `R'.
Rmath.h is unchanged
all.R is unchanged
../../../library/grDevices/R/grDevices is unchanged
make[5]: `Makedeps' is up to date.
gcc -I../../../../include -I../../../../include -I../../../include - 
I../../../../src/include -DHAVE_CONFIG_H -I/usr/local/include    - 
fPIC  -O3 -mpowerpc-gfxopt -mpowerpc-gpopt -fstrict-aliasing -ftree- 
vectorize -mtune=G5 -mcpu=G5 -c devQuartz.c -o devQuartz.o
In file included from /System/Library/Frameworks/ 
                  from /System/Library/Frameworks/ 
                  from /System/Library/Frameworks/ 
                  from /System/Library/Frameworks/Carbon.framework/ 
                  from devQuartz.c:276:
CarbonCore.framework/Headers/MachineExceptions.h:115: error: expected  
specifier-qualifier-list before 'vector'
devQuartz.c:829:44: warning: multi-character character constant
devQuartz.c:829:59: warning: multi-character character constant
devQuartz.c:1659:43: warning: multi-character character constant
devQuartz.c:1659:59: warning: multi-character character constant
make[5]: *** [devQuartz.o] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all] Error 1
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

I have no idea why...
I try simpler configure option but it doesn't help...

any idea?


More information about the R-SIG-Mac mailing list