<?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: Meaning of aCC runtime Error 22 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997091#M96022</link>
    <description>I am going to assume that by run-time error you mean an error of the compiler/linker rather than of the executable itself. Errno 22 = EINVAL means that a system call received an invalid argument and generally indicates a bug in the code. Since you haven't bothered to indicate your aCC version, I'm not going to look for patches but I suggest that you search the patch database for applicable aCC/ld patches.</description>
    <pubDate>Wed, 09 May 2007 18:44:00 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-05-09T18:44:00Z</dc:date>
    <item>
      <title>Meaning of aCC runtime Error 22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997090#M96021</link>
      <description>Received aCC runtime Error 22 from shl_findsym(/usr/lib/libCsup.2,_shlInit) when attempting to link in xerces-c++ xml library and would like to know why and how to resolve it. &lt;BR /&gt;&lt;BR /&gt;Host: HP-UX B.11.11 U 9000/800 &lt;BR /&gt;Compiler switches:&lt;BR /&gt;&lt;BR /&gt;/opt/aCC/bin/aCC -w +z +DAportable -DNDEBUG  -DAPP_NO_THREADS -DXML_USE_NO_THREADS -D_HP_UX -DHPaCC -Wl,+s -Wl,+b,.  L/ots/xerces-c-hpux_11i-acc_a03/lib -lxerces-c</description>
      <pubDate>Wed, 09 May 2007 18:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997090#M96021</guid>
      <dc:creator>DeWayne Dantzler</dc:creator>
      <dc:date>2007-05-09T18:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of aCC runtime Error 22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997091#M96022</link>
      <description>I am going to assume that by run-time error you mean an error of the compiler/linker rather than of the executable itself. Errno 22 = EINVAL means that a system call received an invalid argument and generally indicates a bug in the code. Since you haven't bothered to indicate your aCC version, I'm not going to look for patches but I suggest that you search the patch database for applicable aCC/ld patches.</description>
      <pubDate>Wed, 09 May 2007 18:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997091#M96022</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-09T18:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of aCC runtime Error 22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997092#M96023</link>
      <description>aCC: HP ANSI C++ B3910B A.03.56&lt;BR /&gt;&lt;BR /&gt;The compile and link phase completes, but when I attempt to execute the application, I get the runtime error. I was not receiving this error until I added the xerces-c++ xml parser library to the application. &lt;BR /&gt;&lt;BR /&gt;Appreciate any suggestions or leads. Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 May 2007 23:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997092#M96023</guid>
      <dc:creator>DeWayne Dantzler</dc:creator>
      <dc:date>2007-05-09T23:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of aCC runtime Error 22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997093#M96024</link>
      <description>Okay, it's really a case of debugging 101. Compile with the -g option; start your executable; and allow it to crash. Use the debugger (e.g. gdb) to examine the core file and get a stack trace. If you are fortunate the problem lies somewhere in your source code rather than a library.</description>
      <pubDate>Wed, 09 May 2007 23:30:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997093#M96024</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-09T23:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of aCC runtime Error 22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997094#M96025</link>
      <description>Ok, got a core file and the debugger wdb reported the following: &lt;BR /&gt;&lt;BR /&gt;"warning: The shared libraries were not privately mapped."&lt;BR /&gt;&lt;BR /&gt;Sounds like I don't have the right compiler or linker options. What am I missing here?</description>
      <pubDate>Thu, 10 May 2007 00:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997094#M96025</guid>
      <dc:creator>DeWayne Dantzler</dc:creator>
      <dc:date>2007-05-10T00:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of aCC runtime Error 22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997095#M96026</link>
      <description>&lt;P&gt;Error 22 on shl_findsym means: The specified handle or index is not valid or an attempt was made to load a library at an invalid address.&lt;BR /&gt;None of these make sense. You may want to use tusc to see what's going on.&lt;/P&gt;&lt;P&gt;Note: The purpose of the error message is to blame someone else.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;SEP: but I suggest that you search the patch database for applicable aCC/ld patches.&lt;BR /&gt;&lt;BR /&gt;It appears it is a dld issue?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;SEP: it's really a case of debugging 101.&lt;BR /&gt;&lt;BR /&gt;No, this is a post doctoral class. ;-)&lt;BR /&gt;You must debug static initializers before it gets to main.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;got a core file and the debugger wdb reported the following:&lt;BR /&gt;"warning: The shared libraries were not privately mapped."&lt;BR /&gt;&amp;gt;What am I missing here?&lt;BR /&gt;&lt;BR /&gt;The fact that you should ignore this and go about your business. That warning is only valid when you are running an executable.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2011 06:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/meaning-of-acc-runtime-error-22/m-p/3997095#M96026</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-02T06:50:50Z</dc:date>
    </item>
  </channel>
</rss>

