- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Conpilation errors on HP-UX 11.31 IA64
Operating System - HP-UX
1755753
Members
5488
Online
108838
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
тАО04-14-2011 09:41 PM
тАО04-14-2011 09:41 PM
Conpilation errors on HP-UX 11.31 IA64
Code works fine on PARISC and I am trying to migrate it onto Itanium. However, I am getting error for below statement:
cc -Aa -g -I/opt/oracleclient/111060/precomp/public main.o cmdline.o trim.o ignore.o diagnose.o error.o overflow.o uppercase.o GetType.o LookupType.o ReadTable.o DumpMap.o Cleanup.o GetPath.o Elapsed.o DBConnect.o ReadIMap.o DBError.o DBRelease.o ReadData.o ReadRow.o ReadString.o ReadNumber.o ReadDate.o UpdateRow.o ConvertString.o ConvertNumber.o ConvertDate.o WriteLine.o AuditFile.o ChkType.o ConvertSplDate.o -lm -lc -lrt /opt/oracleclient/111060/lib32/libclntsh.so /test/common/lib/libpswdIA64.so -ldl -lm -lpthread -lnsl -lunwind
I get below error:
ld: Mismatched Data ABI. Expected None but found EF_IA_64_ABI64 in file /test/common/lib/libpswdIA64.so
I got similar error when libpswd.sl was used, this was because of mixing 32 and 64 bit code and hence I changed it to link to Itanium equivalent libpswdIA64.so. But now, I am getting above error.
Not sure how to resovle. Thanks in advance for the help.
cc -Aa -g -I/opt/oracleclient/111060/precomp/public main.o cmdline.o trim.o ignore.o diagnose.o error.o overflow.o uppercase.o GetType.o LookupType.o ReadTable.o DumpMap.o Cleanup.o GetPath.o Elapsed.o DBConnect.o ReadIMap.o DBError.o DBRelease.o ReadData.o ReadRow.o ReadString.o ReadNumber.o ReadDate.o UpdateRow.o ConvertString.o ConvertNumber.o ConvertDate.o WriteLine.o AuditFile.o ChkType.o ConvertSplDate.o -lm -lc -lrt /opt/oracleclient/111060/lib32/libclntsh.so /test/common/lib/libpswdIA64.so -ldl -lm -lpthread -lnsl -lunwind
I get below error:
ld: Mismatched Data ABI. Expected None but found EF_IA_64_ABI64 in file /test/common/lib/libpswdIA64.so
I got similar error when libpswd.sl was used, this was because of mixing 32 and 64 bit code and hence I changed it to link to Itanium equivalent libpswdIA64.so. But now, I am getting above error.
Not sure how to resovle. Thanks in advance for the help.
- Tags:
- ABI mismatch
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2011 03:03 AM
тАО04-15-2011 03:03 AM
Re: Conpilation errors on HP-UX 11.31 IA64
I got the error fixed by using +DD64 compiler option.
However, I am getting "Mismatched ABI for -lc, found /usr/lib/hpux64/libc.so" error. I have deleted -lc from the makefile. Then too I am getting this error.
Can someone plz help me on this?
However, I am getting "Mismatched ABI for -lc, found /usr/lib/hpux64/libc.so" error. I have deleted -lc from the makefile. Then too I am getting this error.
Can someone plz help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2011 04:25 AM
тАО04-16-2011 04:25 AM
Re: Conpilation errors on HP-UX 11.31 IA64
All of your files must either be compiled with +DD32 (the default) or +DD64. And that includes your shlibs.
It seems that /test/common/lib/libpswdIA64.so was compiled with +DD64.
>Integrity equivalent libpswdIA64.so
You need to find a 32 bit equivalent of that shlib.
>I have deleted -lc from the makefile. Then too I am getting this error.
You can't delete libc, the driver will add it.
You need to make sure you are compiling and linking consistently with +DD64 or +DD32 (the default).
It seems that /test/common/lib/libpswdIA64.so was compiled with +DD64.
>Integrity equivalent libpswdIA64.so
You need to find a 32 bit equivalent of that shlib.
>I have deleted -lc from the makefile. Then too I am getting this error.
You can't delete libc, the driver will add it.
You need to make sure you are compiling and linking consistently with +DD64 or +DD32 (the default).
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