HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 'C' compiler on hp-ux 11.00
Operating System - HP-UX
1825780
Members
2071
Online
109687
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-28-2004 07:42 AM
09-28-2004 07:42 AM
'C' compiler on hp-ux 11.00
We are running on a 4 cpu L2000 with HP-UX_B.11.00_32/64 with the lastest recommended patch bundle.
Also, we are using HP C/ANSI C B.11.02.10.
We are experiencing 2 problems:
1) if a user has the UNIX95 variable in their .profile, cc will fail with error 1469 (cc cannot open file xxx.h). Once this variable is removed, it functions.
2) we are trying to suppress a warning during or compile (warning 2028) with the +w switch. Unfortunately, this does not disbale the waring even though the man page states that it should.
Any help is greatly appreciated.
Also, we are using HP C/ANSI C B.11.02.10.
We are experiencing 2 problems:
1) if a user has the UNIX95 variable in their .profile, cc will fail with error 1469 (cc cannot open file xxx.h). Once this variable is removed, it functions.
2) we are trying to suppress a warning during or compile (warning 2028) with the +w switch. Unfortunately, this does not disbale the waring even though the man page states that it should.
Any help is greatly appreciated.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 01:29 AM
09-29-2004 01:29 AM
Re: 'C' compiler on hp-ux 11.00
To go bottom up, try to use +W (capital W) instead of +w (lower case w) to suppress the warning. Or alter the code to not generate the warning anymore, of course.
As for the UNIX95: I don't see why cc complains about that. But unsetting it before starting to compile shouldn't be a real problem, is it? Perhaps putting a script in a directory that's in the PATH before the directory containing cc to call the real cc after unsetting the variable is a simple solution for this.
Good luck,
Elmar
As for the UNIX95: I don't see why cc complains about that. But unsetting it before starting to compile shouldn't be a real problem, is it? Perhaps putting a script in a directory that's in the PATH before the directory containing cc to call the real cc after unsetting the variable is a simple solution for this.
Good luck,
Elmar
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 08:16 AM
09-29-2004 08:16 AM
Re: 'C' compiler on hp-ux 11.00
Elmar,
Thank you for your response.
capital W *was* used and it did not function as specified.
As far as UNIX95 variable - the 'C' compiler should not fail due to the existence of an environment variable. I'd consider this a bug (if others experience the same issue).
I'm just curious if HP still supports this "c" compiler version. Any ideas?
Thank you for your response.
capital W *was* used and it did not function as specified.
As far as UNIX95 variable - the 'C' compiler should not fail due to the existence of an environment variable. I'd consider this a bug (if others experience the same issue).
I'm just curious if HP still supports this "c" compiler version. Any ideas?
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP