<?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: Problem with image linked to CLD-module on IA64 in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970704#M12007</link>
    <description>I don't claim to know anything, but why are&lt;BR /&gt;the declarations and "&amp;amp;" usage different on&lt;BR /&gt;IA64?  Sounds wrong to me.</description>
    <pubDate>Wed, 28 Mar 2007 01:29:49 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2007-03-28T01:29:49Z</dc:date>
    <item>
      <title>Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970703#M12006</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem with an image that has been linked to the object file of a CLD-module. &lt;BR /&gt;The CLD-module has been compiled with:&lt;BR /&gt;SET COMMAND/OBJECT mytool$commands&lt;BR /&gt;&lt;BR /&gt;In the calling C-module:&lt;BR /&gt;#ifdef __ia64&lt;BR /&gt;  extern void *mytool$commands;&lt;BR /&gt;#else&lt;BR /&gt;  int mytool$commands();&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;#ifdef __ia64&lt;BR /&gt;    status = CLI$DCL_PARSE(&amp;amp;line_descr,&lt;BR /&gt;                           &amp;amp;mytool$commands,&lt;BR /&gt;                           LIB$GET_INPUT,&lt;BR /&gt;                           LIB$GET_INPUT,&lt;BR /&gt;                           0);&lt;BR /&gt;#else&lt;BR /&gt;    status = CLI$DCL_PARSE(&amp;amp;line_descr,&lt;BR /&gt;                           mytool$commands,&lt;BR /&gt;                           LIB$GET_INPUT,&lt;BR /&gt;                           LIB$GET_INPUT,&lt;BR /&gt;                           0);&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;Linking gives no messages, but running this images results in an access violation when calling the CLI$DCL_PARSE. Has anybody an idea how to solve this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Cor Mom&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Mar 2007 00:39:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970703#M12006</guid>
      <dc:creator>Cor Mom</dc:creator>
      <dc:date>2007-03-28T00:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970704#M12007</link>
      <description>I don't claim to know anything, but why are&lt;BR /&gt;the declarations and "&amp;amp;" usage different on&lt;BR /&gt;IA64?  Sounds wrong to me.</description>
      <pubDate>Wed, 28 Mar 2007 01:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970704#M12007</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-03-28T01:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970705#M12008</link>
      <description>Yes definitely, in the ia64 case You are passing a pointer to the pointer to mytool$commands, not the pointer to mytools$commands.&lt;BR /&gt;&lt;BR /&gt;As Steven said, why should C be different on ia64 ?</description>
      <pubDate>Wed, 28 Mar 2007 01:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970705#M12008</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-03-28T01:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970706#M12009</link>
      <description>&lt;!--!*#--&gt;Cor,&lt;BR /&gt;This is what I did when writing QDSB.&lt;BR /&gt;&lt;BR /&gt;In the .CLD file&lt;BR /&gt;&lt;BR /&gt;    MODULE QDSB_CLD&lt;BR /&gt;    DEFINE VERB QDSB&lt;BR /&gt;    ...&lt;BR /&gt;&lt;BR /&gt;In the C module that parses the command line:&lt;BR /&gt;&lt;BR /&gt;    globalref void *QDSB_CLD;&lt;BR /&gt;    ...&lt;BR /&gt;    unsigned int sts;&lt;BR /&gt;    struct descriptor_s cmd_d;&lt;BR /&gt;    ...&lt;BR /&gt;    sts = cli$dcl_parse (&lt;BR /&gt;              &amp;amp;cmd_d&lt;BR /&gt;            , (void **) &amp;amp;QDSB_CLD&lt;BR /&gt;            , lib$get_input&lt;BR /&gt;            , lib$get_input&lt;BR /&gt;            , 0&lt;BR /&gt;          );&lt;BR /&gt;&lt;BR /&gt;Works like a charm on all three architectures.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Wed, 28 Mar 2007 02:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970706#M12009</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2007-03-28T02:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970707#M12010</link>
      <description>It also sounds weird to me, but I copied it from:&lt;BR /&gt;&lt;BR /&gt;Hoff Hoffman, 03-25-2005, 05:05 PM&lt;BR /&gt;&lt;A href="http://www.techiegroups.com/t56450-p-cld-symbol-table-object-on-itanium.html" target="_blank"&gt;http://www.techiegroups.com/t56450-p-cld-symbol-table-object-on-itanium.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And for C references for cli$dcl_parse, here is what I am using:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;extern void *mumble$$CLI_TABLES;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Do remember you need to use `&amp;amp;mumble$$CLI_TABLES' to reference the&lt;BR /&gt;external symbol in the cli$dcl_parse call; you need to pass it by&lt;BR /&gt;reference.&lt;BR /&gt;&lt;BR /&gt;I will give your idea a try Kris&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Mar 2007 02:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970707#M12010</guid>
      <dc:creator>Cor Mom</dc:creator>
      <dc:date>2007-03-28T02:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970708#M12011</link>
      <description>Kris,&lt;BR /&gt;&lt;BR /&gt;It works. Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Cor</description>
      <pubDate>Wed, 28 Mar 2007 03:06:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970708#M12011</guid>
      <dc:creator>Cor Mom</dc:creator>
      <dc:date>2007-03-28T03:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with image linked to CLD-module on IA64</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970709#M12012</link>
      <description>I have to withdraw my stupid comment, didn't see the () making mytool$commands a (pointer to) a routine.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Mar 2007 07:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-image-linked-to-cld-module-on-ia64/m-p/3970709#M12012</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-03-28T07:57:18Z</dc:date>
    </item>
  </channel>
</rss>

