- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error #2005-D: could not open source file "iostrea...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-15-2009 02:41 AM
тАО09-15-2009 02:41 AM
We are migrating a C/C++ application from HPUX11.11 to Itanium V23. I am compiling as a 32 bit application.
When I am compiling a particular file, I get the following error.
/opt/aCC/bin/aCC -I/opt/tuxdir/tuxedo8.1/include -I/opt/siadev/mxshai3/SIA/1_1_code/common/include -I/opt/siadev/slayer/include -I/opt/siadev/slayer/include -g0 +z +DD32 -c SiaCommonInterface.cpp
"/opt/siadev/mxshai3/SIA/1_1_code/common/include/BSCTypeDefs.h", line 22: error #2005-D:
could not open source file "iostream/strstream.h"
#include
But if I add -I/opt/aCC/include in the Makefile, then I get a Catastrophic error and I found we should not include aCC/include for Itanium series.
How to include iostream/strstream.h if I cannot refer to aCC/include path?
Please help.
Thanks,
Goutham
Solved! Go to Solution.
- Tags:
- -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 04:11 AM
тАО09-15-2009 04:11 AM
Re: error #2005-D: could not open source file "iostream/strstream.h"
I seem to have overcome this problem by adding -AP option. I saw this in another thread here and it worked.
But is this the correct solution?
Thanks,
Goutham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 04:44 AM
тАО09-15-2009 04:44 AM
SolutionIt is illegal to include "iostream/" as part of the include file path. Your includes should have just been
>if I add -I/opt/aCC/include in the Makefile, then I get a Catastrophic error and I found we should not include aCC/include
Right.
>How to include iostream/strstream.h if I cannot refer to aCC/include path?
>seem to have overcome this problem by adding -AP option. But is this the correct solution?
Not really. It is not recommended you use -AP. You shouldn't use strstream.h with -AA. You should instead port to the deprecated Standard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 09:36 PM
тАО09-15-2009 09:36 PM
Re: error #2005-D: could not open source file "iostream/strstream.h"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 01:54 AM
тАО09-16-2009 01:54 AM
Re: error #2005-D: could not open source file "iostream/strstream.h"
You might mention which of my N suggestions worked, for everyone else.