- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- (invalid magic number)
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО04-07-2009 01:06 AM
тАО04-07-2009 01:06 AM
/opt/XPADE/v3/usr/ccs/lbin/ld32: ../../lib/libXwnlio.a: Not a valid library (inv
alid magic number). Possibly a 64-bit PA archive library (Mismatched ABI).
*** Error exit code 1
The library libXwnlio.a has been compiled by me in 32bits mode.
I have tryed to compile with de modificator +DD64 but I hadn't success and It gave me the following messege.
1 -lm
ld: Mismatched ABI (not an ELF file) for ivibuild.o
Fatal error.
*** Error exit code 1
Any ideas, what could I do?
Thanks!
Solved! Go to Solution.
- Tags:
- ABI mismatch
- XPADE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 03:18 AM
тАО04-07-2009 03:18 AM
Re: (invalid magic number)
You need to make sure you compile AND link with the same options, +DD64 or without.
What does "file ivibuild.o" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 03:35 AM
тАО04-07-2009 03:35 AM
Re: (invalid magic number)
Before I forced the compilation with +DD32, but the
I don't know if I am working with PA or with integrity, but I generated this library as root user, and te ivibuild I am trying to generate as other user, I know that isn't the best chosen but It was easier because it's a very old program.
Now I'm compiling the librarys under the same user than the other files. and the problem has disarpear in libXwnlio.a and the same error has apeared in other library, so I supose that the problem is that I generated libraries under diferent users.
Thanks I'm going to continue working with it.
Could you explain me the diference between PA and Integrity?
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 03:45 AM
тАО04-07-2009 03:45 AM
Re: (invalid magic number)
> I don't know if I am working with PA or with integrity,
Do:
# uname -m
If a string containing "9000" is returned ( e.g. 9000/899 ) then you have a PA-RISC machine. An Itanium server will return "ia64".
For an overview of the PA-RISC and Itanium architectures, see:
http://en.wikipedia.org/wiki/PA-RISC
http://en.wikipedia.org/wiki/Itanium
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 03:55 AM
тАО04-07-2009 03:55 AM
SolutionIt should be obvious. Integrity good, PA old. ;-)
Never mind: /opt/XPADE/
This means you are doing PA development on Integrity.
>the same error has appeared in other library, so I suppose that the problem is that I generated libraries under different users.
I would assume it's because you weren't consistent in your +DD option, rather than switching users.
You need to remove all of your objects & libs and start over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 04:59 AM
тАО04-07-2009 04:59 AM
Re: (invalid magic number)
The ivibuild is an old program developed years ago and now I'm trying to do a new compilation with a new machine.├Г┬з
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 03:23 PM
тАО04-08-2009 03:23 PM
Re: (invalid magic number)
Are you also going to compile it natively to run on Integrity?