<?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: shc compile error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732527#M836701</link>
    <description>Hi Olav,&lt;BR /&gt;&lt;BR /&gt;Thanks for the info, but is there a compiler that I can use without getting a licence for it and if so where can I get one from that will be able to do the compiling with shc.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Chris&lt;BR /&gt;</description>
    <pubDate>Tue, 28 May 2002 11:36:26 GMT</pubDate>
    <dc:creator>Chris Frangandonis</dc:creator>
    <dc:date>2002-05-28T11:36:26Z</dc:date>
    <item>
      <title>shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732525#M836699</link>
      <description>Hi all,(GURUS)&lt;BR /&gt;&lt;BR /&gt;I am trying to use a generic shell script compiler ( shc ) on my HP-UX 10.20 but get errors &lt;BR /&gt;The errors are :&lt;BR /&gt;cc -Wall -O -Ae    match.x.c   -o match.x&lt;BR /&gt;(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.&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: "match.x.c", line 110: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 121: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 140: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 157: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 182: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 189: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 241: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 248: error 1588: "PTRACE_ATTACH" undefined.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 262: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "match.x.c", line 329: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;make: *** [match.x] Error 1&lt;BR /&gt;&lt;BR /&gt;The cc compiler that is loaded on the machine is the standard compiler which is installed from the HP-UX instalation. There is no licence for any compilers. Is there away in which the shc compiler can use C/ANSI product.What and How????.&lt;BR /&gt;&lt;BR /&gt;Much appreciated&lt;BR /&gt;Chris&lt;BR /&gt;</description>
      <pubDate>Tue, 28 May 2002 11:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732525#M836699</guid>
      <dc:creator>Chris Frangandonis</dc:creator>
      <dc:date>2002-05-28T11:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732526#M836700</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The error-messages you get tells you that&lt;BR /&gt;you are trying to compile  ansi-c code&lt;BR /&gt;with  a compiler that is only a K&amp;amp;R compiler.&lt;BR /&gt;The "bundled compiler"  that comes with &lt;BR /&gt;HP-UX  is mainly inteded for building the&lt;BR /&gt;kernel and not for  program-development.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav</description>
      <pubDate>Tue, 28 May 2002 11:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732526#M836700</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-05-28T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732527#M836701</link>
      <description>Hi Olav,&lt;BR /&gt;&lt;BR /&gt;Thanks for the info, but is there a compiler that I can use without getting a licence for it and if so where can I get one from that will be able to do the compiling with shc.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Chris&lt;BR /&gt;</description>
      <pubDate>Tue, 28 May 2002 11:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732527#M836701</guid>
      <dc:creator>Chris Frangandonis</dc:creator>
      <dc:date>2002-05-28T11:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732528#M836702</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can search the net for a  copy of gcc&lt;BR /&gt;(GNU C)&lt;BR /&gt;I do not have any experience with it, but a&lt;BR /&gt;lot of people use it.&lt;BR /&gt;I would advise you to look for  a  binary&lt;BR /&gt;versrion (ready to use)  as I know it can&lt;BR /&gt;be quite a job to compile the source-code&lt;BR /&gt;for gcc&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav</description>
      <pubDate>Tue, 28 May 2002 11:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732528#M836702</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-05-28T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732529#M836703</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there anyone that can assist me with further info.&lt;BR /&gt;&lt;BR /&gt;Much appreciated&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 29 May 2002 18:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732529#M836703</guid>
      <dc:creator>Chris Frangandonis</dc:creator>
      <dc:date>2002-05-29T18:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732530#M836704</link>
      <description>I'm not really sure what to add. You've already been given the answer: 1) Purchase the ANSI/C compiler or 2) Download and install the Gnu C Compiler and binutils package. &lt;BR /&gt;&lt;BR /&gt;You can download thes from here:&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.4/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/binutils-2.11.2/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/binutils-2.11.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you choose to install gcc, you will also need to modify the makefile to call the proper compiler and assembler. You will need to change some compiler options as well. If your package does not have a 'configure' script for GNU C then perhaps your easist and surest option is to purchase a license for ANSI/C.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 May 2002 18:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732530#M836704</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-05-29T18:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732531#M836705</link>
      <description>Hi A.Clay&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. I am not experienced with compilers or installing them. By downloading the gcc and its binutils, will this be effective to use the shc compiler ( generic script compiler). If  it is effective could you assist with the method of these procedures in a step by step mode.&lt;BR /&gt;&lt;BR /&gt;Many thanks &lt;BR /&gt;Chris</description>
      <pubDate>Wed, 29 May 2002 19:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732531#M836705</guid>
      <dc:creator>Chris Frangandonis</dc:creator>
      <dc:date>2002-05-29T19:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732532#M836706</link>
      <description>gcc can certainly produce a workable shc program for you BUT it is not going to work with your current makefile. No, I am not willing to do a step-by-step for you; that's too much sugar for a dime. If you consider your time at all valuable, you can easily burn up the $1500 or so a compiler license costs. It is clear that your make file is crafted for the Ansi/C compiler.</description>
      <pubDate>Wed, 29 May 2002 21:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732532#M836706</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-05-29T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: shc compile error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732533#M836707</link>
      <description>Hi Clay,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the advice.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 30 May 2002 09:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-compile-error/m-p/2732533#M836707</guid>
      <dc:creator>Chris Frangandonis</dc:creator>
      <dc:date>2002-05-30T09:59:15Z</dc:date>
    </item>
  </channel>
</rss>

