[AWS] error building AWS on
Graham Stark
graham.stark at virtual-worlds.biz
Tue Feb 16 12:38:38 CET 2010
Hi,
can anyone explain the error below?
I was trying to compile AWS on Ubuntu Linux on an i386.
AWS and GNAT are both the latest downloads from AdaCore Libre site.
>From Googling, I think it may be something to do with with mixed-up
versions of GCC. I have
/opt/gnat-2009/bin
as the first item in $PATH.
The error is right at the end of compilation.
thanks,
Graham
--------- error message ---------------------
gcc -c -O2 inffast.c
gcc -c -O2 crc32.c
In file included from /usr/include/sys/types.h:223,
from /usr/include/stdlib.h:320,
from /home/graham_s/ada/2009/tools/aws/aws-2.7.0w-src/include/zlib/zutil.h:24,
from /home/graham_s/ada/2009/tools/aws/aws-2.7.0w-src/include/zlib/inffast.c:6:
/opt/gnat-2009-i686-gnu-linux-libc2.3-bin/bin/../lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/sysmacros.h:52: error: expected ',' or ';' before '{' token
/opt/gnat-2009-i686-gnu-linux-libc2.3-bin/bin/../lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/sysmacros.h:58: error: expected ',' or ';' before '{' token
/opt/gnat-2009-i686-gnu-linux-libc2.3-bin/bin/../lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/sysmacros.h:64: error: expected ',' or ';' before '{' token
In file included from /usr/include/sys/types.h:223,
from /usr/include/stdlib.h:320,
from /home/graham_s/ada/2009/tools/aws/aws-2.7.0w-src/include/zlib/zutil.h:24,
from /home/graham_s/ada/2009/tools/aws/aws-2.7.0w-src/include/zlib/crc32.c:30:
/opt/gnat-2009-i686-gnu-linux-libc2.3-bin/bin/../lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/sysmacros.h:52: error: expected ',' or ';' before '{' token
/opt/gnat-2009-i686-gnu-linux-libc2.3-bin/bin/../lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/sysmacros.h:58: error: expected ',' or ';' before '{' token
/opt/gnat-2009-i686-gnu-linux-libc2.3-bin/bin/../lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/sysmacros.h:64: error: expected ',' or ';' before '{' token
compilation of inffast.c failed
compilation of crc32.c failed
gprbuild: *** compilation phase failed
--
Graham Stark
Virtual Worlds Research Limited | Company no: 7044090
136 Hainault Avenue, Milton Keynes, UK, MK14 5PG
tel: +44 1908 618239 | skype: graham_k_stark | mobile: (+044) 07952 633 185
More information about the AWS
mailing list