Thanks, Gavin.
I renamed gcc's signal.h out of the way and all is well. On to compiling
apache 1.3.12...
Bob
____________________Reply Separator____________________
Subject: RE: [HP3000-L] GCC and signal.h
Author: MIME:[log in to unmask]
Date: 8/21/00 6:04 PM
Bob asks:
> Wonder if anyone's run into this problem with gcc. I'm running
> EGCS 2.91.57 from Jazz, on 6.0pp2. I have C/iX installed on
> this system as well.
>The first problem is that
>/usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57/include/signal.h
> includes <sys/signal.h>.
>Anyone else run across this before?
This is a known problem with the older distributions from gnu. You have a
couple of choices:
You can (in many instances) safely rm the shadow include files. They're
in /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57/include. These
are created during the GCC build process to "fix" certain incompatibilities
that the gcc authors have found over the years. Their fix scripts don't
always handle all platforms and have caused problems on MPE. If you aren't
porting some of the more esoteric stuff, you can probably just do this step.
The next choice is to pickup the newer release of gcc and install it.
That fixes most of those issues. If you don't want the newer compiler,
you can simply move the include directory from one compiler version to
another.
Please note that the latest version of gcc is 2.95.2 (available on Jazz)
http://jazz.external.hp.com/src/gnu/gnuframe.html
but there are still some permissions things that we just found that are
currently being cleaned up. I'd perhaps wait a couple of days before
downloading that version.
G.
www.gccsupport.com