HP3000-L Archives

August 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bob Rose <[log in to unmask]>
Reply To:
Date:
Mon, 21 Aug 2000 19:26:08 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
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

ATOM RSS1 RSS2