- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Having trouble with archive libraries in 64-bi...
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
тАО03-15-2006 06:42 AM
тАО03-15-2006 06:42 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
Typically the mismatched ABI is related to mixing 32/64-bit modes in the same compilation. You checked all your .o (object files) but have you verified with elfdump that all the .a (archive libs) files that you're loading into your executable are indeed 64-bit.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 08:46 AM
тАО03-15-2006 08:46 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 11:13 AM
тАО03-15-2006 11:13 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
Were you using -q to create or add to it?
My suggestion about using ar -rs doesn't seem to work.
You need to use ar -qs, or use ranlib(1) to fix your archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 12:51 PM
тАО03-15-2006 12:51 PM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
http://www1.itrc.hp.com/service/cki/search.do?category=c0&&mode=id&searchCrit=allwords&docType=EngineerNotes&searchString=TFKBRC00004691
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 01:25 AM
тАО03-16-2006 01:25 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
elfdump -a liblutil.a
liblutil.a:
*** Archive Header ***
Date Uid Gid Mode Size Member Name
liblutil.a[base64.o]:
Mar 14 16:10 2006 105 201 304370 0x2070 base64.o
liblutil.a[csn.o]:
Mar 14 16:10 2006 105 201 304370 0xb78 csn.o
liblutil.a[entropy.o]:
Mar 14 16:10 2006 105 201 304370 0xaf0 entropy.o
liblutil.a[sasl.o]:
Mar 14 16:10 2006 105 201 304370 0x588 sasl.o
liblutil.a[signal.o]:
Mar 14 16:10 2006 105 201 304370 0x838 signal.o
etc..
and
elfdump -f -g liblutil.a
liblutil.a:
liblutil.a[base64.o]:
*** ELF Header ***
Class: ELF-64
Data: Big-endian
OS: HP-UX
ABI Version: 1
Type: REL
Machine: PA-RISC
Version: 1
Entry Addr: 0x0
Program Hdr Offset: 0x0
Section Hdr Offset: 0x1c30
Flags: Wide-mode
Flags: PA2.0
Elf Hdr Size: 0x40
Program Hdr Size: 0x38
Program Hdr Number: 0
Section Hdr Size: 0x40
Section Hdr Number: 17
Section Hdr String Idx: 16
liblutil.a[csn.o]:
... etc...
So, why when you looked at it was it not?
c*
- Tags:
- elfdump
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 07:43 AM
тАО03-16-2006 07:43 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
Basically you are seeing the -a and -f output which is useless for ld. You need to look for the -g output. Use ranlib and you'll see the extra global symbol table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 07:55 AM
тАО03-16-2006 07:55 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
frank3 /usr/local4/openldap-2.3.19/libraries/liblutil $ elfdump -g liblutil.a
liblutil.a:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 08:20 AM
тАО03-16-2006 08:20 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
I get -g output on your test .a whether I use /usr/ccs/bin/ranlib or /usr/ccs/bin/ar -qs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2006 02:45 AM
тАО03-17-2006 02:45 AM
Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2006 11:30 AM