- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Link error - %ILINK-W-USEUNDEF, undefined symb...
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
тАО08-13-2009 03:07 AM
тАО08-13-2009 03:07 AM
Link error - %ILINK-W-USEUNDEF, undefined symbol _MOVC5 referenced
I am investigating porting c code from an Alpha (OpenVMS 7.2) to Itanium (8.3). I get the above error when I try to link some sources. I also have the same issue with _MOVC3. Any help would be very much appreciated.
Thanks,
Eamon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 03:33 AM
тАО08-13-2009 03:33 AM
Re: Link error - %ILINK-W-USEUNDEF, undefined symbol _MOVC5 referenced
I haven't got a clue why the USEUNDEF is signalled, but the "OpenVMS MACRO Porting and User Guide" advises to replace MOVC3 and MOVC5 instructions with calls to OTS$MOVx functions.
Maybe this can be done in the C-sources also?
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 03:38 AM
тАО08-13-2009 03:38 AM
Re: Link error - %ILINK-W-USEUNDEF, undefined symbol _MOVC5 referenced
Just remembered...
The _MOVC3 and _MOVC5 were builtin functions for the DEC C compiler on VAX, but aren't (anymore) on Alpha nor on Integrity.
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 04:36 AM
тАО08-13-2009 04:36 AM
Re: Link error - %ILINK-W-USEUNDEF, undefined symbol _MOVC5 referenced
However, you might like to check that your source doesn't have #ifdef ALPHA or similar. It's possible that you're including the VAX portion of conditionally compiled code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 04:52 AM
тАО08-13-2009 04:52 AM
Re: Link error - %ILINK-W-USEUNDEF, undefined symbol _MOVC5 referenced
Please post the compilation command used with the code, too.
The manuals here have some details on the builtins (and some changes that have occurred), but it can be easy to forget the #include
Also use CC /WARN=ENABLE=QUESTCODE, and the usual suggestions around consideration of __NEW_STARLET and such.