- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: /name=(as_is) and X11
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
11-16-2004 05:50 AM
11-16-2004 05:50 AM
I need to make a library written in C compatible
with /name=(as_is) (i.e. preserve case for function names etc). Compiling the lib and some example code that way is no problem. But, if I try to link in the DECwindows shareable images the command fails to find the symbols of the X routines). How do I fix this?
(Tested with VMS Alpha 7.3 and 7.3-2, CC 6.5)
Greetigns, Martin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 06:12 AM
11-16-2004 06:12 AM
SolutionI think you have to get hold of "The Jackets" (aka the OpenVMS Porting Library). In that kit you'll find the file MOTIF_REDEFINES.H that redefines (almost) all mixed case X-routine names to uppercase.
You have to include that file in your .C sources.
I think the DECW$* shareables still have only uppercase names in their symbol tables.
Greetz,
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 07:22 AM
11-16-2004 07:22 AM
Re: /name=(as_is) and X11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 12:08 AM
11-23-2004 12:08 AM
Re: /name=(as_is) and X11
I have encountered a similar problem on several occasions. I have found it more efficient to use the LINKER alias capabilities in the symbol vector definition (and the exact case support) to define multiple alias entry points for the same actual code (e.g., upper, lower, and mixed -case).
In particular, when working with code bases where I cannot predict whether the user will be compiling with AS_IS because of a restriction imposed by another library. This little trick simplifies things tremendously.
- Bob Gezelter; http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 12:54 AM
11-23-2004 12:54 AM
Re: /name=(as_is) and X11
GREAT to (finally) meet you here!
Looking forward to much more of your knowledge!!
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 08:18 AM
12-02-2004 08:18 AM
Re: /name=(as_is) and X11
well, full points for the help provided here,
unfortunatly not such a perfect score for hp.
Kris suggestion is the way to go for this particular problem. Unfortunatly the porting
library is not very modular and you have to jump through some hoops to actually make it work.
That the DECW libraries do not support this natively is a shame.
I shall look into the suggestion with the alias
names later, for know you can compile the stuff any way you like, so if you have a need for upper/lower/as_is you can always do it that way.
Thanks a lot for the help.
Greetings, Martin