Summary: problem with GCC and compiling

From: Ju-Lien Lim (julienlim@rocketmail.com)
Date: Wed Jan 14 1998 - 07:51:13 CST


My thanks to Casper Dik <casper@holland.Sun.COM> who
wrote the following:

Bad gcc installation or missing SUNWhea package.
On 2.5.1, the sys/feature_test.h exists in
/usr/include; do you have many files under
/usr/include?

It turned out I only had one file (sx.h) in
/usr/include/sys, and I have since corrected this
problem.

Original Question:
Hi... I'm running GCC 2.7.2.1 on Sol. 2.5.1 on a
Sparc 20, and I've tried building GCC from scratch as
well as loaded a few different binaries, but no
matter what, when I try to compile a simple c program
(test.c - I've included it below...), I get the
following message:

$ gcc test.c

In file included from test.c:1:

/opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/stdio.h:17:
sys/feature_tests.h: No such file or directory

Anyway, I've about 10 machines running GCC either
built from the source or from binaries I downloaded,
but they work fine. I checked the other machines
also for feature_tests.h but don't seem to find this
library on any of the machines. Can anyone tell me
why this isn't working for me?!?

Thanks again!

Ju
julienlim@rocketmail.com
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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