This is the mail archive of the gcc-bugs@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]

GCC Error: /usr/local/include/filename.H


I am trying to install GCC 2.95.2 on RedHat 6.2 and coming up with errors.
I've had these errors come up when trying to compile other programs but do
not know how to fix it.

The compiler complains about the file /usr/local/include/filename.H,
specifically line 74 saying that the struct dirent was declared in the
parameter list and this is probably not what I want. When looking at the
source, the struct is declared as a trinary pointer variable (i.e. struct
dirent ***varname) in the parameter list and looks good.

It then goes on to complain about a parse error before DIR on the next line
and/or in other source files related to the build of whatever
project/program I am trying to build that needs it.

So I tried to update Perl to see if that would correct it, but compiling
Perl 5.6 (the latest stable) gives the same error. So now I'm trying to
install the lastest stable of the gcc compiler (2.95.2), and it is also
giving the same error.

What can I do to fix this? Is anyone aware of any problems with RedHat 6.2
that causes this? I tried looking at the RedHat Bugzilla system but it came
up with zilch for bugs with RedHat Linux 6.2 and Gcc.

Thanks,

Ben Meyer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]