- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compiled program may not run on PA 1.x system.
Operating System - HP-UX
1753441
Members
4578
Online
108794
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
Go to solution
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
тАО06-20-2001 10:47 PM
тАО06-20-2001 10:47 PM
When I compile programs with cc on my K460 I always
get a warning
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (h.o) was detected. The linked output may not run on a PA 1.x system.
transfering my compiled binary to a K200 server ( PA 1.x )
I get the error message:
Execute permission denied, though the x-bit is set correctly.
Why can't I run programs compiled on K460 on K200 ???
get a warning
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (h.o) was detected. The linked output may not run on a PA 1.x system.
transfering my compiled binary to a K200 server ( PA 1.x )
I get the error message:
Execute permission denied, though the x-bit is set correctly.
Why can't I run programs compiled on K460 on K200 ???
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2001 11:24 PM
тАО06-20-2001 11:24 PM
SolutionWhen you compile your program add either of 2 options;
1. +DAportable This means your binary will now run on and HP-UX version/cpu.
2. +DA1.1 Now it will run on older 1.1 CPU's servers.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2001 11:30 PM
тАО06-20-2001 11:30 PM
Re: compiled program may not run on PA 1.x system.
Hi!
You just have to re-compile your program on the PA 1.1 machine, because a system library is not compatible to older systems. It's not a bug, it's a feature ;-)). You will get this warning message everytime your program contains functions with system calls for ipc handling, tcp functions or such stuff.
You just have to re-compile your program on the PA 1.1 machine, because a system library is not compatible to older systems. It's not a bug, it's a feature ;-)). You will get this warning message everytime your program contains functions with system calls for ipc handling, tcp functions or such stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2001 11:33 PM
тАО06-20-2001 11:33 PM
Re: compiled program may not run on PA 1.x system.
Hi,
You compile on a 64bits system (K460 : PA800 64 bits) with PA2.0 libs (64bits also). Your
binary can't works on 32bits system (K200 :
PA7200 32 bits).
You can verify if your systems are 32 or 64
bits using "getconf KERNEL_BITS". When you
compile on a 64 bits system it produce
64bits binaries (see aCC man page
+DArchitecture option). You have to solutions :
1) 2 compilations : 32 or 64 bits
2) Compile in 32bits (if the K460 can
use 32 AND 64 bits, use "getconf HW_32_64_CAPABLE"
to verify if it's possible. You can specify to
aCC to compile a portable binary : -DAportable
HTH
Herve
You compile on a 64bits system (K460 : PA800 64 bits) with PA2.0 libs (64bits also). Your
binary can't works on 32bits system (K200 :
PA7200 32 bits).
You can verify if your systems are 32 or 64
bits using "getconf KERNEL_BITS". When you
compile on a 64 bits system it produce
64bits binaries (see aCC man page
+DArchitecture option). You have to solutions :
1) 2 compilations : 32 or 64 bits
2) Compile in 32bits (if the K460 can
use 32 AND 64 bits, use "getconf HW_32_64_CAPABLE"
to verify if it's possible. You can specify to
aCC to compile a portable binary : -DAportable
HTH
Herve
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