<?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 1521: Incorrect initialization in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956550#M414786</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;thanks a lot for your solutions i have got solution by making it non static.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Madhava&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Feb 2006 10:18:06 GMT</pubDate>
    <dc:creator>mannur</dc:creator>
    <dc:date>2006-02-06T10:18:06Z</dc:date>
    <item>
      <title>error 1521: Incorrect initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956548#M414784</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;When i am compiling my source with cc i am getting this error,&lt;BR /&gt;&lt;BR /&gt;The source code where i am getting problem is ...&lt;BR /&gt;int getLocation(const char* pkg)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;/* Following is line number 92 where i am getting error Here i am using&lt;BR /&gt;pkg variable and getting error.*/&lt;BR /&gt;&lt;BR /&gt;const char* args[] = { "/usr/sbin/swlist", pkg,0};&lt;BR /&gt;&lt;BR /&gt;any help please..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mannur</description>
      <pubDate>Wed, 01 Feb 2006 12:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956548#M414784</guid>
      <dc:creator>mannur</dc:creator>
      <dc:date>2006-02-01T12:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: error 1521: Incorrect initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956549#M414785</link>
      <description>Mannur,&lt;BR /&gt;did you have a look at :&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/7132/errors.html" target="_blank"&gt;http://docs.hp.com/en/7132/errors.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Looking for "Error 1521":&lt;BR /&gt;&lt;BR /&gt;"An initializer for an object with static storage duration is not a valid constant. Such a constant must be an arithmetic constant expression, a null pointer constant, an address constant, or an address constant plus or minus an integral constant expression".&lt;BR /&gt;&lt;BR /&gt;I think the problem is the passing of pkg into the function.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Feb 2006 09:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956549#M414785</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-02-06T09:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: error 1521: Incorrect initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956550#M414786</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;thanks a lot for your solutions i have got solution by making it non static.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Madhava&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Feb 2006 10:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956550#M414786</guid>
      <dc:creator>mannur</dc:creator>
      <dc:date>2006-02-06T10:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: error 1521: Incorrect initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956551#M414787</link>
      <description>Got solution by making variable non static.</description>
      <pubDate>Mon, 06 Feb 2006 10:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-1521-incorrect-initialization/m-p/4956551#M414787</guid>
      <dc:creator>mannur</dc:creator>
      <dc:date>2006-02-06T10:19:30Z</dc:date>
    </item>
  </channel>
</rss>

