- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to provide +check=all option to linker
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
тАО01-26-2009 10:49 PM
тАО01-26-2009 10:49 PM
How to provide +check=all optin to linker
I am trying to build my source tree with +check=all option to the cc64 compiler. I am getting following error during my build:
= Generating fsck
ld: Unsatisfied symbol "_rtc_init_check" in file aggr.o
ld: Unsatisfied symbol "_rtc_check_bounds_with_index" in file aggr.o
ld: Unsatisfied symbol "_rtc_check_guards_" in file aggr.o
3 errors.
gmake: *** [fsck] Error 1
*** Error exit code 2
As per the compiler documentation, the +check options are also need to be provided to linker, hence, I provided it with -Wl,+check=all as a compiler argument but still I am getting the same error.
Please suggest.
Regards,
Pritam
- Tags:
- +check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 03:22 AM - last edited on тАО09-22-2023 07:56 AM by Sunitha_Mod
тАО01-27-2009 03:22 AM - last edited on тАО09-22-2023 07:56 AM by Sunitha_Mod
Re: How to provide +check=all option to linker
(What cc64 compiler? There is no such thing, only aCC, cc, c89 or c99. There is a +DD64 option.)
>As per the compiler documentation, the +check= options are also need to be provided to linker
That is NOT what it says. It means you have to provide the same +check= options at compile and link time to the cc driver.
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c01947473
[Moderator edit: Updated the broken link.]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:49 AM
тАО01-28-2009 12:49 AM
Re: How to provide +check=all optin to linker
tmp]# /ux/vbe/em/nck-wrap/cc64 -V sample.c
cc: HP C/aC++ B3910B A.06.11 [Oct 17 2006]
ld: 92453-07 linker ld HP Itanium(R) B.12.38 IPF/IPF
tmp]#
how do I provide the option to cc driver?
I provided the +check=options to linker with -Wl,+check=all directly at compile time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 05:18 AM - edited тАО09-04-2011 01:43 PM
тАО01-28-2009 05:18 AM - edited тАО09-04-2011 01:43 PM
Re: How to provide +check=all option to linker
>cc64 is a ecom compiler:
No, cc64 is a wrapper around the driver that invokes ecom.
>how do I provide the option to cc driver?
The same as always: +check=options
>I provided the +check=options to linker with -Wl,+check=all directly at compile time.
This is NOT a linker option. This is a compile AND link time driver option.
(And -Wl passes the option to ld AT linktime.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 03:25 AM
тАО01-29-2009 03:25 AM
Re: How to provide +check=all optin to linker
After digging out I found out that +check=all option requires librtc library which was missing in my build evironment.
I could build my tree successfully after adding the library to the path.
Thanks for your support.
Pritam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 06:03 AM
тАО01-29-2009 06:03 AM
Re: How to provide +check=all optin to linker
Going ahead I am getting following compiler warnings due to which my build is failing.
= Generating pgntest
ld: (Warning) Symbol "_rtc_check_guards_" is not exported but is imported by a shared library
1 warnings.
Please suggest.
Regards,
Pritam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 03:06 PM - edited тАО09-04-2011 01:44 PM
тАО01-29-2009 03:06 PM - edited тАО09-04-2011 01:44 PM
Re: How to provide +check=all option to linker
>I found out that +check=all option requires librtc library which was missing in my build environment.
I suspected that might be your next problem.
>ld: (Warning) Symbol "_rtc_check_guards_" is not exported but is imported by a shared library
Again, you forgot to add +check=all to the link step, when you built that shlib.