GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hellostrings.c:4:20: iostream: No such file or dir...
Operating System - HP-UX
1846990
Members
3939
Online
110257
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
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
03-08-2005 11:16 PM
03-08-2005 11:16 PM
hellostrings.c:4:20: iostream: No such file or directory
Hi,
Evidently the gcc binary at
/usr/local/bin is not able to locate the
iostream.h and string.h
at
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/include
Would someone please let me know how to link the gcc compiler binary to be able to find the
above files?
Thanks
Ramakrishnan
Evidently the gcc binary at
/usr/local/bin is not able to locate the
iostream.h and string.h
at
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/include
Would someone please let me know how to link the gcc compiler binary to be able to find the
above files?
Thanks
Ramakrishnan
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 07:06 AM
03-09-2005 07:06 AM
Re: hellostrings.c:4:20: iostream: No such file or directory
The include files you want are C++ files, yet the source file you reference is C. But besides that, you could try setting the CPATH environment variable to the directory or pass in the directory on the command line with the -I switch
Cheers
Steven
Cheers
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 04:46 PM
03-09-2005 04:46 PM
Re: hellostrings.c:4:20: iostream: No such file or directory
Hi,
I guess it is not able to locate the iostream.h or the string.h files
I set the ld_library_path to point to the include folder.
But the gcc compiler still is not able to look up these files.
May have to link the gcc binary to the include folder.
Could you send me the syntax for the linking?
I am a novice with C++ , UNIX so it'd be great to have the exact syntax for this
Thanks
Ramakrishnan
I guess it is not able to locate the iostream.h or the string.h files
I set the ld_library_path to point to the include folder.
But the gcc compiler still is not able to look up these files.
May have to link the gcc binary to the include folder.
Could you send me the syntax for the linking?
I am a novice with C++ , UNIX so it'd be great to have the exact syntax for this
Thanks
Ramakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 12:37 AM
03-15-2005 12:37 AM
Re: hellostrings.c:4:20: iostream: No such file or directory
Hi,
This worked, LD_LIBRARY_PATH was adequately changed.
by giving /usr/local/pa20_64/lib
Please close this request.
Thanks
Ramki
This worked, LD_LIBRARY_PATH was adequately changed.
by giving /usr/local/pa20_64/lib
Please close this request.
Thanks
Ramki
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 2026 Hewlett Packard Enterprise Development LP