<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VMS hlep required in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766245#M9495</link>
    <description>With VMS V7.3-2, I'd expect this to work. (Of&lt;BR /&gt;course, I haven't seen the source.)&lt;BR /&gt;&lt;BR /&gt;/DECC is effective only on a VAX, and&lt;BR /&gt;/PREFIX=ALL is normally the default, but both&lt;BR /&gt;should be harmless.&lt;BR /&gt;&lt;BR /&gt;Which C compiler are you using?&lt;BR /&gt;&lt;BR /&gt;CC /VERSION&lt;BR /&gt;&lt;BR /&gt;Does your source file do&lt;BR /&gt;"#include &lt;UNISTD.H&gt;" and/or&lt;BR /&gt;"#include &lt;STDIO.H&gt;"?&lt;BR /&gt;&lt;BR /&gt;You might add /LIST /SHOW = ALL to the CC&lt;BR /&gt;command, and look in xxx.LIS to see if&lt;BR /&gt;anything odd is happening to "optind".&lt;BR /&gt;&lt;BR /&gt;Also, LINK /MAP /CROSS, and look in xxx.MAP.&lt;BR /&gt;&lt;BR /&gt;The VMS C run-time library keeps gaining&lt;BR /&gt;functions (but so do the UNIX ones).  Your&lt;BR /&gt;list looks pretty safe.&lt;BR /&gt;&lt;BR /&gt;HELP CRTL function_name&lt;BR /&gt;or, on older systems:&lt;BR /&gt;HELP CC Run-time function_name&lt;BR /&gt;&lt;BR /&gt;My instant test case on my XP1000 seems to be&lt;BR /&gt;turning "optind" into DECC$GL_OPTIND, not&lt;BR /&gt;DECC$GA_OPTIND (and finding it in&lt;BR /&gt;DECC$SHR_EV56, one of the normal shared&lt;BR /&gt;libraries).&lt;BR /&gt;&lt;BR /&gt;Here:&lt;BR /&gt;&lt;BR /&gt;alp $ cc /version&lt;BR /&gt;HP C V7.1-015 on OpenVMS Alpha V7.3-2&lt;BR /&gt;&lt;BR /&gt;You might wish to visit:&lt;BR /&gt;&lt;A href="ftp://ftp.compaq.com/pub/products/C-CXX/openvms/c/" target="_blank"&gt;ftp://ftp.compaq.com/pub/products/C-CXX/openvms/c/&lt;/A&gt;&lt;BR /&gt;&lt;/STDIO.H&gt;&lt;/UNISTD.H&gt;</description>
    <pubDate>Wed, 05 Apr 2006 07:58:46 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2006-04-05T07:58:46Z</dc:date>
    <item>
      <title>VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766243#M9493</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;AXP01&amp;gt; CC/DECC/PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES CON2CW.c&lt;BR /&gt;&lt;BR /&gt;AXP01&amp;gt; link CON2CW&lt;BR /&gt;&lt;BR /&gt;%LINK-W-NUDFSYMS, 3 undefined symbols:&lt;BR /&gt;&lt;BR /&gt;%LINK-I-UDFSYM,         DECC$GA_OPTERR&lt;BR /&gt;&lt;BR /&gt;%LINK-I-UDFSYM,         DECC$GA_OPTIND&lt;BR /&gt;&lt;BR /&gt;%LINK-I-UDFSYM,         DECC$GA_OPTOPT&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;As a result while executing the program the following error is generated:&lt;BR /&gt;&lt;BR /&gt;AXP01&amp;gt; run CON2CW&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000000000000000, PC=FFFFFFFF809A86A8, PS=0000001B&lt;BR /&gt;&lt;BR /&gt;%TRACE-F-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;Basically this program was written for HP-UX 11i and we want to use it on OpenVMS also. &lt;BR /&gt;It contains typical C/UNIX statements like&lt;BR /&gt;&lt;BR /&gt;getenv()&lt;BR /&gt;&lt;BR /&gt;putenv()&lt;BR /&gt;&lt;BR /&gt;alarm()&lt;BR /&gt;&lt;BR /&gt;execl()&lt;BR /&gt;&lt;BR /&gt;kill()&lt;BR /&gt;&lt;BR /&gt;waitpid()&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Please reply back ASAP.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Rajni. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2006 06:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766243#M9493</guid>
      <dc:creator>rajni_chugh</dc:creator>
      <dc:date>2006-04-05T06:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766244#M9494</link>
      <description>I think your program is calling command line processing routines optopt, optind etc.&lt;BR /&gt;&lt;BR /&gt;C documentation is at&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/commercial/c/index_alpha.html" target="_blank"&gt;http://h71000.www7.hp.com/commercial/c/index_alpha.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;including the runtime library manual which documents which functions are available (such as getopt and so on).</description>
      <pubDate>Wed, 05 Apr 2006 06:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766244#M9494</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-04-05T06:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766245#M9495</link>
      <description>With VMS V7.3-2, I'd expect this to work. (Of&lt;BR /&gt;course, I haven't seen the source.)&lt;BR /&gt;&lt;BR /&gt;/DECC is effective only on a VAX, and&lt;BR /&gt;/PREFIX=ALL is normally the default, but both&lt;BR /&gt;should be harmless.&lt;BR /&gt;&lt;BR /&gt;Which C compiler are you using?&lt;BR /&gt;&lt;BR /&gt;CC /VERSION&lt;BR /&gt;&lt;BR /&gt;Does your source file do&lt;BR /&gt;"#include &lt;UNISTD.H&gt;" and/or&lt;BR /&gt;"#include &lt;STDIO.H&gt;"?&lt;BR /&gt;&lt;BR /&gt;You might add /LIST /SHOW = ALL to the CC&lt;BR /&gt;command, and look in xxx.LIS to see if&lt;BR /&gt;anything odd is happening to "optind".&lt;BR /&gt;&lt;BR /&gt;Also, LINK /MAP /CROSS, and look in xxx.MAP.&lt;BR /&gt;&lt;BR /&gt;The VMS C run-time library keeps gaining&lt;BR /&gt;functions (but so do the UNIX ones).  Your&lt;BR /&gt;list looks pretty safe.&lt;BR /&gt;&lt;BR /&gt;HELP CRTL function_name&lt;BR /&gt;or, on older systems:&lt;BR /&gt;HELP CC Run-time function_name&lt;BR /&gt;&lt;BR /&gt;My instant test case on my XP1000 seems to be&lt;BR /&gt;turning "optind" into DECC$GL_OPTIND, not&lt;BR /&gt;DECC$GA_OPTIND (and finding it in&lt;BR /&gt;DECC$SHR_EV56, one of the normal shared&lt;BR /&gt;libraries).&lt;BR /&gt;&lt;BR /&gt;Here:&lt;BR /&gt;&lt;BR /&gt;alp $ cc /version&lt;BR /&gt;HP C V7.1-015 on OpenVMS Alpha V7.3-2&lt;BR /&gt;&lt;BR /&gt;You might wish to visit:&lt;BR /&gt;&lt;A href="ftp://ftp.compaq.com/pub/products/C-CXX/openvms/c/" target="_blank"&gt;ftp://ftp.compaq.com/pub/products/C-CXX/openvms/c/&lt;/A&gt;&lt;BR /&gt;&lt;/STDIO.H&gt;&lt;/UNISTD.H&gt;</description>
      <pubDate>Wed, 05 Apr 2006 07:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766245#M9495</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-04-05T07:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766246#M9496</link>
      <description>Also, the C run-time library is included&lt;BR /&gt;with the OS, so the best Web reference is&lt;BR /&gt;at (or near):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/index.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/os732_index.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/os732_index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/732FINAL/5763/5763PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/732FINAL/5763/5763PRO.HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Run-time info which came with an old compiler&lt;BR /&gt;is probably obsolete.</description>
      <pubDate>Wed, 05 Apr 2006 08:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766246#M9496</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-04-05T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766247#M9497</link>
      <description>Since you're getting errors on link, check your logicals for LNK$LIBRARY*.  You should be pointing at the correct .OLB files</description>
      <pubDate>Sat, 08 Apr 2006 22:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766247#M9497</guid>
      <dc:creator>John Yu_1</dc:creator>
      <dc:date>2006-04-08T22:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766248#M9498</link>
      <description>&amp;gt; [...] check your logicals for LNK$LIBRARY*.&lt;BR /&gt;&lt;BR /&gt;Most likely, you don't want any LNK$LIBRARY*&lt;BR /&gt;logical names.</description>
      <pubDate>Sun, 09 Apr 2006 00:51:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766248#M9498</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-04-09T00:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766249#M9499</link>
      <description>Hi Rajni,&lt;BR /&gt;welcome to VMS forum.&lt;BR /&gt; &lt;BR /&gt;You posted too little informations so I can just give you some hint.&lt;BR /&gt;You can help abour runtime library issuing&lt;BR /&gt;$ HELP CC RUN&lt;BR /&gt;or&lt;BR /&gt;$ HELP RTL&lt;BR /&gt; &lt;BR /&gt;getenv and putenv functions require &lt;STDLIB.H&gt; header.&lt;BR /&gt;exec function family, alarm function require &lt;UNISTD.H&gt; header.&lt;BR /&gt;kill function requires &lt;SIGNAL.H&gt; header.&lt;BR /&gt;waitpid function requires &lt;WAIT.H&gt; header.&lt;BR /&gt;If you ported your application from unix, perahps you might forget &lt;UNISTD.H&gt; header.&lt;BR /&gt; &lt;BR /&gt;See you soon.&lt;BR /&gt;Antonio&lt;BR /&gt;&lt;A href="http://it.openvms.org" target="_blank"&gt;http://it.openvms.org&lt;/A&gt;&lt;BR /&gt;&lt;/UNISTD.H&gt;&lt;/WAIT.H&gt;&lt;/SIGNAL.H&gt;&lt;/UNISTD.H&gt;&lt;/STDLIB.H&gt;</description>
      <pubDate>Sun, 09 Apr 2006 02:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766249#M9499</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2006-04-09T02:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766250#M9500</link>
      <description>&amp;gt; $ HELP RTL&lt;BR /&gt;&lt;BR /&gt;This provides inormation on VMS run-time&lt;BR /&gt;library functions, not C run-time library&lt;BR /&gt;functions.  As suggested days ago, it's "HELP&lt;BR /&gt;CRTL" (or HELP CC Run-time") for the C&lt;BR /&gt;run-time library.&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Apr 2006 18:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766250#M9500</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-04-09T18:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766251#M9501</link>
      <description>Sorry,&lt;BR /&gt;I made a typo.&lt;BR /&gt;Since V7.3 CC runtime help is&lt;BR /&gt;$ HELP CRTL&lt;BR /&gt; &lt;BR /&gt;Antonio&lt;BR /&gt;&lt;A href="http://it.openvms.org" target="_blank"&gt;http://it.openvms.org&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Apr 2006 01:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766251#M9501</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2006-04-10T01:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: VMS hlep required</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766252#M9502</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for the help.&lt;BR /&gt;The code is running now, but the strange thing is it runs when i give PRC$M_DETACH.&lt;BR /&gt;Since i wanted to  create a detached process, so this is working now.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rajni.</description>
      <pubDate>Mon, 24 Apr 2006 23:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-hlep-required/m-p/3766252#M9502</guid>
      <dc:creator>Shashikant_B</dc:creator>
      <dc:date>2006-04-24T23:40:53Z</dc:date>
    </item>
  </channel>
</rss>

