- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Executable file Incompatible
Operating System - HP-UX
1753802
Members
7918
Online
108805
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
тАО09-20-2004 07:05 PM
тАО09-20-2004 07:05 PM
Executable file Incompatible
We have compiled and built the binary for our application on HP UX B.11.00 platform using the aCC compiler. We copied the binary to another machine running HP UX B.11.00 and tried to execute it. We get the following error message:
ksh: ./CSTARServer-6.0.1: Executable file incompatible with hardware
The following are compile options:
STDCPPOPTS = -c -Aa -DOSSGW_DEBUG -Dunix -D_HPUX_SOURCE -Dsigned="" \
-D_REENTRANT -Dhpux -Dhp9000s800 -D_CMA_NOWRAPPERS_ \
+D1.1 -D__cplusplus -DANSIC -DRW_MULTI_THREAD
The following are the link options:
CXXLDFLAGS = -W l,-z -W l,-Bimmediate -W l,-Bnonfatal -W l,+s
The result of the file command shows that the option +DA1.1 is NOT actually building a PA RISC1.1 executable!
> file CSTARServer-6.0.1
CSTARServer-6.0.1: PA-RISC2.0 shared executable dynamically linked -not stripped
We need the executable to be a PA-RISC 1.1 one.
Can anyone please let me know what needs to be done to make it so?
Thank You.
Sanjib.
ksh: ./CSTARServer-6.0.1: Executable file incompatible with hardware
The following are compile options:
STDCPPOPTS = -c -Aa -DOSSGW_DEBUG -Dunix -D_HPUX_SOURCE -Dsigned="" \
-D_REENTRANT -Dhpux -Dhp9000s800 -D_CMA_NOWRAPPERS_ \
+D1.1 -D__cplusplus -DANSIC -DRW_MULTI_THREAD
The following are the link options:
CXXLDFLAGS = -W l,-z -W l,-Bimmediate -W l,-Bnonfatal -W l,+s
The result of the file command shows that the option +DA1.1 is NOT actually building a PA RISC1.1 executable!
> file CSTARServer-6.0.1
CSTARServer-6.0.1: PA-RISC2.0 shared executable dynamically linked -not stripped
We need the executable to be a PA-RISC 1.1 one.
Can anyone please let me know what needs to be done to make it so?
Thank You.
Sanjib.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 12:27 AM
тАО09-21-2004 12:27 AM
Re: Executable file Incompatible
your compile options listed here show "+D1.1" and not "+DA1.1".
--
ranga
[i work for hpe]
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 06:32 PM
тАО09-21-2004 06:32 PM
Re: Executable file Incompatible
Try with the following:
- DA1.1 instead of D1.1
- not DANSIC
good luck
bye
- DA1.1 instead of D1.1
- not DANSIC
good luck
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2004 09:14 PM
тАО09-26-2004 09:14 PM
Re: Executable file Incompatible
+D1.1 is wrong.
Use +DA1.1 or +DAportable.
For a list of compiler options do a "cc +help"
or simply check the html pages in the /opt/ansic directory.
Use +DA1.1 or +DAportable.
For a list of compiler options do a "cc +help"
or simply check the html pages in the /opt/ansic directory.
And now for something completely different...
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