public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Zhanjun Ying <zhanjun@pangea.stanford.edu>
To: <gcc-help@gcc.gnu.org>
Subject: correction: update Redhat 2.96 to gcc2.95.3 and related problem
Date: Tue, 27 Mar 2001 09:27:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.30.0103270925160.31194-100000@pc-scrf1.Stanford.EDU> (raw)

I am sorry. In my previous message I forgot to include the error message I
mentioned. Here they are:

====================error message from gcc.2.95.3 ===================

In file included from /usr/include/bits/types.h:26,
                 from /usr/include/_G_config.h:9,
                 from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_config.h:151,
                 from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/iterator:30,
                 from point.h:15,
                 from testAutoMesh.cc:1:
/usr/include/features.h:311: gnu/stubs.h: Permission denied


---------- Forwarded message ----------
Date: Tue, 27 Mar 2001 09:08:04 -0800 (PST)
From: Zhanjun Ying <zhanjun@pangea.stanford.edu>
To: gcc-help@gcc.gnu.org
Subject: update Redhat 2.96 to gcc2.95.3 and related problem


I have a Redhat 7.0. The g++ version that comes with this OS is gcc
version 2.96 20000731 (Red Hat Linux 7.0). When I use it to compile one of
my program, it compiled but when I run, it seg-faults. However, under
Digital Unix 4.0d, I can compile it with g++2.95.3 and it runs. That makes
me suspect that there was something wrong with the 2.96 version. So I
decide to install the newly released gcc2.95.3. Installation sees OK.
However, when I use it to compile the code, it shows that permission for
several directories are incorrect resulting some header files couldn't be
found. After I manully corrected that, I still got the following error.
I tried to "chmod go+rwx /usr/include/gnu /usr/include/gnu/stubs.h", but
that didn't help. However I can compile that code as root.

Any suggestions about the error? Should I prefer gcc-2.95.3 over the 2.96
version?

thanks a lot

Zhanjun





             reply	other threads:[~2001-03-27  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27  9:27 Zhanjun Ying [this message]
2001-03-27 16:45 Kazu Hirata

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=Pine.LNX.4.30.0103270925160.31194-100000@pc-scrf1.Stanford.EDU \
    --to=zhanjun@pangea.stanford.edu \
    --cc=gcc-help@gcc.gnu.org \
    /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).