SUMMARY: top-3.5beta6 and sol2.6 and gcc-2.7.2.3 problems

From: Dave Wreski (dave@nic.com)
Date: Mon Nov 17 1997 - 16:01:21 CST


My original question:

> >Hi all. I'm having trouble compiling top on my ultra2 2.6 box, with
> >gcc-2.7.2.3. The Changes docs show there were some recent chanegs, and
> >I'm wondering if all the problems aren't worked out yet.
> >
> >I also can't understand why I couldn't find this in the archives, as
> >surely others are using top on 2.6.

I did in fact search the FAQ, but never expected it to actually be a gcc
problem.

Thanks to the many who responded. The solution:

> It's a gcc problem.
>
> The solaris FAQ says:
>
> 6.27) I can't seem to get gcc to work under Solaris 2.6
>
>
> As with all new Solaris releases, you need to reinstall gcc after
> upgrading. Unfortunately, Solaris 2.6 include files don't get
> properly fixed by fixincludes. To fix this, apply the following
> patch to fixinc.svr4 before building gcc.
>
> *** ./fixinc.svr4.org Thu Jun 15 23:03:29 1995
> --- ./fixinc.svr4 Thu Sep 4 13:41:29 1997
> ***************
> *** 189,194 ****
> --- 189,195 ----
> s/__STDC__[ ][ ]*==[ ][ ]*1/defined (__STRICT_ANSI__)/g
> s/__STDC__[ ][ ]*!=[ ][ ]*0/defined (__STRICT_ANSI__)/g
> s/__STDC__ - 0 == 0/!defined (__STRICT_ANSI__)/g
> + s/__STDC__ - 0 == 1/defined (__STRICT_ANSI__)/g
> /^typedef[ ][ ]*[unsigned ]*long[ ][ ]*[u_]*longlong_t;/s/long/long long/
> ' $2/$file > $2/$file.sed
> mv $2/$file.sed $2/$file
>
> --- end of excerpt from the FAQ
>
> Questions marked with a * or + have been changed or added since
> the FAQ was last posted
>
> The most recently posted version of the FAQ is available from
> <http://www.wins.uva.nl/pub/solaris/solaris2/>
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:09 CDT