<?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 Error while compilaton in HP-UX11.11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092150#M897178</link>
    <description>HI all,&lt;BR /&gt;&lt;BR /&gt;I am getting the following error while compiling my code in HP-UX11.11:&lt;BR /&gt;/usr/ccs/bin/ld: Unrecognized argument: +init&lt;BR /&gt;/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;Can anyone please help me find a solution for this problem.&lt;BR /&gt;&lt;BR /&gt;-Anand.</description>
    <pubDate>Mon, 13 Oct 2003 17:17:38 GMT</pubDate>
    <dc:creator>Anand_30</dc:creator>
    <dc:date>2003-10-13T17:17:38Z</dc:date>
    <item>
      <title>Error while compilaton in HP-UX11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092150#M897178</link>
      <description>HI all,&lt;BR /&gt;&lt;BR /&gt;I am getting the following error while compiling my code in HP-UX11.11:&lt;BR /&gt;/usr/ccs/bin/ld: Unrecognized argument: +init&lt;BR /&gt;/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;Can anyone please help me find a solution for this problem.&lt;BR /&gt;&lt;BR /&gt;-Anand.</description>
      <pubDate>Mon, 13 Oct 2003 17:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092150#M897178</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-10-13T17:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilaton in HP-UX11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092151#M897179</link>
      <description>It sounds like you are using 32-bit mode.  That did not originally support +init.&lt;BR /&gt;You could switch to +I initializers as discussed in &lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90655&amp;amp;service=hpux&amp;amp;path=00/00/54" target="_blank"&gt;http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90655&amp;amp;service=hpux&amp;amp;path=00/00/54&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  Or you could get a newer linker such as patch PHSS_28871.</description>
      <pubDate>Mon, 13 Oct 2003 18:07:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092151#M897179</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-10-13T18:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilaton in HP-UX11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092152#M897180</link>
      <description>Thanks Mike,&lt;BR /&gt;&lt;BR /&gt;I am using 32-bit mode and the gcc version 3.3.1. I did not get this kind of error while compiling other codes but when I tried compiling a C++ code using the c++ which comes alone with gcc-3.3.1, I got this error.&lt;BR /&gt;Will installing the new linker patch, help me solve this problem. Is there any other ways in which I can get around this problem.&lt;BR /&gt;&lt;BR /&gt;-Anand.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Oct 2003 18:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092152#M897180</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-10-13T18:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilaton in HP-UX11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092153#M897181</link>
      <description>The +init feature first appeared in the 32-bit HP-UX ld in March of 2001.  A current linker patch should prevent the error message.</description>
      <pubDate>Wed, 15 Oct 2003 16:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092153#M897181</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-10-15T16:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilaton in HP-UX11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092154#M897182</link>
      <description>Thanks Mike,&lt;BR /&gt;&lt;BR /&gt;I would install the current linker patch and try the compile again&lt;BR /&gt;&lt;BR /&gt;-Anand.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2003 18:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092154#M897182</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2003-10-15T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilaton in HP-UX11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092155#M897183</link>
      <description>Hi Anann,&lt;BR /&gt;the following code error happened while compiling with g++ 3.3.1 on HPUX-11.00.&lt;BR /&gt;It happened when inserting an STL include on source code main.&lt;BR /&gt;I have a single source code to compile, main.c, with the following makefile line:&lt;BR /&gt;g++ main.cpp -L/usr/lib -L/usr/local/lib -L/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.1 -I/usr/include/ -I/usr/local/include -I/usr/local/include/c++/3.3.1 -o demo -lstdc++&lt;BR /&gt;&lt;BR /&gt;The error code follow:&lt;BR /&gt;/usr/ccs/bin/ld: Unrecognized argument: +init&lt;BR /&gt;/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld flags... files...&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you help me to resolve that problem ?&lt;BR /&gt;I saw you have encountered that&lt;BR /&gt;Leonardo Roberto&lt;BR /&gt;leorob@hotmail.com</description>
      <pubDate>Mon, 10 Nov 2003 05:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-while-compilaton-in-hp-ux11-11/m-p/3092155#M897183</guid>
      <dc:creator>leonardo_20</dc:creator>
      <dc:date>2003-11-10T05:52:13Z</dc:date>
    </item>
  </channel>
</rss>

