GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with system header file
Operating System - HP-UX
1846885
Members
3399
Online
110256
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
10-03-2006 08:12 AM
10-03-2006 08:12 AM
Problem with system header file
Hi all,
I'm trying to compile with aCC on HP-UX 11.11 and I'm getting a strange error. The error is as follows:
Error 136: Exact position unknown; near ["/usr/include/sys/_inttypes.h", line 86]. # Constant expression expected following '#if' or '#elif'; no tokens left after macro expansion.
The header file looks ok. Since this is a standard header file I won't include the text (and I've verified that it has the same file content as on other 11.11 machines).
None of my own header files are including this file so it must be coming from some other system file but I'm going in circles trying to trace it!
Can anyone tell me what Error 136 refers to? Do I need something specific in my compile line?
Thanks,
B
I'm trying to compile with aCC on HP-UX 11.11 and I'm getting a strange error. The error is as follows:
Error 136: Exact position unknown; near ["/usr/include/sys/_inttypes.h", line 86]. # Constant expression expected following '#if' or '#elif'; no tokens left after macro expansion.
The header file looks ok. Since this is a standard header file I won't include the text (and I've verified that it has the same file content as on other 11.11 machines).
None of my own header files are including this file so it must be coming from some other system file but I'm going in circles trying to trace it!
Can anyone tell me what Error 136 refers to? Do I need something specific in my compile line?
Thanks,
B
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 10:00 AM
10-03-2006 10:00 AM
Re: Problem with system header file
Shalom,
Can you post a version number? There may be a patch and nothing wrong with your code.
SEP
Can you post a version number? There may be a patch and nothing wrong with your code.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 12:19 PM
10-03-2006 12:19 PM
Re: Problem with system header file
In one "/usr/include/sys/_inttypes.h",
line 86, I see:
#ifdef _INTEL_SDK
Any chance that this macro has some strange
definition? (Or what's on _your_ line 86?)
"aCC -E" might reveal something about what's
happening.
line 86, I see:
#ifdef _INTEL_SDK
Any chance that this macro has some strange
definition? (Or what's on _your_ line 86?)
"aCC -E" might reveal something about what's
happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 01:43 AM
10-04-2006 01:43 AM
Re: Problem with system header file
Thanks for the replies,
SEP: aCC -V gives:
HP ANSI C++ B3910B A.03.60
SS: aCC -E gives:
#line 1 "Main.cpp"
#line 1 "/opt/aCC/include/iostream/iostream.h"
#line 1 "/usr/include/memory.h"
#line 1 "/usr/include/sys/stdsyms.h"
#line 7 "/usr/include/memory.h"
#line 1 "/opt/aCC/include/string.h"
#line 1 "/opt/aCC/include/cstring"
#line 1 "/usr/include/string.h"
#line 1 "/usr/include/sys/_inttypes.h"
#line 86
typedef char int8_t;
etc...
Line 86 is right after an #ifdef __LP64__
Thanks for the help,
B
SEP: aCC -V gives:
HP ANSI C++ B3910B A.03.60
SS: aCC -E gives:
#line 1 "Main.cpp"
#line 1 "/opt/aCC/include/iostream/iostream.h"
#line 1 "/usr/include/memory.h"
#line 1 "/usr/include/sys/stdsyms.h"
#line 7 "/usr/include/memory.h"
#line 1 "/opt/aCC/include/string.h"
#line 1 "/opt/aCC/include/cstring"
#line 1 "/usr/include/string.h"
#line 1 "/usr/include/sys/_inttypes.h"
#line 86
typedef char int8_t;
etc...
Line 86 is right after an #ifdef __LP64__
Thanks for the help,
B
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