public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: cihan <cihan@enderunix.org>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: gcc 2.95.3 building problem
Date: Wed, 13 Aug 2008 19:47:00 -0000	[thread overview]
Message-ID: <48A32619.8060708@enderunix.org> (raw)
In-Reply-To: <m3abfi7z7n.fsf@google.com>

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@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
>
>
>   

  reply	other threads:[~2008-08-13 18:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 20:32 cihan
2008-08-12 20:54 ` Ian Lance Taylor
2008-08-13 19:47   ` cihan [this message]
2008-08-14  4:05     ` Ian Lance Taylor
2008-08-14 19:01       ` cihan
2008-08-14 21:42         ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A32619.8060708@enderunix.org \
    --to=cihan@enderunix.org \
    --cc=gcc-help@gcc.gnu.org \
    --cc=iant@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).