Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Include file error from a new install of C++ compiler on Solaris 5.7

807575Jul 17 2000 — edited Jul 20 2000
Here is the command line being executed:
CC test.cc
Here is the sample cc file being compiled:
#include <iostream>

int main() {

std::cout << "Real programmers write C++!" << std::endl;

return 0;

}

Error Output:
"/opt/SUNWspro/WS6/include/CC/std/stddef.h", line 7: Error: Could not open inclu
de file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/stddef.h", line 15: Error: Could not open incl
ude file <sys/isa_defs.h>.
"/opt/SUNWspro/WS6/include/CC/std/stdarg.h", line 7: Error: Could not open inclu
de file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/string.h", line 7: Error: Could not open inclu
de file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/ctype.h", line 7: Error: Could not open includ
e file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/wchar.h", line 6: Error: Could not open includ
e file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 34: Error: Could not ope
n include file <sys/isa_defs.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 35: Error: Could not ope
n include file <stdio_tag.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 36: Error: Could not ope
n include file <wchar_impl.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 7: Error: Could not open include
file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 42: Error: Could not open includ
e file <sys/types.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 52: Error: Could not open includ
e file <sys/time_impl.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: Type name expected in
stead of "pthread_attr_t".
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: No storage class or t
ype for this declaration.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: "," expected instead
of "*".
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 86: Error: Use ";" to terminate
declarations.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 38: Error: Could not ope
n include file <sys/va_list.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 94: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 95: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 96: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 97: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 98: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 99: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 100: Error: __FILE is no
t defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 152: Error: __FILE is no
t defined.
Compilation aborted, too many Error messages.

Could someone please help with solving this compilation error.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2000
Added on Jul 17 2000
1 comment
139 views