<?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 compiling pro*c thru make in HP-UX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127561#M93079</link>
    <description>&amp;gt;finally when I executed the binary, I got following error-&lt;BR /&gt;dld.sl: Can't open shared library: /usr/lib/libc.2&lt;BR /&gt;&lt;BR /&gt;My crystal ball says you took your executable that you developed on 11.00 and tried to execute it on 10.20.  That won't work and wouldn't work even if you could use -Wl,-aarchive.&lt;BR /&gt;&lt;BR /&gt;Only forward compatibility is supported.&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Jan 2008 20:17:20 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-01-11T20:17:20Z</dc:date>
    <item>
      <title>Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127553#M93071</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am getting following errors when compiling a pro*c program. My Pro*C programs used to work in in HP UX 10.20 but stopped working in HP UX 11.0.&lt;BR /&gt;&lt;BR /&gt;================== ERROR message ===============&lt;BR /&gt;Precompiling prb_ptax.pc&lt;BR /&gt;cc -I. -O -Aa -Wl,-aarchive -L/cal/oracle/lib -o prb_ptax prb_ptax.c /cal/oracle&lt;BR /&gt;/lib/libsql.a /cal/oracle/lib/osntab.o -lsqlnet -lora /cal/oracle/lib/libpls.a -&lt;BR /&gt;lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lcl -lm&lt;BR /&gt;(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (prb_ptax.o) was dete&lt;BR /&gt;cted. The linked output may not run on a PA 1.x system.&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   shl_load (code)&lt;BR /&gt;   shl_findsym (code)&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;================== ERROR message ===============&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jan 2008 20:38:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127553#M93071</guid>
      <dc:creator>Tushar Dey</dc:creator>
      <dc:date>2008-01-10T20:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127554#M93072</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The error: "(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored."&lt;BR /&gt;&lt;BR /&gt;...tells you that you are using the sleletal bundled C compiler only useful for basic kernel support and not a full-fledged ANSI C one.  It would appear that you had licensed the ANSI C compiler on 10.20 but did not do so (or did not install) the same on your 11.x server.&lt;BR /&gt;&lt;BR /&gt;Remember, 11.0 is out-of-support.  The ANSI C compiler would be on one of the Application CDs but will require a codeword to unlock.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jan 2008 22:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127554#M93072</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-10T22:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127555#M93073</link>
      <description>ld: Unsatisfied symbols: shl_load shl_findsym &lt;BR /&gt;&lt;BR /&gt;This occurs because you have illegally used -Wl,-aarchive.&lt;BR /&gt;Either leave it out or use -Wl,-aarchive_shared&lt;BR /&gt;&lt;BR /&gt;Also as JRF mentioned, you shouldn't be using the bundled C compiler to develop applications.</description>
      <pubDate>Fri, 11 Jan 2008 09:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127555#M93073</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-11T09:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127556#M93074</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;My priority is to work on the errors. So, can you please suggest me any workaround on the errors 'shl_load' and 'shl_fiindsym'. For the time being I am ignoring the warnings regarding cc comand line options options '-O' and '-A'.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tushar</description>
      <pubDate>Fri, 11 Jan 2008 10:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127556#M93074</guid>
      <dc:creator>Tushar Dey</dc:creator>
      <dc:date>2008-01-11T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127557#M93075</link>
      <description>&amp;gt;can you please suggest me any workaround&lt;BR /&gt;&lt;BR /&gt;I mentioned exactly why you got them.</description>
      <pubDate>Fri, 11 Jan 2008 10:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127557#M93075</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-11T10:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127558#M93076</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;You must install compiler for HP-UX 11x . Isuggest you ANSI/C (HP software) o gcc (GNU software&lt;BR /&gt;&lt;BR /&gt;rgds</description>
      <pubDate>Fri, 11 Jan 2008 11:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127558#M93076</guid>
      <dc:creator>Roberto Arias</dc:creator>
      <dc:date>2008-01-11T11:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127559#M93077</link>
      <description>You do not have a compiler on the new system that will work. You must purchase the ANSI/C compiler (as was done on the old 10.20 system) or try using the free gcc compiler.</description>
      <pubDate>Fri, 11 Jan 2008 11:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127559#M93077</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-01-11T11:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127560#M93078</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks for suggestion that takes me towards installing the developer packs / gcc.&lt;BR /&gt;&lt;BR /&gt;Meanwhile, I tried to compile by removing LDFLAGS "-Wl,-aarchive" and compiled as follows &lt;BR /&gt;---------------&lt;BR /&gt;cc -I. -O -Aa -L/cal/oracle/lib -o prb_ptax prb_ptax.c /cal/oracle/lib/libsql.a&lt;BR /&gt;/cal/oracle/lib/osntab.o -lsqlnet -lora /cal/oracle/lib/libpls.a -lsqlnet -lnlsr&lt;BR /&gt;tl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lcl -lm&lt;BR /&gt;(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro&lt;BR /&gt;duct; ignored.&lt;BR /&gt;/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (prb_ptax.o) was dete&lt;BR /&gt;cted. The linked output may not run on a PA 1.x system.&lt;BR /&gt;---------------&lt;BR /&gt;&lt;BR /&gt;But, finally when I executed the binary, I got following error -&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /usr/lib/libc.2 &lt;BR /&gt;&lt;BR /&gt;Any 2nd thought on this?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tushar</description>
      <pubDate>Fri, 11 Jan 2008 16:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127560#M93078</guid>
      <dc:creator>Tushar Dey</dc:creator>
      <dc:date>2008-01-11T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127561#M93079</link>
      <description>&amp;gt;finally when I executed the binary, I got following error-&lt;BR /&gt;dld.sl: Can't open shared library: /usr/lib/libc.2&lt;BR /&gt;&lt;BR /&gt;My crystal ball says you took your executable that you developed on 11.00 and tried to execute it on 10.20.  That won't work and wouldn't work even if you could use -Wl,-aarchive.&lt;BR /&gt;&lt;BR /&gt;Only forward compatibility is supported.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2008 20:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127561#M93079</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-11T20:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127562#M93080</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;You are absolutely correct.&lt;BR /&gt;&lt;BR /&gt;1. I tried to compile in new box HP UX 11.00 without option '-aacrchive'. It worked.&lt;BR /&gt;&lt;BR /&gt;2. I copied the executable to HP UX 10.20. It gave an error -&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /usr/lib/libc.2&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;&lt;BR /&gt;3. When tried to HP UX 10.20 box now it gives -&lt;BR /&gt;core dump at precompilation itself.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Sun, 13 Jan 2008 01:30:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127562#M93080</guid>
      <dc:creator>Tushar Dey</dc:creator>
      <dc:date>2008-01-13T01:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127563#M93081</link>
      <description>&amp;gt;2. I copied the executable to 10.20.&lt;BR /&gt;&lt;BR /&gt;You can't do that.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;3. When tried to HP UX 10.20 box now it gives - core dump at precompilation itself.&lt;BR /&gt;&lt;BR /&gt;Tried what?  Core dump where?  What did you mean by pre-compilation, something to do with pro*c?</description>
      <pubDate>Sun, 13 Jan 2008 01:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127563#M93081</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-13T01:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127564#M93082</link>
      <description>Hi Denis,&lt;BR /&gt;&lt;BR /&gt;Thanks again for your response. I now tried to precompile the entire thing in 10.20 box and it is not working. It gives error at precompilation itself.&lt;BR /&gt;&lt;BR /&gt;Actually, there were two identical boxes with HP UX 10.20. One could precompile well and another couldn't. I used to ompile in one and port the executable to another. The one with good precompiler (PRO*C) got OS crashed and had to be reinstalled. Now, I am able to compile in this box (with OS reinstalled with HPUX 11.00 and system restored), but not able to port it to the other box with HPUX 10.20 where the precompiler doesn't work and gives core dump.&lt;BR /&gt;&lt;BR /&gt;Is theere any way to compile in HPUX 11.00 with compatibility mode.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tushar</description>
      <pubDate>Sun, 13 Jan 2008 09:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127564#M93082</guid>
      <dc:creator>Tushar Dey</dc:creator>
      <dc:date>2008-01-13T09:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling pro*c thru make in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127565#M93083</link>
      <description>&amp;gt;Is there any way to compile in 11.00 with compatibility mode.&lt;BR /&gt;&lt;BR /&gt;No, there is no supported way.  Only forward compatibility is supported.</description>
      <pubDate>Sun, 13 Jan 2008 11:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-compiling-pro-c-thru-make-in-hp-ux/m-p/4127565#M93083</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-13T11:13:45Z</dc:date>
    </item>
  </channel>
</rss>

