- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- VMS hlep required
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
04-04-2006 11:36 PM
04-04-2006 11:36 PM
VMS hlep required
We need some information on linking a C program on OpenVMS (AXP V7.3-2). I get the following messages when I try to link it:
AXP01> CC/DECC/PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES CON2CW.c
AXP01> link CON2CW
%LINK-W-NUDFSYMS, 3 undefined symbols:
%LINK-I-UDFSYM, DECC$GA_OPTERR
%LINK-I-UDFSYM, DECC$GA_OPTIND
%LINK-I-UDFSYM, DECC$GA_OPTOPT
As a result while executing the program the following error is generated:
AXP01> run CON2CW
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000000000000000, PC=FFFFFFFF809A86A8, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
Basically this program was written for HP-UX 11i and we want to use it on OpenVMS also.
It contains typical C/UNIX statements like
getenv()
putenv()
alarm()
execl()
kill()
waitpid()
Will these statements be valid on OpenVMS or we need to find some substitutes for them? Also, if you could give any pointers to C programming documentation on OpenVMS, it would be a great help.
Please reply back ASAP.
Thanks and Regards,
Rajni.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 11:51 PM
04-04-2006 11:51 PM
Re: VMS hlep required
C documentation is at
http://h71000.www7.hp.com/commercial/c/index_alpha.html
including the runtime library manual which documents which functions are available (such as getopt and so on).
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 12:58 AM
04-05-2006 12:58 AM
Re: VMS hlep required
course, I haven't seen the source.)
/DECC is effective only on a VAX, and
/PREFIX=ALL is normally the default, but both
should be harmless.
Which C compiler are you using?
CC /VERSION
Does your source file do
"#include
"#include
You might add /LIST /SHOW = ALL to the CC
command, and look in xxx.LIS to see if
anything odd is happening to "optind".
Also, LINK /MAP /CROSS, and look in xxx.MAP.
The VMS C run-time library keeps gaining
functions (but so do the UNIX ones). Your
list looks pretty safe.
HELP CRTL function_name
or, on older systems:
HELP CC Run-time function_name
My instant test case on my XP1000 seems to be
turning "optind" into DECC$GL_OPTIND, not
DECC$GA_OPTIND (and finding it in
DECC$SHR_EV56, one of the normal shared
libraries).
Here:
alp $ cc /version
HP C V7.1-015 on OpenVMS Alpha V7.3-2
You might wish to visit:
ftp://ftp.compaq.com/pub/products/C-CXX/openvms/c/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 01:20 AM
04-05-2006 01:20 AM
Re: VMS hlep required
with the OS, so the best Web reference is
at (or near):
http://h71000.www7.hp.com/doc/index.html
http://h71000.www7.hp.com/doc/os732_index.html
http://h71000.www7.hp.com/doc/732FINAL/5763/5763PRO.HTML
Run-time info which came with an old compiler
is probably obsolete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2006 03:40 PM
04-08-2006 03:40 PM
Re: VMS hlep required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2006 05:51 PM
04-08-2006 05:51 PM
Re: VMS hlep required
Most likely, you don't want any LNK$LIBRARY*
logical names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2006 07:55 PM
04-08-2006 07:55 PM
Re: VMS hlep required
welcome to VMS forum.
You posted too little informations so I can just give you some hint.
You can help abour runtime library issuing
$ HELP CC RUN
or
$ HELP RTL
getenv and putenv functions require
exec function family, alarm function require
kill function requires
waitpid function requires
If you ported your application from unix, perahps you might forget
See you soon.
Antonio
http://it.openvms.org
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2006 11:18 AM
04-09-2006 11:18 AM
Re: VMS hlep required
This provides inormation on VMS run-time
library functions, not C run-time library
functions. As suggested days ago, it's "HELP
CRTL" (or HELP CC Run-time") for the C
run-time library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2006 06:36 PM
04-09-2006 06:36 PM
Re: VMS hlep required
I made a typo.
Since V7.3 CC runtime help is
$ HELP CRTL
Antonio
http://it.openvms.org
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 04:40 PM
04-24-2006 04:40 PM
Re: VMS hlep required
Thank you very much for the help.
The code is running now, but the strange thing is it runs when i give PRC$M_DETACH.
Since i wanted to create a detached process, so this is working now.
Regards,
Rajni.