- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Mismatched ABI (not an ELF file) for -lX11
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
тАО09-24-2007 07:51 AM
тАО09-24-2007 07:51 AM
I am getting this error while compiling using the command:
gcc -g -O2 -o xte xte.o debug.o -mpa-risc-2-0 -L /usr/lib/pa20_64 -L /usr/lib/X11R4 -lX11 -lXtst
ld: Mismatched ABI (not an ELF file) for -lX11, found /usr/lib/X11R4/libX11.sl
Fatal error.
I appreciate any help.
Regards
Jose
Solved! Go to Solution.
- Tags:
- ABI mismatch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 07:59 AM
тАО09-24-2007 07:59 AM
Re: Mismatched ABI (not an ELF file) for -lX11
If you're linking on an Itanium platform, you have a PA-RISC object. This isn't supported by the linker.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 08:02 AM
тАО09-24-2007 08:02 AM
Re: Mismatched ABI (not an ELF file) for -lX11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 08:04 AM
тАО09-24-2007 08:04 AM
Re: Mismatched ABI (not an ELF file) for -lX11
Another reason is more general. The linker cannot mix 32-bit and 64-bit shared libraries or objects.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2007 03:48 PM
тАО09-24-2007 03:48 PM
Re: Mismatched ABI (not an ELF file) for -lX11
>Clay: I rather doubt there is a 64-bit version of X11R4.
HP supplies them for X11R6 in /usr/lib/X11R6/pa20_64/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2007 05:12 AM
тАО09-25-2007 05:12 AM
Re: Mismatched ABI (not an ELF file) for -lX11
The problem is that I need a lib libX11.sl 64 bits and I can├В┬┤t find any even in the pa20_64.
Is there any package I have to install to have the lib ?
Regards
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2007 10:10 AM
тАО09-25-2007 10:10 AM
SolutionIf you don't purchase the HP C/aC++ Developer's bundle, you don't get the symlink.
>Is there any package I have to install to have the lib?
You'll have to download the "HP-UX Developer's Toolkit". See Steven's link in the following thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1149221
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2007 07:49 AM
тАО10-02-2007 07:49 AM
Re: Mismatched ABI (not an ELF file) for -lX11
Thanks Dennis. It did work fine. But my problem still exists.
I am trying to compile and linkedit xautomate, to emulate a user using a GUI in HP-UX.
But it does not work. Does anyone know any package to do the same, as a depot? I tried Porting And Archive Centre For HP-UX, unsuccessfully.
Any hints ?
Regards
Josed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2007 02:32 PM
тАО10-02-2007 02:32 PM
Re: Mismatched ABI (not an ELF file) for -lX11
Are you still getting the "mismatched ABI" message?
Did you remove "-L /usr/lib/X11R4" from the link line?
Should I ask why you are creating a 64 bit app?