This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |