[R-SIG-Mac] compilation error with R-2.4.0
Simon Urbanek
simon.urbanek at r-project.org
Fri Oct 6 19:05:14 CEST 2006
David,
On Oct 6, 2006, at 12:22 PM, David Ruau wrote:
> 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 gfortran.
> [...]
> 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/
> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
> DriverServices.h:32,
> from /System/Library/Frameworks/
> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
> CarbonCore.h:125,
> from /System/Library/Frameworks/
> CoreServices.framework/Headers/CoreServices.h:21,
> from /System/Library/Frameworks/Carbon.framework/
> Headers/Carbon.h:20,
> from devQuartz.c:276:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/
> CarbonCore.framework/Headers/MachineExceptions.h:115: error: expected
> specifier-qualifier-list before 'vector'
>
^^^ -- it seems to choke on altiVec commands, so my guess would be
that you have to explicitly enable altiVec support for your compiler
- try adding -faltivec to the compiler flags.
Cheers,
Simon
More information about the R-SIG-Mac
mailing list