<?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: compiling C-sources in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684257#M723280</link>
    <description>FYI,&lt;BR /&gt;My alien c-source is now correctly compiled by gcc. strerror_r and others as well as some compiling options (CFLAGS and LIBs) had to be modified, but this saved us two investments.&lt;BR /&gt;Thanks and greetings,&lt;BR /&gt;Ceesjan</description>
    <pubDate>Mon, 18 Mar 2002 12:46:29 GMT</pubDate>
    <dc:creator>Ceesjan van Hattum</dc:creator>
    <dc:date>2002-03-18T12:46:29Z</dc:date>
    <item>
      <title>compiling C-sources</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684252#M723275</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I took some perfectly compilable C-sources from a 10.20 OS to 11.00. The code uses some libraries, give me some headage.&lt;BR /&gt;&lt;BR /&gt;First of all, on 10.20 i used a Ansi-C compiler, on 11.00 i can only use the default cc.&lt;BR /&gt;Using -DPOSIX and -DANSI seems to go just fine, but the alian code included gives me:&lt;BR /&gt;&lt;BR /&gt;#make -f nj.m&lt;BR /&gt;        cc -Ae -c -O -DDLPI_20 -DDEBUG -DNPI_20   -I../inc -I/usr/xmcapi/include -I/usr/include  ../src/njmddmain.c&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 -O option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/macros.h", line 59: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/macros.h", line 60: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/macros.h", line 61: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/macros.h", line 62: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/macros.h", line 63: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/macros.h", line 63: error 1000: Unexpected symbol: "QHead".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/apitypes.h", line 68: error 1000: Unexpected symbol: "octet".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/apitypes.h", line 69: error 1000: Unexpected symbol: "octet".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/apitypes.h", line 74: error 1000: Unexpected symbol: "octet".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/apitypes.h", line 75: error 1000: Unexpected symbol: "octet".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/apitypes.h", line 76: error 1000: Unexpected symbol: "octet".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/p7api.h", line 127: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: "/usr/xmcapi/include/p7api.h", line 129: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Ofcourse, i can delete the -O and -A flags, but no changes on this...&lt;BR /&gt;Where do i need to look ?&lt;BR /&gt;Points will be given...&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 15:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684252#M723275</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-03-15T15:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: compiling C-sources</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684253#M723276</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check this out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=a65b5467039b74c633/screen=ckiDisplayDocument?docId=200000058694491" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=a65b5467039b74c633/screen=ckiDisplayDocument?docId=200000058694491&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 15:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684253#M723276</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-03-15T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: compiling C-sources</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684254#M723277</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Unless you are willing to translate all of your ANSI C to K&amp;amp;R, you will need to purchase the ANSI C compiler or the C++ (aCC) compiler. The ANSI C compiler speaks both ANSI and K&amp;amp;R; aCC speaks C++ and ANSI C. &lt;BR /&gt;&lt;BR /&gt;Plan B. Download and install gcc from any a\of the HP-UX Porting Centre's.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 15:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684254#M723277</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-03-15T15:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: compiling C-sources</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684255#M723278</link>
      <description>Using plan B, with gcc i know have the error:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   strerror_r (code)&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;I cannot find the reason, anybody suggestions?</description>
      <pubDate>Mon, 18 Mar 2002 10:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684255#M723278</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-03-18T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: compiling C-sources</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684256#M723279</link>
      <description>The _r (re-entrant function API) has been obsoleted on HPUX 11.0.  Check your code, and change any strerror_r() calls to strerror().&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 18 Mar 2002 10:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684256#M723279</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-18T10:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: compiling C-sources</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684257#M723280</link>
      <description>FYI,&lt;BR /&gt;My alien c-source is now correctly compiled by gcc. strerror_r and others as well as some compiling options (CFLAGS and LIBs) had to be modified, but this saved us two investments.&lt;BR /&gt;Thanks and greetings,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Mon, 18 Mar 2002 12:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-c-sources/m-p/2684257#M723280</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-03-18T12:46:29Z</dc:date>
    </item>
  </channel>
</rss>

