public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: yzysea <yangjing47686@163.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: problems with gcc installation
Date: Fri, 16 Oct 2009 14:37:00 -0000	[thread overview]
Message-ID: <mcrd44oehi0.fsf@dhcp-172-17-9-151.mtv.corp.google.com> (raw)
In-Reply-To: <25905693.post@talk.nabble.com> (yzysea's message of "Thu\, 15 Oct 2009 02\:42\:08 -0700 \(PDT\)")

yzysea <yangjing47686@163.com> writes:

>   I need to intall gcc-2.5.8 on opensolaris. In the "make" step, I get  the
> following message: 
>
>   root@opensolaris:/export/home/sea/Desktop/gcc-2.5.8# make 
> cc  -DIN_GCC   -g     -I. -I. -I./config \ 
>  
> -DGCC_INCLUDE_DIR=\"/usr/local/gcc258/lib/gcc-lib/i386-sun-sunos5.11/2.5.8/include\"
> \ 
>   -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/gcc258/lib/g++-include\" \ 
>   -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ 
>  
> -DCROSS_INCLUDE_DIR=\"/usr/local/gcc258/lib/gcc-lib/i386-sun-sunos5.11/2.5.8/sys-include\"
> \ 
>   -DTOOL_INCLUDE_DIR=\"/usr/local/gcc258/i386-sun-sunos5.11/include\" \ 
>   -DTOOLDIR=\"/usr/local/gcc258/i386-sun-sunos5.11/\" \ 
>   -c `echo ./cccp.c | sed 's,^\./,,'` 
> cccp.c: In function `bzero': 
> cccp.c:8966: error: argument "b" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c: In function `bcopy': 
> cccp.c:8976: error: argument "b1" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c:8976: error: argument "b2" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c: In function `bcmp': 
> cccp.c:8986: error: argument "b1" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c:8986: error: argument "b2" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> *** Error code 1 
> make: Fatal error: Command failed for target `cccp.o'
>
> I am trapped in this problem for ages.
> Can anyone give me some help?  Thanks a great deal 


Thanks for sending this message to gcc-help@gcc.gnu.org.  A message of
this sort should not be sent to gcc@gcc.gnu.org.  Please keep similar
messages to gcc-help in the future.  Thanks.

gcc 2.5.8 is very very old.  The current release is 4.4.1, and 4.4.2
is about to go out the door.  Is there any reason that you want to use
such an old release?

I don't have a copy of that ancient release, but the fix should be
pretty obvious for anybody who knows C: look at the lines in cccp.c,
and make the functions match the declarations.

Ian

  reply	other threads:[~2009-10-15 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 14:10 yzysea
2009-10-16 14:37 ` Ian Lance Taylor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-14  9:07 Problems " Carlos Puigdomenech
2000-04-14 10:18 ` Alexandre Oliva

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=mcrd44oehi0.fsf@dhcp-172-17-9-151.mtv.corp.google.com \
    --to=iant@google.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=yangjing47686@163.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).