- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Link time error with GCC on HPUX 11.11
Operating System - Linux
1753287
Members
5585
Online
108792
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-25-2006 04:45 AM
тАО09-25-2006 04:45 AM
Link time error with GCC on HPUX 11.11
Hi
I am trying to compile my code on HPUX 11.11 with gcc. Everything goes fine in the compilation, but I get the following error at link time:
/usr/ccs/bin/ld: rr.o :Mismatched ABI: 64-bit PA object file found in 32-bit link.
How can I get gcc to know that I am trying to create a 64 bit link ?
Any help will be appreciated !!!
Thanks in advance
I am trying to compile my code on HPUX 11.11 with gcc. Everything goes fine in the compilation, but I get the following error at link time:
/usr/ccs/bin/ld: rr.o :Mismatched ABI: 64-bit PA object file found in 32-bit link.
How can I get gcc to know that I am trying to create a 64 bit link ?
Any help will be appreciated !!!
Thanks in advance
- Tags:
- ABI mismatch
- gcc
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 05:00 AM
тАО09-25-2006 05:00 AM
Re: Link time error with GCC on HPUX 11.11
You could adopt a radical approach and try a "man gcc" and then look for HPPA options. For example, "-mpa-risc-2-0" will instruct the compiler to emit PARISC 2.0 instructions. In any event, you must ensure that all code modules either all zig or all of them zag (i.e all code modules -- including those in libraries -- must be 32-bit or 64-bit).
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2006 05:39 AM
тАО09-25-2006 05:39 AM
Re: Link time error with GCC on HPUX 11.11
Hi Richard,
If you are trying to build a 64 bit object, you need to have 64 bit GCC installed in your build system, you can download it from,
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html
Look for HP-GCC 4.0.3 PA-RISC LP64 (gz, http, 49177 KB).
-Arun
If you are trying to build a 64 bit object, you need to have 64 bit GCC installed in your build system, you can download it from,
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html
Look for HP-GCC 4.0.3 PA-RISC LP64 (gz, http, 49177 KB).
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
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