HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: calling allow_unaligned_data_access() problem
Operating System - Linux
1828187
Members
2074
Online
109975
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
Forums
Discussions
Discussions
Discussions
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
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
03-02-2008 06:13 PM
03-02-2008 06:13 PM
calling allow_unaligned_data_access() problem
experts:
I want to build helloworld on ia64 hp server rx1620(b.11.23 ia64).
compiler is aCC:
aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]
code is:
//helloworld.cpp
#include
using namespace std;
extern "C" void allow_unaligned_data_access();
int main()
{
string str = "testing";
allow_unaligned_data_access();
cout<
return 0;
}
compile:
aCC -o t helloworld.cpp -L/usr/lib -lhppa
I have got message:Mismatched ABI (not an ELF file) for -lhppa
libhppa.sl is a system lib,and the file type of libhppa.sl is:
file /usr/lib/libhppa.sl
output:s800 shared library -not stripped
question: why i can't link with libhppa.sl?
I want to build helloworld on ia64 hp server rx1620(b.11.23 ia64).
compiler is aCC:
aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]
code is:
//helloworld.cpp
#include
using namespace std;
extern "C" void allow_unaligned_data_access();
int main()
{
string str = "testing";
allow_unaligned_data_access();
cout<
return 0;
}
compile:
aCC -o t helloworld.cpp -L/usr/lib -lhppa
I have got message:Mismatched ABI (not an ELF file) for -lhppa
libhppa.sl is a system lib,and the file type of libhppa.sl is:
file /usr/lib/libhppa.sl
output:s800 shared library -not stripped
question: why i can't link with libhppa.sl?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2008 07:36 PM
03-02-2008 07:36 PM
Re: calling allow_unaligned_data_access() problem
You need to read the documentation:
http://docs.hp.com/en/10946/pragmas.htm#pragma-pack-ex4
>-L/usr/lib -lhppa
Why would you expect a PA-RISC path and lib name to work for IPF?
You need to use -lunalign.
http://docs.hp.com/en/10946/pragmas.htm#pragma-pack-ex4
>-L/usr/lib -lhppa
Why would you expect a PA-RISC path and lib name to work for IPF?
You need to use -lunalign.
- Tags:
- libunalign
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP