gcc 2.95.3 building problem

Ian Lance Taylor iant@google.com
Tue Aug 12 20:54:00 GMT 2008


cihan <cihan@enderunix.org> writes:

> I will compile my kernel and I want to build gcc 2.95.3
> I try to compile this on 32 bit OS slackware but I have an error.
>
> decl.c: In function 'start_struct':
> decl.c:4451: error: argument 'code' doesn't match prototype
> ch-tree.h:736: error: prototype declaration
> make[2]: *** [decl.o] Error 1
> make[2]: Leaving directory `/home/cihan/gcc-2.95.3/gcc/ch'
> make[1]: *** [cc1chill] Error 2
> make[1]: Leaving directory `/home/cihan/gcc-2.95.3/gcc'
> make: *** [all-gcc] Error 2

I recommend not building chill.  When you run configure, use
--enable-languages=c,c++ .

Ian



More information about the Gcc-help mailing list