<?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: cc compiler error 1705 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940407#M927520</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;/usr/bin/cc:&lt;BR /&gt;              LINT A.10.32.03 CXREF  A.10.32.03&lt;BR /&gt;        HP92453-01 A.10.32.03 HP C Compiler&lt;BR /&gt;         /usr/lib/libc: $Revision: 76.3 $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is a not bundled compiler thus you need a compiler to do this properly&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;            Steve Steel</description>
    <pubDate>Tue, 01 Apr 2003 12:40:51 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2003-04-01T12:40:51Z</dc:date>
    <item>
      <title>cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940402#M927515</link>
      <description>I try create shared load module for catia v422 on HP-UX 10.20&lt;BR /&gt;compile empty program with&lt;BR /&gt;cc -c test.c&lt;BR /&gt;shared -p test.o -o TEST&lt;BR /&gt;and i have such error message:&lt;BR /&gt;api : ========= Creating a shared load ==========&lt;BR /&gt;Compiling C source of module header... error&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: "/tmp/lkcat_2003/cathead.c", line 18: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;&lt;BR /&gt;Maybe problem in cc compiler, what patch I must set for fix this error?&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 12:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940402#M927515</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-01T12:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940403#M927516</link>
      <description>try using -Ae option as part of the cc comand line options&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 12:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940403#M927516</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-04-01T12:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940404#M927517</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;To me it seems that you are passing options to the compiler that it does not recognize.&lt;BR /&gt;These are options for the c/ansi-c  compiler.&lt;BR /&gt;Are you sure you have  this compiler installed.&lt;BR /&gt;Do a  what cc&lt;BR /&gt;and &lt;BR /&gt;which cc&lt;BR /&gt;&lt;BR /&gt;and you will probably see that cc in your case&lt;BR /&gt;is a script  that starts the cc compiler with&lt;BR /&gt;options it does not recognize.&lt;BR /&gt;Check if whereis  cc  gives  /opt/ansic/bin/cc&lt;BR /&gt;as output.&lt;BR /&gt;If it does not you do not have the c/ansi-c&lt;BR /&gt;compiler installed  (only the bundled compiler which  is a K&amp;amp;R compiler)&lt;BR /&gt;&lt;BR /&gt;Olav&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 12:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940404#M927517</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-01T12:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940405#M927518</link>
      <description>Thanks for answers.&lt;BR /&gt;Right now I don't have access to hpux workststion but later I check settings of cc compiler.&lt;BR /&gt;&lt;BR /&gt;catusr: /tmp &amp;gt; type cc&lt;BR /&gt;cc is a tracked alias for /usr/bin/cc&lt;BR /&gt;catusr: /tmp &amp;gt; what /usr/bin/cc&lt;BR /&gt;/usr/bin/cc:&lt;BR /&gt;HP92453-01 A.10.32.00 HP C(Bundled) Compiler&lt;BR /&gt;/usr/lib/libc: $Revision: 76.3 $&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 12:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940405#M927518</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-01T12:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940406#M927519</link>
      <description>man cc -&amp;gt;&lt;BR /&gt;&lt;BR /&gt;-Amode         Specify the compilation standard to be used by the&lt;BR /&gt;                     compiler.  mode can be one of the following letters:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Ae -&amp;gt;  Extended ANSI mode.  Same as -Aa -D_HPUX_SOURCE&lt;BR /&gt;                             +e.  This would define the names (macros and&lt;BR /&gt;                             typedefs) provided by the HPUX Operating System&lt;BR /&gt;                             and, in addition, allow the following .....&lt;BR /&gt;&lt;BR /&gt;NB Defaults have changed between 10.20 &amp;amp; 11.x&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;type cc +help -&amp;gt; Error messages -&amp;gt; &lt;BR /&gt;Error 1705&lt;BR /&gt;Function prototypes are an ANSI feature.&lt;BR /&gt;&lt;BR /&gt;You have attempted to use function prototypes in Compatibility mode.&lt;BR /&gt;&lt;BR /&gt;Either take out the function prototypes or compile with the -Aa option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 12:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940406#M927519</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-04-01T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940407#M927520</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;/usr/bin/cc:&lt;BR /&gt;              LINT A.10.32.03 CXREF  A.10.32.03&lt;BR /&gt;        HP92453-01 A.10.32.03 HP C Compiler&lt;BR /&gt;         /usr/lib/libc: $Revision: 76.3 $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is a not bundled compiler thus you need a compiler to do this properly&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;            Steve Steel</description>
      <pubDate>Tue, 01 Apr 2003 12:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940407#M927520</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-04-01T12:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940408#M927521</link>
      <description>1) erro take place after shared call. That's why I don't think that &lt;BR /&gt;cc -Ae test.c&lt;BR /&gt;help.&lt;BR /&gt;but I try to do this&lt;BR /&gt;2) I have gcc and g++ compilers for hpux10.20 but shared util call cc.&lt;BR /&gt;I try change link from cc to gcc but call cc from shared don't compatible with call gcc.&lt;BR /&gt;(different command string arguments)&lt;BR /&gt;Can I find cc compiler for free somewhere?&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 12:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940408#M927521</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-01T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940409#M927522</link>
      <description># file `which shared`&lt;BR /&gt;&lt;BR /&gt;'shared' is not a standard HP-UX command. Where does it come from. If it is a plain ascii file (shell script), you can probably just edit the script to use gcc in favour of cc&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Tue, 01 Apr 2003 13:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940409#M927522</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-04-01T13:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940410#M927523</link>
      <description>We, as members of the forum, would like to know if the solutions we propose indeed helped. You can tell us in a post in the thread or - better - by asigning points to all answers, 10 for *the* solution, 0 for posts that did not help at all. Other members can then look at the answers when they search the forum for similar problems they have and find the path to freedom that way.&lt;BR /&gt;&lt;BR /&gt;Read &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Wed, 02 Apr 2003 11:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940410#M927523</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-04-02T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940411#M927524</link>
      <description>Where can I found bundlrd cc compiler for free?&lt;BR /&gt;Can I use gcc instead it?&lt;BR /&gt;How link gcc instead of cc?</description>
      <pubDate>Tue, 15 Apr 2003 06:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940411#M927524</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-15T06:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940412#M927525</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;The bundled compiler is always on the system.&lt;BR /&gt;It comes as a part of the standard HP-UX&lt;BR /&gt;distribution.&lt;BR /&gt;It is there because it is needed when you&lt;BR /&gt;reconfigure the kernel.&lt;BR /&gt;&lt;BR /&gt;Do a  whereis cc&lt;BR /&gt;and you will find it under /usr/bin/cc&lt;BR /&gt;&lt;BR /&gt;Note that this is not an ansi-c compiler but&lt;BR /&gt;rather a K&amp;amp;R  c-compiler.&lt;BR /&gt;For  serious program-development I would advise&lt;BR /&gt;you to get the  c-ansi-c  compiler.&lt;BR /&gt;&lt;BR /&gt;Olav&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 07:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940412#M927525</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-15T07:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940413#M927526</link>
      <description>I have such settings:&lt;BR /&gt;catusr: /tmp &amp;gt; type cc&lt;BR /&gt;cc is a tracked alias for /usr/bin/cc&lt;BR /&gt;catusr: /tmp &amp;gt; what /usr/bin/cc&lt;BR /&gt;/usr/bin/cc:&lt;BR /&gt;HP92453-01 A.10.32.00 HP C(Bundled) Compiler&lt;BR /&gt;/usr/lib/libc: $Revision: 76.3 $&lt;BR /&gt;&lt;BR /&gt;Is this bundled cc compiler?</description>
      <pubDate>Tue, 15 Apr 2003 07:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940413#M927526</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-15T07:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940414#M927527</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Yes,  that is the bundled  c-compiler&lt;BR /&gt;&lt;BR /&gt;Olav</description>
      <pubDate>Tue, 15 Apr 2003 07:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940414#M927527</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-15T07:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940415#M927528</link>
      <description>but I get error 1705, when try compile my program with this compiler.(see above)&lt;BR /&gt;File cathead.c is the part of catia 4.2.2 and it must compile without errors.</description>
      <pubDate>Tue, 15 Apr 2003 07:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940415#M927528</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-15T07:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940416#M927529</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, and this brings us back to square 1.&lt;BR /&gt;&lt;BR /&gt;The bundled c-compiler does not have all&lt;BR /&gt;the options  the full c-ansi-c compiler&lt;BR /&gt;has.  From you initial problem  description&lt;BR /&gt;it is clear that you directly or in some &lt;BR /&gt;script  pass options to the compiler that it&lt;BR /&gt;does not recognize.&lt;BR /&gt;&lt;BR /&gt;Olav&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 08:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940416#M927529</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-15T08:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940417#M927530</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hello  again.&lt;BR /&gt;&lt;BR /&gt;The error 1705  says exactly what your problem&lt;BR /&gt;is.  The  bundled K&amp;amp;R  type c-compiler does&lt;BR /&gt;not support  "function prototypes".  That is&lt;BR /&gt;a feature of the c-ansi-c  compiler.&lt;BR /&gt;&lt;BR /&gt;Olav</description>
      <pubDate>Tue, 15 Apr 2003 08:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940417#M927530</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-04-15T08:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940418#M927531</link>
      <description>Where can I get c-ansi-c compiler or some other compiler that can compile such files for free?</description>
      <pubDate>Tue, 15 Apr 2003 09:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940418#M927531</guid>
      <dc:creator>Yuri Ignatiev</dc:creator>
      <dc:date>2003-04-15T09:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940419#M927532</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can get the gcc compiler which is open source.  Here is one place to find it:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gcc.gnu.org/" target="_blank"&gt;http://gcc.gnu.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 09:52:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940419#M927532</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-04-15T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940420#M927533</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Here is a link for a gcc depot from HP-UX Porting Centre mirror in the UK:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 09:54:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940420#M927533</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-04-15T09:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: cc compiler error 1705</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940421#M927534</link>
      <description>HP's C-ANSI-C is not available for free. GNU gcc however /is/. A precompiled version is available on several places (though finding 10.20 ports is getting harder by the day), my ITRC page is one of those: &lt;A href="https://www.beepz.com/personal/merijn/" target="_blank"&gt;https://www.beepz.com/personal/merijn/&lt;/A&gt; or &lt;A href="http://www.cmve.net/~merijn/" target="_blank"&gt;http://www.cmve.net/~merijn/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please consider recompiling gcc from scratch using that port in order to have it adopt to your system.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Tue, 15 Apr 2003 09:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compiler-error-1705/m-p/2940421#M927534</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-04-15T09:54:32Z</dc:date>
    </item>
  </channel>
</rss>

