HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Error including C standard headers in Itanium serv...
Operating System - Linux
1830222
Members
1959
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 06:43 PM
09-12-2006 06:43 PM
Error including C standard headers in Itanium server
While running the following command in HP-UX 11.23 Itanium server, I get some errors while including C standard headers.
The C compiler version is
cc: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]
/usr/bin/cc -g -DIT_USE_STD_IOSTREAM -D_DEBUG -DUSE_AA_OPTION +W641 -Wl,+s -D_RWCONFIG__RogueWaveStdLib_NoThrLib_Static_Debug -I./include -I/ymstools/HP-UX_B.11.23/packages/SourcePro/SourcePro32/Ed8/include -I/ymstools/HP-UX_B.11.23/packages/SourcePro/SourcePro32/Ed8 -c src/eval.c -o lib/eval.o
"./include/vinclude.h", line 80: error #2005: could not open source file "cstdio"
#include
^
"./include/vinclude.h", line 88: error #2005: could not open source file "csignal"
#include
^
"./include/vinclude.h", line 90: error #2005: could not open source file "cctype"
#include
^
"./include/vinclude.h", line 94: error #2005: could not open source file "cerrno"
#include
^
"./include/vinclude.h", line 123: error #2005: could not open source file "cstring"
# include
^
"./include/vmath.h", line 63: error #2005: could not open source file "cmath"
#include
^
"./include/xvparser.h", line 63: error #2005: could not open source file "cstdio"
#include "cstdio"
^
"./include/xvparser.h", line 103: error #2020: identifier "pow" is undefined
{ "pow", pow, 2 },
^
"./include/xvparser.h", line 104: error #2020: identifier "sin" is undefined
{ "sin", sin, 1 },
^
"./include/xvparser.h", line 105: error #2020: identifier "cos" is undefined
{ "cos", cos, 1 },
^
"./include/xvparser.h", line 106: error #2020: identifier "tan" is undefined
{ "tan", tan, 1 },
^
"./include/xvparser.h", line 107: error #2020: identifier "sinh" is undefined
{ "sinh", sinh, 1 },
^
"./include/xvparser.h", line 108: error #2020: identifier "cosh" is undefined
{ "cosh", cosh, 1 },
^
"./include/xvparser.h", line 109: error #2020: identifier "tanh" is undefined
{ "tanh", tanh, 1 },
^
"./include/xvparser.h", line 110: error #2020: identifier "asin" is undefined
{ "asin", asin, 1 },
^
"./include/xvparser.h", line 111: error #2020: identifier "acos" is undefined
{ "acos", acos, 1 },
^
"./include/xvparser.h", line 112: error #2020: identifier "atan" is undefined
{ "atan", atan, 1 },
^
"./include/xvparser.h", line 113: error #2020: identifier "atan2" is undefined
{ "atan2", atan2, 2 },
^
"./include/xvparser.h", line 114: error #2020: identifier "exp" is undefined
{ "exp", exp, 1 },
^
"./include/xvparser.h", line 115: error #2020: identifier "sqrt" is undefined
{ "sqrt", sqrt, 1 },
^
"./include/xvparser.h", line 116: error #2020: identifier "log" is undefined
{ "ln", log, 1 },
^
"./include/xvparser.h", line 117: error #2020: identifier "log10" is undefined
{ "log10", log10, 1 },
^
"./include/xvparser.h", line 118: error #2020: identifier "hypot" is undefined
{ "hypot", hypot, 2 },
^
"./include/xvparser.h", line 119: error #2020: identifier "fabs" is undefined
{ "abs", fabs, 1 },
^
"./include/xvparser.h", line 120: error #2020: identifier "floor" is undefined
{ "floor", floor, 1 },
^
"./include/xvparser.h", line 121: error #2020: identifier "ceil" is undefined
{ "ceil", ceil, 1 },
^
"./include/xvparser.h", line 128: error #2020: identifier "j0" is undefined
{ "j0", j0, 1 },
^
"./include/xvparser.h", line 129: error #2020: identifier "j1" is undefined
{ "j1", j1, 1 },
^
"./include/xvparser.h", line 130: error #2020: identifier "y0" is undefined
{ "y0", y0, 1 },
^
"./include/xvparser.h", line 131: error #2020: identifier "y1" is undefined
{ "y1", y1, 1 },
^
"./include/xvparser.h", line 149: error #2020: identifier "NULL" is undefined
{ NULL, 0, 0 },
^
"src/eval.c", line 565: warning #2513-D: a value of type "int" cannot be assigned to an entity of type "char *"
result->String = VStrcat(str1, str2);
^
31 errors detected in the compilation of "src/eval.c".
gmake: *** [lib/eval.o] Error 1
Do I need to include any C type linking libraries to resolve this issue?
The C compiler version is
cc: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]
/usr/bin/cc -g -DIT_USE_STD_IOSTREAM -D_DEBUG -DUSE_AA_OPTION +W641 -Wl,+s -D_RWCONFIG__RogueWaveStdLib_NoThrLib_Static_Debug -I./include -I/ymstools/HP-UX_B.11.23/packages/SourcePro/SourcePro32/Ed8/include -I/ymstools/HP-UX_B.11.23/packages/SourcePro/SourcePro32/Ed8 -c src/eval.c -o lib/eval.o
"./include/vinclude.h", line 80: error #2005: could not open source file "cstdio"
#include
^
"./include/vinclude.h", line 88: error #2005: could not open source file "csignal"
#include
^
"./include/vinclude.h", line 90: error #2005: could not open source file "cctype"
#include
^
"./include/vinclude.h", line 94: error #2005: could not open source file "cerrno"
#include
^
"./include/vinclude.h", line 123: error #2005: could not open source file "cstring"
# include
^
"./include/vmath.h", line 63: error #2005: could not open source file "cmath"
#include
^
"./include/xvparser.h", line 63: error #2005: could not open source file "cstdio"
#include "cstdio"
^
"./include/xvparser.h", line 103: error #2020: identifier "pow" is undefined
{ "pow", pow, 2 },
^
"./include/xvparser.h", line 104: error #2020: identifier "sin" is undefined
{ "sin", sin, 1 },
^
"./include/xvparser.h", line 105: error #2020: identifier "cos" is undefined
{ "cos", cos, 1 },
^
"./include/xvparser.h", line 106: error #2020: identifier "tan" is undefined
{ "tan", tan, 1 },
^
"./include/xvparser.h", line 107: error #2020: identifier "sinh" is undefined
{ "sinh", sinh, 1 },
^
"./include/xvparser.h", line 108: error #2020: identifier "cosh" is undefined
{ "cosh", cosh, 1 },
^
"./include/xvparser.h", line 109: error #2020: identifier "tanh" is undefined
{ "tanh", tanh, 1 },
^
"./include/xvparser.h", line 110: error #2020: identifier "asin" is undefined
{ "asin", asin, 1 },
^
"./include/xvparser.h", line 111: error #2020: identifier "acos" is undefined
{ "acos", acos, 1 },
^
"./include/xvparser.h", line 112: error #2020: identifier "atan" is undefined
{ "atan", atan, 1 },
^
"./include/xvparser.h", line 113: error #2020: identifier "atan2" is undefined
{ "atan2", atan2, 2 },
^
"./include/xvparser.h", line 114: error #2020: identifier "exp" is undefined
{ "exp", exp, 1 },
^
"./include/xvparser.h", line 115: error #2020: identifier "sqrt" is undefined
{ "sqrt", sqrt, 1 },
^
"./include/xvparser.h", line 116: error #2020: identifier "log" is undefined
{ "ln", log, 1 },
^
"./include/xvparser.h", line 117: error #2020: identifier "log10" is undefined
{ "log10", log10, 1 },
^
"./include/xvparser.h", line 118: error #2020: identifier "hypot" is undefined
{ "hypot", hypot, 2 },
^
"./include/xvparser.h", line 119: error #2020: identifier "fabs" is undefined
{ "abs", fabs, 1 },
^
"./include/xvparser.h", line 120: error #2020: identifier "floor" is undefined
{ "floor", floor, 1 },
^
"./include/xvparser.h", line 121: error #2020: identifier "ceil" is undefined
{ "ceil", ceil, 1 },
^
"./include/xvparser.h", line 128: error #2020: identifier "j0" is undefined
{ "j0", j0, 1 },
^
"./include/xvparser.h", line 129: error #2020: identifier "j1" is undefined
{ "j1", j1, 1 },
^
"./include/xvparser.h", line 130: error #2020: identifier "y0" is undefined
{ "y0", y0, 1 },
^
"./include/xvparser.h", line 131: error #2020: identifier "y1" is undefined
{ "y1", y1, 1 },
^
"./include/xvparser.h", line 149: error #2020: identifier "NULL" is undefined
{ NULL, 0, 0 },
^
"src/eval.c", line 565: warning #2513-D: a value of type "int" cannot be assigned to an entity of type "char *"
result->String = VStrcat(str1, str2);
^
31 errors detected in the compilation of "src/eval.c".
gmake: *** [lib/eval.o] Error 1
Do I need to include any C type linking libraries to resolve this issue?
- Tags:
- include
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 06:50 PM - edited 10-29-2011 07:02 PM
09-12-2006 06:50 PM - edited 10-29-2011 07:02 PM
Re: Error including C++ versions of C standard headers on Integrity server
You can't use the C compiler to compile C++. You must use /opt/aCC/bin/aCC.
>Error including C standard headers
These are NOT the C Standard headers but the C++ versions of them.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP