<?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: JNI and -AA in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047382#M736792</link>
    <description>Thank you.  So the Csup_v2 does not exist on Itanium.  That clarifies my question. :) &lt;BR /&gt;&lt;BR /&gt;I understand we cannot fix -AA and -AP.  I was wondering if I can mix like -lstd_v2 and -lCsup.  Can you do that on the HP risk machine?  Our C++ only application seem to work when we compile with -AA and link in -lstd -lstream -lCsup, so we were wondering if we should be using _v2 libraries, or it is ok to use non-v2 libraries. &lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.</description>
    <pubDate>Fri, 10 Aug 2007 14:11:34 GMT</pubDate>
    <dc:creator>cactuar</dc:creator>
    <dc:date>2007-08-10T14:11:34Z</dc:date>
    <item>
      <title>JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047376#M736786</link>
      <description>Hi, I have a Hello World program using JNI taken from this page:&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/prog_guide/JNI_java2.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/prog_guide/JNI_java2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It builds fine and runs fine.&lt;BR /&gt;&lt;BR /&gt;But when I add -AA to my compile line, I get this error.&lt;BR /&gt;error: java.lang.UnsatisfiedLinkError: libaCCImpl.sl: Unresolved external&lt;BR /&gt;&lt;BR /&gt;Here are my build lines:&lt;BR /&gt;aCC -AA +DA2.0W +z +u4 -c -D_HPUX -D_POSIX_C_SOURCE=199506L -I${JAVA_HOME}/include -I${JAVA_HOME}/include/hp-ux aCCImpl.cpp&lt;BR /&gt;&lt;BR /&gt;aCC +DA2.0W -b -o libaCCImpl.sl aCCImpl.o -lstd -lstream -lCsup -lm&lt;BR /&gt;&lt;BR /&gt;Can someone tell me how to resolve this problem?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uname -a&lt;BR /&gt;HP-UX hp11i B.11.11 U 9000/800 524736557 unlimited-user license</description>
      <pubDate>Tue, 31 Jul 2007 17:09:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047376#M736786</guid>
      <dc:creator>cactuar</dc:creator>
      <dc:date>2007-07-31T17:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047377#M736787</link>
      <description>You need to read the documentation about aC++ plugins:&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking" target="_blank"&gt;http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And for -AA: -lstd_v2 -lCsup_v2 -lm</description>
      <pubDate>Wed, 01 Aug 2007 06:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047377#M736787</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-01T06:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047378#M736788</link>
      <description>Thank you for your help.  I have a shared library that is built with -ldld -lstd -lstream -lCsup.  It is compiled with -AA. When I link this library into my JNI sample program, it hangs.  Should this shared library be built with -lstd_v2 -lCsup_v2 too?  Thank you.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2007 12:59:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047378#M736788</guid>
      <dc:creator>cactuar</dc:creator>
      <dc:date>2007-08-01T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047379#M736789</link>
      <description>&amp;gt;Should this shared library be built with -lstd_v2 -lCsup_v2&lt;BR /&gt;&lt;BR /&gt;You can't mix -AA and -AP.  So if you have one lib with -AA, all libs have to be built that way.&lt;BR /&gt;&lt;BR /&gt;While you don't need to add -lstd_v2 -lCsup_v2 to all shlibs, it may not be worthwhile trying to optimize that.</description>
      <pubDate>Wed, 01 Aug 2007 17:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047379#M736789</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-01T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047380#M736790</link>
      <description>I am now questioning this for HP Itanium.  &lt;BR /&gt;&lt;BR /&gt;In the JNI page, I see this:&lt;BR /&gt;&lt;BR /&gt;On Itanium, create the shared library using: &lt;BR /&gt;&lt;BR /&gt;$ aCC -b -o libaCCImpl.so aCCImpl.o \ &lt;BR /&gt;-lstd_v2 -lCsup -lunwind -lm &lt;BR /&gt;&lt;BR /&gt;On Itanium, -lstd_v2 is necessary, otherwise, running the program will result in UnsatisfiedLinkErrors. &lt;BR /&gt;&lt;BR /&gt;Is this for -AP or -AA?  Do we need to use -lCsup_v2 or -AA?  Can you mix v2 and non-v2 libraries? Are they compatible?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.</description>
      <pubDate>Fri, 10 Aug 2007 10:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047380#M736790</guid>
      <dc:creator>cactuar</dc:creator>
      <dc:date>2007-08-10T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047381#M736791</link>
      <description>&amp;gt;On Integrity, create the shared library using:&lt;BR /&gt;&lt;BR /&gt;This is correct.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is this for -AP or -AA? Do we need to use -lCsup_v2 or -AA? Can you mix v2 and non-v2 libraries?&lt;BR /&gt;&lt;BR /&gt;Yes, -AA.  There no such thing as -lCsup_v2.&lt;BR /&gt;No, you can't mix -AA with -AP.&lt;BR /&gt;&lt;BR /&gt;Read the appropriate web page:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/10946/distributing.htm#linking" target="_blank"&gt;http://docs.hp.com/en/10946/distributing.htm#linking&lt;/A&gt;</description>
      <pubDate>Fri, 10 Aug 2007 13:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047381#M736791</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-10T13:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047382#M736792</link>
      <description>Thank you.  So the Csup_v2 does not exist on Itanium.  That clarifies my question. :) &lt;BR /&gt;&lt;BR /&gt;I understand we cannot fix -AA and -AP.  I was wondering if I can mix like -lstd_v2 and -lCsup.  Can you do that on the HP risk machine?  Our C++ only application seem to work when we compile with -AA and link in -lstd -lstream -lCsup, so we were wondering if we should be using _v2 libraries, or it is ok to use non-v2 libraries. &lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.</description>
      <pubDate>Fri, 10 Aug 2007 14:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047382#M736792</guid>
      <dc:creator>cactuar</dc:creator>
      <dc:date>2007-08-10T14:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047383#M736793</link>
      <description>&amp;gt;So the Csup_v2 does not exist on Itanium. That clarifies my question. :)&lt;BR /&gt;&lt;BR /&gt;(Then why ask about it below?  ;-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I was wondering if I can mix like -lstd_v2 and -lCsup.&lt;BR /&gt;&lt;BR /&gt;If you read that link, that's what it says.  You are NOT mixing.  libCsup is -AA/-AP neutral.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can you do that on PA-RISC?&lt;BR /&gt;&lt;BR /&gt;No, we were not smart enough to get it right a decade ago. :-(&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Our C++ only application seem to work when we compile with -AA and link in -lstd -lstream -lCsup,&lt;BR /&gt;&lt;BR /&gt;No, you are mixing -AP and -AA and that's not supported.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;so we were wondering if we should be using _v2 libraries, or it is ok to use non-v2 libraries.&lt;BR /&gt;&lt;BR /&gt;Don't make assumptions based on _v2.  The libs are -AA or -AP.  With the contents listed on the appropriate web pages.</description>
      <pubDate>Fri, 10 Aug 2007 15:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047383#M736793</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-10T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047384#M736794</link>
      <description>&amp;gt;(Then why ask about it below? ;-)&lt;BR /&gt;I was wondering about PA-RISC. Sorry for a confusion.  The libCsup_v2 exists on PA-RISC, but not Itanium, right?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;libCsup is -AA/-AP neutral.&lt;BR /&gt;I see.  Thank you.&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2007 16:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047384#M736794</guid>
      <dc:creator>cactuar</dc:creator>
      <dc:date>2007-08-10T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047385#M736795</link>
      <description>&amp;gt;The libCsup_v2 exists on PA-RISC, but not Integrity, right?&lt;BR /&gt;&lt;BR /&gt;Yes.</description>
      <pubDate>Fri, 10 Aug 2007 16:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047385#M736795</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-10T16:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: JNI and -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047386#M736796</link>
      <description>You have not assigned any points yet.  If the answers you got were helpful, please read the following:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Sat, 11 Aug 2007 04:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jni-and-aa/m-p/4047386#M736796</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-11T04:25:53Z</dc:date>
    </item>
  </channel>
</rss>

