- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gcc error?
Operating System - HP-UX
1748275
Members
3840
Online
108761
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
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
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
тАО05-22-2005 10:05 PM
тАО05-22-2005 10:05 PM
gcc error?
Whatever I try to compile with gcc, I get:
usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
What is meant by incomplete type?
usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
What is meant by incomplete type?
- Tags:
- gcc
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 10:15 PM
тАО05-22-2005 10:15 PM
Re: gcc error?
In this case it probably means your source code needs to include
#include
before it includes
#include
The type isn't fully defined by the time the compiler needs to know what it is.
#include
before it includes
#include
The type isn't fully defined by the time the compiler needs to know what it is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 03:34 AM
тАО05-26-2005 03:34 AM
Re: gcc error?
If adding the header file didn't fix things it may be an issue with the GCC header files being out of synch with the system header files. GCC makes some private copies of header files and if the system GCC was built on is different than the system GCC is installed on you could get this type of problem. If GCC is installed in /usr/local/bin then you should also have a command called something like /usr/local/libexec/gcc/hppa1.1-hp-hpux11.00/4.1.0/install-tools/mkheaders
where the system triplet (hppa1.1...) and GCC version number may be different. Running this command will re-process the system headers and update GCC's headers and may fix the problem.
where the system triplet (hppa1.1...) and GCC version number may be different. Running this command will re-process the system headers and update GCC's headers and may fix the problem.
- Tags:
- mkheaders
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