<?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: Error while compilation in HP-UX11.i in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112634#M717583</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am able to compile this code successfully in HP-UX10.20 but in HP-UX11.i, I am getting this warning message.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andy</description>
    <pubDate>Thu, 06 Nov 2003 14:18:50 GMT</pubDate>
    <dc:creator>Anand_30</dc:creator>
    <dc:date>2003-11-06T14:18:50Z</dc:date>
    <item>
      <title>Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112630#M717579</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am compiling some C code in HP-UX11.i. I am getting the following error:&lt;BR /&gt;&lt;BR /&gt;vatxdr_svc.c:81: warning: assignment makes pointer from integer without a cast&lt;BR /&gt;&lt;BR /&gt;for the code:&lt;BR /&gt;&lt;BR /&gt;transp = svctcp_create(sock, 0, 0);&lt;BR /&gt;transpHandle = transp;&lt;BR /&gt;&lt;BR /&gt;Can anyone please help me out in this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Nov 2003 13:45:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112630#M717579</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-11-06T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112631#M717580</link>
      <description>Firstly, the use of svctcp_create is discouraged because it it considered obsolete. Man rpc_svc_create for the replacement functions. To fix your current problem, you need to declare transp like this:&lt;BR /&gt;&lt;BR /&gt;SVCXPRT *transp;&lt;BR /&gt;I assume you are already including rpc.h.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Nov 2003 13:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112631#M717580</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-11-06T13:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112632#M717581</link>
      <description>Anand,&lt;BR /&gt;  svctcp_create returns a pointer to SVCXPRT. &lt;BR /&gt;&lt;BR /&gt;  What is the data type of transp and transpHandle.  There is the problem.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Thu, 06 Nov 2003 13:55:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112632#M717581</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-11-06T13:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112633#M717582</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In my code transp is already declared as &lt;BR /&gt;&lt;BR /&gt;SVCXPRT *transp;&lt;BR /&gt;&lt;BR /&gt;and transpHandle is declared as &lt;BR /&gt;&lt;BR /&gt;SVCXPRT *transpHandle;&lt;BR /&gt;&lt;BR /&gt;But still I am getting the warning.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Nov 2003 14:04:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112633#M717582</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-11-06T14:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112634#M717583</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am able to compile this code successfully in HP-UX10.20 but in HP-UX11.i, I am getting this warning message.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andy</description>
      <pubDate>Thu, 06 Nov 2003 14:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112634#M717583</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-11-06T14:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112635#M717584</link>
      <description>You problem is that svctcp_create is undeclared and thus is implicitly an function returning an int. Add #include &lt;RPC&gt; after the rpc.h include.&lt;BR /&gt;&lt;/RPC&gt;</description>
      <pubDate>Thu, 06 Nov 2003 14:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112635#M717584</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-11-06T14:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation in HP-UX11.i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112636#M717585</link>
      <description>Now it's working.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot</description>
      <pubDate>Thu, 06 Nov 2003 14:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilation-in-hp-ux11-i/m-p/3112636#M717585</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-11-06T14:33:26Z</dc:date>
    </item>
  </channel>
</rss>

