unable to build gnat (egcs-19980615, gcc/tree.h, lang_decode_option)
Dave Brolley
brolley@cygnus.com
Tue Jun 16 12:17:00 GMT 1998
Patrik,
Please see the file gcc/LANGUAGES for details on how to fix this problem.
Dave
Patrik Hagglund wrote:
> FYI, it is still not possible to build gnat with the latest snapshot.
>
> Output:
>
> [snip]
> gcc -c -DIN_GCC -DSVR4 -g -O2 -I. -I.. -I../../../gcc/ada -I../../../gcc/ada/.. -I../../../gcc/ada/../config ../../../gcc/ada/a-gtran3.c
> In file included from ../../../gcc/ada/a-gtran3.c:51:
> ../../../gcc/ada/a-misc.h:66: conflicting types for `lang_decode_option'
> ../../../gcc/ada/../tree.h:1970: previous declaration of `lang_decode_option'
> make[2]: *** [a-gtran3.o] Error 1
> make[2]: Leaving directory `/home/patha/tmp/egcs-19980615/objdir/gcc/ada'
> make[1]: *** [gnat1] Error 2
> make[1]: Leaving directory `/home/patha/tmp/egcs-19980615/objdir/gcc'
> make: *** [all-gcc] Error 2
>
> Commands:
>
> tar zfxv egcs-19980525.tar.gz
> tar zfxv gnat-3.10p-src.tar.gz
>
> cd gcc
> cp -r ../../gnat-3.10p-src/src/ada .
> patch -p0 < README.gnat
>
> cd ..
> mkdir objdir; cd objdir
>
> ../configure
> make
>
> Regards,
> Patrik Hägglund
More information about the Gcc-bugs
mailing list