Subject: Re: trouble compiling gcc3 on IRIX64 6.5.20m
To: Ryan Cresawn <cresawn@chass.utoronto.ca>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 11/24/2003 23:09:09
Ryan Cresawn [Mon, Nov 24, 2003 at 05:01:33PM -0500]:
> Oops!  So I ran 'bmake' again and all of the output is below.  It's

Ryan, 

the only lines, that are important are the ones which start with "error:" at
the beginning

> fibheap.c: In function fibheap_delete_node':
> fibheap.c:285: error: LONG_MIN' undeclared (first use in this function)
> fibheap.c:285: error: (Each undeclared identifier is reported only once
> fibheap.c:285: error: for each function it appears in.)
> fibheap.c: In function fibheap_delete':

Look, which file of /usr/include defines LONG_MIN:

      cd /usr/include
      grep LONG_MIN `find * -type f`
      
Edit fibheap.c to make it include that file: add to fibheap.c:

     #include <nameofthefilewithout/usr/include.h>
     
Take care,     
-- 
Michal Pasternak :: http://pasternak.w.lub.pl