Re: gcc 2.95.3 building problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did what you said and the problem is fixed but another problem come out.

In file included from /usr/include/sys/types.h:270,
                from /usr/include/stdlib.h:320,
                from ./libgcc2.c:41:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
_clear_cache
In file included from /usr/include/sys/types.h:270,
                from /usr/include/stdlib.h:320,
                from ./libgcc2.c:41:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
_trampoline
In file included from /usr/include/sys/types.h:270,
                from /usr/include/stdlib.h:320,
                from ./libgcc2.c:41:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
__main
In file included from /usr/include/sys/types.h:270,
                from /usr/include/stdlib.h:320,
                from ./libgcc2.c:41:

In file included from /usr/include/sys/types.h:270,
                from /usr/include/stdlib.h:320,
                from ./frame.c:42:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
./frame.c:55: extra brace group at end of initializer
./frame.c:55: (near initialization for `object_mutex.__data')
./frame.c:55: warning: excess elements in struct initializer
./frame.c:55: warning: (near initialization for `object_mutex.__data')
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/home/cihan/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2

Ian Lance Taylor wrote:
cihan <cihan@xxxxxxxxxxxxx> 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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux