- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Error archiving ELF-64 relocatable object files
Operating System - Linux
1752725
Members
5438
Online
108789
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
тАО08-30-2005 03:14 AM
тАО08-30-2005 03:14 AM
Error archiving ELF-64 relocatable object files
All,
This problem is related to archiving 64bit object files.
I have a static library of 64bit compiled object files. Now when I use this library to built a shared library / executable(using 64bit CC flags) linker throws following error.
ld: (Warning) Cannot load library symbol table in /project/lib/libasn.a, it might be missing or corrupted. Skipping library /project/lib/libasn.a.
1 warnings.
When I did "nm /project/lib/libasn.a" it gives following error:
nm: bits.o: File format not recognized
I guess this is common issue, most of you must have faced while trying to build 64bit executables. Do reply if you have any clue or pointers on this.
Thanks & Regards,
Dattesh Lotlikar
This problem is related to archiving 64bit object files.
I have a static library of 64bit compiled object files. Now when I use this library to built a shared library / executable(using 64bit CC flags) linker throws following error.
ld: (Warning) Cannot load library symbol table in /project/lib/libasn.a, it might be missing or corrupted. Skipping library /project/lib/libasn.a.
1 warnings.
When I did "nm /project/lib/libasn.a" it gives following error:
nm: bits.o: File format not recognized
I guess this is common issue, most of you must have faced while trying to build 64bit executables. Do reply if you have any clue or pointers on this.
Thanks & Regards,
Dattesh Lotlikar
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 08:36 PM
тАО09-01-2005 08:36 PM
Re: Error archiving ELF-64 relocatable object files
Hi,
You should try a
file libasn.a
mkdir /tmp/extract;cd /tmp/extract
ar x /project/lib/libasn.a
file *
I think probably bits.o will not be of the right type.
You should try a
file libasn.a
mkdir /tmp/extract;cd /tmp/extract
ar x /project/lib/libasn.a
file *
I think probably bits.o will not be of the right type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 09:11 PM
тАО09-01-2005 09:11 PM
Re: Error archiving ELF-64 relocatable object files
have you run strip or something on that library.
What were the tags you used to build library.
Either the library is corrupted or symbol table is not available.
You can check for library corruption by
file lib.a
What were the tags you used to build library.
Either the library is corrupted or symbol table is not available.
You can check for library corruption by
file lib.a
Vibhor Kumar Agarwal
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