<?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: Cannot recompile C language in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109195#M91483</link>
    <description>&amp;gt;Now we need to upgrade the platform and run the program on Itanium platform.So when I compile it on Itanium it reports the errors that it can't find the library file.&lt;BR /&gt;&lt;BR /&gt;If some performance impact is acceptable you can try running the program under aries.&lt;BR /&gt;There is no need to compile for native IA.</description>
    <pubDate>Sun, 18 May 2008 03:38:20 GMT</pubDate>
    <dc:creator>Srimalik</dc:creator>
    <dc:date>2008-05-18T03:38:20Z</dc:date>
    <item>
      <title>Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109192#M91480</link>
      <description>Hi all,&lt;BR /&gt;I have a program which could be compiled on PA platform successfully.&lt;BR /&gt;Now we need to upgrade the platform and run the program on Itanium platform.&lt;BR /&gt;So when I compile it on Itanium it reports the errors that it can't find the library file.&lt;BR /&gt;But the library files are actually there and I point the correct directory.&lt;BR /&gt;I found that in PA the library files are named like *.sl while in Itanium like *.so&lt;BR /&gt;So should I change the source code?&lt;BR /&gt;Any advice?</description>
      <pubDate>Fri, 16 May 2008 08:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109192#M91480</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2008-05-16T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109193#M91481</link>
      <description>While using .sl will still work on IPF, you should change your makefiles to the standard .so suffix.&lt;BR /&gt;&lt;BR /&gt;You also should make sure your have recompiled your shared library for IPF.  What does "file lib" show?  (You can't use a PA lib.)</description>
      <pubDate>Fri, 16 May 2008 09:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109193#M91481</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-16T09:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109194#M91482</link>
      <description>&amp;gt;Now we need to upgrade the platform and run &amp;gt;the program on Itanium platform.So when I compile it on Itanium it reports &amp;gt;the errors that it can't find the library file.</description>
      <pubDate>Sun, 18 May 2008 03:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109194#M91482</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-05-18T03:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109195#M91483</link>
      <description>&amp;gt;Now we need to upgrade the platform and run the program on Itanium platform.So when I compile it on Itanium it reports the errors that it can't find the library file.&lt;BR /&gt;&lt;BR /&gt;If some performance impact is acceptable you can try running the program under aries.&lt;BR /&gt;There is no need to compile for native IA.</description>
      <pubDate>Sun, 18 May 2008 03:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109195#M91483</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-05-18T03:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109196#M91484</link>
      <description>&amp;gt; So should I change the source code?&lt;BR /&gt;&lt;BR /&gt;We can't see "the source code".  Perhaps a&lt;BR /&gt;psychic would be more helpful.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Any advice?&lt;BR /&gt;&lt;BR /&gt;Show some actual failing commands, and&lt;BR /&gt;provide enough context to reveal what's&lt;BR /&gt;happening?  (Just a thought.)</description>
      <pubDate>Sun, 18 May 2008 12:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109196#M91484</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-18T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109197#M91485</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Here is the information in detail. Pls check it out for me.It's compiled based on DB2&lt;BR /&gt;&lt;BR /&gt;************************************&lt;BR /&gt;cc -Ae  -o MClmCScan cclm_main.o  -L/opt/IBM/db2/V8.1/lib64 -lm -L/app/ade/lib/moia -lmoiaap i -ldboper -ldb2 -lC&lt;BR /&gt;ld: Can't find library or mismatched ABI for -ldb2 Fatal error.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Should I add some option to "cc" command?&lt;BR /&gt;Tks in advance</description>
      <pubDate>Mon, 19 May 2008 04:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109197#M91485</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2008-05-19T04:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109198#M91486</link>
      <description>ok lets just include on the compile line the option to give the path to your libdb2.so library with a syntax as &lt;BR /&gt;-L/the/path/to/my/library</description>
      <pubDate>Mon, 19 May 2008 06:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109198#M91486</guid>
      <dc:creator>Fabien GUTIERREZ</dc:creator>
      <dc:date>2008-05-19T06:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109199#M91487</link>
      <description>Hi Fabien&lt;BR /&gt;/opt/IBM/db2/V8.1/lib64 is actually where db2 library files reside.&lt;BR /&gt;What should I do?&lt;BR /&gt;Tks in advance</description>
      <pubDate>Mon, 19 May 2008 07:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109199#M91487</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2008-05-19T07:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109200#M91488</link>
      <description>&amp;gt;cc -Ae -L/opt/IBM/db2/V8.1/lib64 -lm -L/app/ade/lib/moia -lmoiaap i -ldboper -ldb2 -lC&lt;BR /&gt;&lt;BR /&gt;Why do you have a -lC?  If you meant -lc, remove it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ld: Can't find library or mismatched ABI for -ldb2&lt;BR /&gt;&amp;gt;Should I add some option to "cc" command?&lt;BR /&gt;&lt;BR /&gt;Where should libdb2.* be found?  You need a -L path as Fabien said.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/opt/IBM/db2/V8.1/lib64 is actually where db2 library files reside.&lt;BR /&gt;&lt;BR /&gt;What does this show:&lt;BR /&gt;file /opt/IBM/db2/V8.1/lib64/libdb2* cclm_main.o&lt;BR /&gt;&lt;BR /&gt;Both files must be the same, either 32 or 64 bit.</description>
      <pubDate>Mon, 19 May 2008 09:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109200#M91488</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-19T09:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109201#M91489</link>
      <description>Hi all&lt;BR /&gt;It seams like cclm_main.o is not a 64 bit file&lt;BR /&gt;So I recompiled it and ran "cc" again it worked !&lt;BR /&gt;Thank you guys,especially Dennis. You enlightened my mind&lt;BR /&gt;</description>
      <pubDate>Tue, 20 May 2008 08:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109201#M91489</guid>
      <dc:creator>Wang,MinJie</dc:creator>
      <dc:date>2008-05-20T08:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot recompile C language</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109202#M91490</link>
      <description>Any reason you are only assigning 1 point to each answer?  If you got an answer that solves your problem, you should use a number from 8 to 10.&lt;BR /&gt;&lt;BR /&gt;You can reopen the thread to assign more points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#34" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#34&lt;/A&gt;</description>
      <pubDate>Tue, 20 May 2008 09:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-recompile-c-language/m-p/5109202#M91490</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-20T09:30:42Z</dc:date>
    </item>
  </channel>
</rss>

