SUMMARY: SFWgcc missing header files

From: Drew Raines <drew_at_phg.mc.vanderbilt.edu>
Date: Fri Sep 14 2001 - 17:24:19 EDT
Don't you hate when you ask a FAQ?  It looks like the SUNWlibm package was
what I was missing.  I had read

   http://www.science.uva.nl/pub/solaris/solaris2.html#q6.2

many times before, but skipped over the libm package for some reason.  FYI,
I already had SUNWhea installed when the below problem occurred.

Thanks to -> Darren Dunham | Bernhard Sadlowski | Luke Kanies

Drew


* Drew Raines <drew@phg.mc.vanderbilt.edu>:
>
> I installed the SFWgcc package from the Sol 8 freeware CD.  The machine is
> an Ultra 80 running Sol 8.  It compiles ANSI C code fine with gcc, but g++
> has a problem:
> 
>    $ g++ sigmoid_test.C -o st
>    In file included from sigmoid_test.C:9:
>    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/math.h:5:
> 				    math.h: No such file or directory
> 
> The top of sigmoid_test.C looks like:
> 
>    #include <stdio.h>
>    #include <time.h>
>    #include <math.h>
> 
> The math.h file referenced in the error message is a wrapper to some other
> math.h file, which it cannot find.  Any ideas what other packages I need to
> install?  I satisfied a bunch of dependencies just to install SFWgcc.
> 
> Thanks!
Received on Fri Sep 14 22:24:19 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:30 EDT