<?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: about #pragma HP_ALIGN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170169#M682071</link>
    <description>Thaks everybody</description>
    <pubDate>Mon, 27 Apr 2009 07:56:17 GMT</pubDate>
    <dc:creator>Eder Urruela</dc:creator>
    <dc:date>2009-04-27T07:56:17Z</dc:date>
    <item>
      <title>about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170163#M682065</link>
      <description>Hi, I'm compiling a very old program in an Integrity mode. This program was made for the 9000 architecture, and when I execute the Makefile to install I have the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"cgPonerBPR.c", line 1: error #4205-D: HP_ALIGN pragma is no longer supported; u&lt;BR /&gt;se the "pack" and/or "unalign" pragmas instead&lt;BR /&gt;  #pragma HP_ALIGN HPUX_NATURAL&lt;BR /&gt;&lt;BR /&gt;I have been looking on the web and I have found that this pragma refers to the aligment mode which is refered to the architecture.&lt;BR /&gt;HPUX_NATURAL is refered to the 9000 architecture, but I'm not compiling in a 9000 architecture. There is other tipes of pragmas such as:&lt;BR /&gt;&lt;BR /&gt;HPUX_WORD&lt;BR /&gt;&lt;BR /&gt;This is the Series 300/400 default alignment mode.&lt;BR /&gt;&lt;BR /&gt;HPUX_NATURAL_S500&lt;BR /&gt;&lt;BR /&gt;This is the Series 500 default alignment mode.&lt;BR /&gt;&lt;BR /&gt;HPUX_NATURAL&lt;BR /&gt;&lt;BR /&gt;This is the HP 9000 workstations and servers and HP 3000 Series 900 systems default alignment mode.&lt;BR /&gt;&lt;BR /&gt;NATURAL&lt;BR /&gt;&lt;BR /&gt;This mode provides a consistent alignment scheme across HP architectures.&lt;BR /&gt;&lt;BR /&gt;DOMAIN_WORD&lt;BR /&gt;&lt;BR /&gt;This is the default word alignment mode on HP Apollo architecture.&lt;BR /&gt;&lt;BR /&gt;DOMAIN_NATURAL&lt;BR /&gt;&lt;BR /&gt;This is the default natural alignment mode on HP Apollo architecture.&lt;BR /&gt;&lt;BR /&gt;or NOPADDING.&lt;BR /&gt;&lt;BR /&gt;It's obious thath I don't need HPUX_ NATURAL_S500.&lt;BR /&gt;&lt;BR /&gt;But I don't know what should I have to use, in order to my program compiles and works.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 17 Apr 2009 06:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170163#M682065</guid>
      <dc:creator>Eder Urruela</dc:creator>
      <dc:date>2009-04-17T06:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170164#M682066</link>
      <description>&amp;gt;error #4205-D: HP_ALIGN pragma is no longer supported&lt;BR /&gt;&amp;gt;#pragma HP_ALIGN HPUX_NATURAL&lt;BR /&gt;&lt;BR /&gt;If that's the only HP_ALIGN pragma, you should remove it, it's the default.</description>
      <pubDate>Fri, 17 Apr 2009 07:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170164#M682066</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-17T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170165#M682067</link>
      <description>I remove the #pragma HP_ALIGN ... and I can compile the file, and I get to a succesfull compilation. But now returns warnings like these.&lt;BR /&gt;&lt;BR /&gt;"cgPonerBPR.c", line 2: warning #2161-D: unrecognized #pragma&lt;BR /&gt;  #pragma    WIDTH 100&lt;BR /&gt;             ^&lt;BR /&gt;and the same warning with this #pragma declarations.&lt;BR /&gt;&lt;BR /&gt;#pragma    WIDTH 100&lt;BR /&gt;#pragma    LINES 80&lt;BR /&gt;#pragma    PAGE&lt;BR /&gt;#pragma    LIST OFF&lt;BR /&gt; &lt;BR /&gt;#pragma    LIST ON.&lt;BR /&gt;&lt;BR /&gt;However I have had a succesfull compilation, but now I have the following problem and i don't Know if it's related to those warnigns or related to the fact of have been removed the #pragma HP_ALIGN HPUX_NATURAL&lt;BR /&gt;The error apears when the Makefile starts linking the .o with the libraries.&lt;BR /&gt;&lt;BR /&gt;cc -L /usr/lib/X11R6 -o ../../bin/ivibuild ivibuild.o cgPonerBPR.o ../..&lt;BR /&gt;/lib/libIVIbuild.a \&lt;BR /&gt;                ../../lib/libZtddServ.a ../../lib/libZt.a \&lt;BR /&gt;                        /obras/master/IHM/VI/lib/libcgInterface.a \&lt;BR /&gt;                ../../lib/libXwnlio.a ../../lib/libXw.a ../../lib/libXtR2.a -lX1&lt;BR /&gt;1 -lm&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for /obras/master/IHM/VI/lib/libcgInterface&lt;BR /&gt;.a&lt;BR /&gt;Fatal error.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;I think I'm a bit lost with it, because I don't undestrand well the problem but i think it's related with te compilation mode and with the architecture, maybe somewhere I have something compiled under /opt/XPADE or maybe other architectured options.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2009 07:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170165#M682067</guid>
      <dc:creator>Eder Urruela</dc:creator>
      <dc:date>2009-04-17T07:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170166#M682068</link>
      <description>&amp;gt;warning #2161-D: unrecognized #pragma&lt;BR /&gt;#pragma WIDTH 100, LINES 80, PAGE, LIST OFF|ON&lt;BR /&gt;&lt;BR /&gt;These listing pragmas aren't available on aC++, ignore them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I don't know if it's related to the fact of have been removed the #pragma HP_ALIGN HPUX_NATURAL&lt;BR /&gt;&lt;BR /&gt;That would cause a runtime error, not a link error.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ld: Mismatched ABI (not an ELF file) for /obras/master/IHM/VI/lib/libcgInterface.a&lt;BR /&gt;&lt;BR /&gt;This isn't a valid ELF archive, remove it and build.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;maybe somewhere I have something compiled under /opt/XPADE or maybe other architecture options.&lt;BR /&gt;&lt;BR /&gt;You don't want to use XPADE unless developing for PA.</description>
      <pubDate>Fri, 17 Apr 2009 08:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170166#M682068</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-17T08:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170167#M682069</link>
      <description>I have find which could be the problem, in the library libcgInterface.a, all the files which generates it have as firs line the #pragma HP_ALIG HPUX_NATURAL.&lt;BR /&gt;I think that it could be what generates the error the error I described in the last post.&lt;BR /&gt;I'm have the sources of this library and I'm going to try to generate it again removing the HP_ALIGN pragma.&lt;BR /&gt;&lt;BR /&gt;I could be doing a correct supposition?&lt;BR /&gt;&lt;BR /&gt;Thanks again!</description>
      <pubDate>Fri, 17 Apr 2009 08:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170167#M682069</guid>
      <dc:creator>Eder Urruela</dc:creator>
      <dc:date>2009-04-17T08:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170168#M682070</link>
      <description>&amp;gt;removing the HP_ALIGN pragma. I could be doing a correct supposition?&lt;BR /&gt;&lt;BR /&gt;Yes, remove them.</description>
      <pubDate>Fri, 17 Apr 2009 08:38:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170168#M682070</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-17T08:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: about #pragma HP_ALIGN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170169#M682071</link>
      <description>Thaks everybody</description>
      <pubDate>Mon, 27 Apr 2009 07:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-pragma-hp-align/m-p/5170169#M682071</guid>
      <dc:creator>Eder Urruela</dc:creator>
      <dc:date>2009-04-27T07:56:17Z</dc:date>
    </item>
  </channel>
</rss>

