From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8214 invoked by alias); 13 Aug 2008 18:22:08 -0000 Received: (qmail 8197 invoked by uid 22791); 13 Aug 2008 18:22:06 -0000 X-Spam-Check-By: sourceware.org Received: from freefall.marmara.edu.tr (HELO istanbul.enderunix.org) (193.140.143.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Aug 2008 18:21:27 +0000 Received: (qmail 80306 invoked from network); 13 Aug 2008 18:20:09 -0000 Received: from unknown (HELO ?192.168.1.2?) (cihan@88.250.177.36) by 0 with ESMTPA; 13 Aug 2008 18:20:09 -0000 Message-ID: <48A32619.8060708@enderunix.org> Date: Wed, 13 Aug 2008 19:47:00 -0000 From: cihan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Ian Lance Taylor CC: gcc-help@gcc.gnu.org Subject: Re: gcc 2.95.3 building problem References: <48A1D912.7060203@enderunix.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00132.txt.bz2 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 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 > > >