- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hp-ux strip command
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
тАО04-05-2010 02:11 AM
тАО04-05-2010 02:11 AM
hp-ux strip command
I'm getting the below error while striping the archived version of certiom libraries.
Running /usr/bin/strip -r libcrvs_pic.a
Ignoring options "-r" for files: libcrvs_pic.a
strip: libcrvs_pic.a: relocation entries; cannot strip
ERROR: can't run /usr/bin/strip -r libcrvs_pic.a - error 256
Build failed, exit code 1
Please suggest!
Thanks in Advance.
Regards,
Usha
- Tags:
- strip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 03:08 AM - edited тАО08-21-2011 03:50 PM
тАО04-05-2010 03:08 AM - edited тАО08-21-2011 03:50 PM
Re: hp-ux strip command
You can NOT strip archive libs. You can only strip objects (with -l) or load modules.
What are you really trying to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 04:20 AM
тАО04-05-2010 04:20 AM
Re: hp-ux strip command
Thanks very much for the mail.
Nice to see you!
Im building the certiom libraries on hp-ux IA64 platform.
I was able to build and strip the libraries on Sun sparc using the sun C compiler and gstrip (/v/toolchain/SunOS-5.9-sparc/binutils-2.16.1/bin/gstrip).
Im trying to the same stuff on HP IA64.I was able to build using hp c compiler but failed to strip the libs using hp-ux strip.
>> Should i be using gstrip here also ?
>> hp-ux strip command cannot strip archive libs ?
Thanks,
Usha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 10:43 AM - edited тАО08-21-2011 03:50 PM
тАО04-05-2010 10:43 AM - edited тАО08-21-2011 03:50 PM
Re: hp-ux strip command
>I was able to build using HP C compiler but failed to strip the libs using strip.
As I said, you should use "strip -l" on the objects.
>Should I be using gstrip here also?
>strip command cannot strip archive libs?
Why? What are you trying to strip?
As I said, strip(1) only works on objects and load modules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 07:33 PM
тАО04-05-2010 07:33 PM
Re: hp-ux strip command
strip: Warning - symbol directory deleted from archive libstd_v2.a
execute `ar ts libstd_v2.a` to restore symbol directory.
What does "strip -V" show? I'm using B.12.46.