- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ld: Unrecognized argument: -Wl,+s
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
Forums
Discussions
Discussions
Discussions
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
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
01-05-2005 09:15 AM
01-05-2005 09:15 AM
I have Perl 5.6.1 installed, and am trying to compile DBD-Oracle-1.15. When I run make, I get:
ld: Unrecognized argument: -Wl,+s
Fatal error.
*** Error exit code 1
I have the latest ld linker patch isntalled PHSS_30968 (11.11. I have run out of ideas and am checking google also. Need help.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 02:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 02:55 PM
01-05-2005 02:55 PM
Re: ld: Unrecognized argument: -Wl,+s
Indira A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 03:28 PM
01-05-2005 03:28 PM
Re: ld: Unrecognized argument: -Wl,+s
cc -Wl,+s
tells cc to pass '+s' option to ld
Linker (ld) doesn't understand -Wl,+s. It should simply be called with '+s'.
I'm not sure why you got this error, but you can try editing Makefile and changing '-Wl,+s' to '+s'. Then issue make to compile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 11:24 PM
01-05-2005 11:24 PM
Re: ld: Unrecognized argument: -Wl,+s
possibly a bad makefile or a bad configuration: the makefile may expect that you specify a compiler driver where you specified the linker.
as ermin says, you need the "-Wl," part only when you are using the compiler driver to link and not when using the linker directly.
the +s option for PA32 enables SHLIB_PATH lookup which is disabled by default (this does not imply a complete standard mode - there is no standard mode in PA32).
the +s option is not ignored in PA64 links: you could have a +compat link with +s so that while the executable is "+compat" in other respects (depth-first search etc), SHLIB_PATH/LD_LIBRARY_PATH lookup is enabled.
--
ranga