- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: gcc g++ on hpux won't compile (can't find stdi...
Operating System - Linux
1754016
Members
7356
Online
108811
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
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
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
08-30-2007 06:02 AM
08-30-2007 06:02 AM
Re: gcc g++ on hpux won't compile (can't find stdint)
I was a bit confused as to why I could not compile 'hello world' out of box.
This is a fresh install of hp-ux pa 11.11 patched up through the gold pack of early '07.
I am using gcc-4.2.1-hppa-11.11.depot that I got from the Utah HP porting center.
I also tried adding, from the porting center, gettext-0.16.1, libiconv-1.11, make-3.81, and from itrc, PHKL_29243, PHSS_34880, and PHSS_35383.
This is a fresh install of hp-ux pa 11.11 patched up through the gold pack of early '07.
I am using gcc-4.2.1-hppa-11.11.depot that I got from the Utah HP porting center.
I also tried adding, from the porting center, gettext-0.16.1, libiconv-1.11, make-3.81, and from itrc, PHKL_29243, PHSS_34880, and PHSS_35383.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2007 06:15 AM
08-30-2007 06:15 AM
Re: gcc g++ on hpux won't compile (can't find stdint)
When GCC is built it makes (modified) copies of some of the system header files. I think these copies may be out of synch with your own system header files. If you downloaded GCC 4.2.1 from the HP Porting and Archive Center you should have a command on your system called mkheaders, the path is probably:
/usr/local/libexec/gcc/hppa2.0w-hp-hpux11.11/4.2.1/install-tools/mkheaders
If you have a different GCC version or are on a different OS the path may be slightly different. Try running this mkheaders command, it will reexamine the system headers and update the GCC specific versions of those headers to match what is on your system. You will probably need to be root to do this and it will modify your GCC header files so you might want to back them up or if you still have the depot you could restore them using that if something got messed up. mkheaders should not change any files except ones that are part of the GCC installation.
/usr/local/libexec/gcc/hppa2.0w-hp-hpux11.11/4.2.1/install-tools/mkheaders
If you have a different GCC version or are on a different OS the path may be slightly different. Try running this mkheaders command, it will reexamine the system headers and update the GCC specific versions of those headers to match what is on your system. You will probably need to be root to do this and it will modify your GCC header files so you might want to back them up or if you still have the depot you could restore them using that if something got messed up. mkheaders should not change any files except ones that are part of the GCC installation.
- Tags:
- mkheaders
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP