<?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: aCC 64-bit link problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685599#M723318</link>
    <description>Thank you for the suggestions.  I first applied the patch and tried as before and got the same result.  I then added -L/usr/lib to the command line and this produced a new error.  It is as follows:&lt;BR /&gt;&lt;BR /&gt;bash-2.05$ make&lt;BR /&gt;        aCC  writer.o Employee.o -o writer +DA2.0W  -L/usr/lib -L../../lib  -lasn1ber&lt;BR /&gt;/usr/ccs/bin/ld: Can't open /opt/langtools/lib/pa20_64/crt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;I looked in /opt/langtools/lib/pa20_64 and the crt0.o file was there, so I don't know what the linker is complaining about.  Does anyone have any ideas on this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Ed Day&lt;BR /&gt;</description>
    <pubDate>Tue, 19 Mar 2002 16:03:43 GMT</pubDate>
    <dc:creator>Ed Day</dc:creator>
    <dc:date>2002-03-19T16:03:43Z</dc:date>
    <item>
      <title>aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685596#M723315</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I recently purchased an HP Visualize 64-bit workstation in order to troubleshoot a problem concerning running our product on an HP 64-bit machine.  I installed aCC and built the libraries with the +DA2.0W option.  But when I went to link my test program against the libraries, I got the following error:&lt;BR /&gt;&lt;BR /&gt;bash-2.05$ make&lt;BR /&gt;        aCC  writer.o Employee.o -o writer +DA2.0W  -L../../lib  -lasn1ber&lt;BR /&gt;/usr/ccs/bin/ld: Can't find library for -lstd&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Is there anything else I need to specify to tell it where to find the standard libraries for 64-bit mode?  &lt;BR /&gt;&lt;BR /&gt;Any help would be most appreciated.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Mar 2002 21:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685596#M723315</guid>
      <dc:creator>Ed Day</dc:creator>
      <dc:date>2002-03-18T21:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685597#M723316</link>
      <description>Where is the library 'libstd' located on your machine?&lt;BR /&gt;You can search with:&lt;BR /&gt;find / -name libstd* 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;Once you locate it, explicitly tell the compiler to look into that directory with the -L flag. For example, if libstd is in /usr/lib, add a "-L/usr/lib" just after the "-L../../lib" that you already have.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Tue, 19 Mar 2002 02:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685597#M723316</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-03-19T02:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685598#M723317</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Try adding&lt;BR /&gt;Patch Name: PHSS_24627&lt;BR /&gt;&lt;BR /&gt;Patch Description: s700_800 11.X HP aC++ -AA runtime libraries (aCC A.03.33)&lt;BR /&gt;&lt;BR /&gt;Creation Date: 01/09/06&lt;BR /&gt;&lt;BR /&gt;Post Date:  01/10/18&lt;BR /&gt;&lt;BR /&gt;Hardware Platforms - OS Releases:&lt;BR /&gt; s700: 11.00 11.10&lt;BR /&gt; s800: 11.00 11.10&lt;BR /&gt;&lt;BR /&gt;To your system&lt;BR /&gt;&lt;BR /&gt;                Steve steel</description>
      <pubDate>Tue, 19 Mar 2002 08:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685598#M723317</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-03-19T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685599#M723318</link>
      <description>Thank you for the suggestions.  I first applied the patch and tried as before and got the same result.  I then added -L/usr/lib to the command line and this produced a new error.  It is as follows:&lt;BR /&gt;&lt;BR /&gt;bash-2.05$ make&lt;BR /&gt;        aCC  writer.o Employee.o -o writer +DA2.0W  -L/usr/lib -L../../lib  -lasn1ber&lt;BR /&gt;/usr/ccs/bin/ld: Can't open /opt/langtools/lib/pa20_64/crt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;I looked in /opt/langtools/lib/pa20_64 and the crt0.o file was there, so I don't know what the linker is complaining about.  Does anyone have any ideas on this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Ed Day&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 16:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685599#M723318</guid>
      <dc:creator>Ed Day</dc:creator>
      <dc:date>2002-03-19T16:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685600#M723319</link>
      <description>A couple more suggestions:&lt;BR /&gt;&lt;BR /&gt;- Make sure the LPATH environment variable is not set.  This variable overrides the linkers standard search path list which should include /usr/lib and /usr/ccs/lib (for 64 bit it will include the pa20_64 directories).  Having this variable set incorrectly could cause these types of problems.&lt;BR /&gt;&lt;BR /&gt;- Try compiling with the -v flag, this will give more information on where things may be going wrong.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 19 Mar 2002 16:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685600#M723319</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-19T16:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685601#M723320</link>
      <description>Hi Steve, &lt;BR /&gt;&lt;BR /&gt;Thanks for this response.  I did what you suggested.  LPATH was not set.  Compiling with -v produced a lot of verbose output (included below) and the same error.  Upon closer examination, I found the crt0.o file in /opt/langtools/.. was actually a link to another area (usr/ccs/lib/pa20_64) and the file was in fact not there.  The uname -m command indicates this machine is a 9000/780 which was sold to me as supporting the PA RISC 2.0 64-bit architecture.  Is this not the case?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Ed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output from aCC -v:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        aCC  -o writer.o +DA2.0W -v -c -I. -I../../src -I../../../rtsrc  writer.cpp&lt;BR /&gt; /opt/aCC/lbin/ctcom.pa20 -architecture 2.0W -I. -I../../src -I../../../rtsrc -piccode long -inst compiletime -diags 523 -D__HP_CXD_SPP=1 -D__hpux -D__unix -D__hppa -D__hp9000s800 -D__parisc -D__STDCPP__ -D_LP64 -D__HP_aCC=33300 -D__hp9000s700 -D_PA_RISC2_0 -D__LP64__ -I/opt/aCC/include -I/opt/aCC/include/iostream -I/usr/include -I/usr -inline_power 1 -longbranch 0 -unique_strings on -o writer.o -cachesize 256 writer.cpp&lt;BR /&gt;Warning (anachronism) 600: "writer.cpp", line 12 # Type specifier is omitted;&lt;BR /&gt;    "int" is no longer assumed.&lt;BR /&gt;    main (int argc, char** argv)&lt;BR /&gt;    ^^^^                        &lt;BR /&gt;        aCC  -o Employee.o +DA2.0W -v -c -I. -I../../src -I../../../rtsrc  Employee.cpp&lt;BR /&gt; /opt/aCC/lbin/ctcom.pa20 -architecture 2.0W -I. -I../../src -I../../../rtsrc -piccode long -inst compiletime -diags 523 -D__HP_CXD_SPP=1 -D__hpux -D__unix -D__hppa -D__hp9000s800 -D__parisc -D__STDCPP__ -D_LP64 -D__HP_aCC=33300 -D__hp9000s700 -D_PA_RISC2_0 -D__LP64__ -I/opt/aCC/include -I/opt/aCC/include/iostream -I/usr/include -I/usr -inline_power 1 -longbranch 0 -unique_strings on -o Employee.o -cachesize 256 Employee.cpp&lt;BR /&gt;        aCC  writer.o Employee.o -o writer +DA2.0W  -v -L/usr/lib -L../../lib  -lasn1ber&lt;BR /&gt;LPATH=/usr/lib/pa20_64:/opt/langtools/lib/pa20_64&lt;BR /&gt; /usr/ccs/bin/ld -o writer /opt/langtools/lib/pa20_64/crt0.o -u___exit -umain -L/opt/aCC/lib/pa20_64 writer.o Employee.o -L /usr/lib -L ../../lib -lasn1ber -lstd -lstream -lCsup -lm -lcl -lc /usr/lib/pa20_64/libdld.sl &amp;gt;/var/tmp/AAAa02092 2&amp;gt;&amp;amp;1&lt;BR /&gt; /opt/aCC/bin/c++filt &amp;amp;2&lt;BR /&gt;/usr/ccs/bin/ld: Can't open /opt/langtools/lib/pa20_64/crt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt; removing /var/tmp/AAAa02092&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;bash-2.05$ ls -l /opt/langtools/lib/pa20_64/crt0.o&lt;BR /&gt;lrwxr-xr-x   1 root       sys             27 Mar 15 17:11 /opt/langtools/lib/pa20_64/crt0.o -&amp;gt; /usr/ccs/lib/pa20_64/crt0.o&lt;BR /&gt;bash-2.05$ ls -l /usr/ccs/lib/pa20_64&lt;BR /&gt;total 2&lt;BR /&gt;-r-xr-xr-x   1 bin        bin             84 Sep 24  1999 plug-ins&lt;BR /&gt;bash-2.05$ uname -m&lt;BR /&gt;9000/780&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 17:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685601#M723320</guid>
      <dc:creator>Ed Day</dc:creator>
      <dc:date>2002-03-19T17:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685602#M723321</link>
      <description>P.S. I'm not quite sure how to read sched.models, but I see a 780 in the left column and 2.0 in the center (as well as PA8000 on the right).  Is this the model I have and would I be correct in interpreting this as that it support the 2.0 architecture?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 17:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685602#M723321</guid>
      <dc:creator>Ed Day</dc:creator>
      <dc:date>2002-03-19T17:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685603#M723322</link>
      <description>All makes sense now - you must be running 32bit HPUX which means the 64bit libraries won't be installed.  What does the following command return:&lt;BR /&gt;&lt;BR /&gt;# getconf KERNEL_BITS&lt;BR /&gt;&lt;BR /&gt;Your system does support 64bit HPUX, but it was probably just installed with the 32bit version.  You're going to need to upgrade to the 64bit OS, which will probably involve a reinstall (it may be possible without but I've never done it this way - reinstall will be the cleanest method).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 19 Mar 2002 18:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685603#M723322</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-19T18:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685604#M723323</link>
      <description>Hi Steve, &lt;BR /&gt;&lt;BR /&gt;It does in fact say 32.  What do I need to do to update to the 64-bit O/S?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Ed&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 18:17:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685604#M723323</guid>
      <dc:creator>Ed Day</dc:creator>
      <dc:date>2002-03-19T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685605#M723324</link>
      <description>a5:/var/adm/sw 110 # swlist -l bundle | grep 64&lt;BR /&gt;  HPUXEng64RT           B.11.00        English HP-UX 64-bit Runtime Environment&lt;BR /&gt;a5:/var/adm/sw 111 #&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 18:23:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685605#M723324</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-03-19T18:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: aCC 64-bit link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685606#M723325</link>
      <description>The clean way is a complete re-install - you'll need to have a set of the 11.x CD's, copies of your codewords for any applications that you bought, and 2 good backups of your data.  I would also recommend an ignite recovery tape so you can go back just in case, and its a good idea to take copies of your configuration files on to another system or PC where you have easy access (everything under /etc, LVM details, kernel parms).  Then take a look at the installation guide:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/5971-0642/5971-0642.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/5971-0642/5971-0642.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Having said this, there may be a procedure to upgrade to the 32bit version without a complete re-install.  I've never done it but someone else on the forums may be able to help.  You might want to try a search of the forums too.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 20 Mar 2002 10:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-64-bit-link-problem/m-p/2685606#M723325</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-20T10:35:28Z</dc:date>
    </item>
  </channel>
</rss>

