<?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: ld: Mismatched ABI (not an ELF file) for -lc in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995708#M95983</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I know nothing about the error, but please readon.&lt;BR /&gt;&lt;BR /&gt;Important:not an ELF file&lt;BR /&gt;&lt;BR /&gt;This is a PA-RISC system.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;1) You may not want to compile an ELF program on this system.&lt;BR /&gt;2) If you did it on the previous system you probably had special software installed to do the job. I'm guessing its not installed on the 11i v1 system.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Tue, 08 May 2007 04:39:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-05-08T04:39:18Z</dc:date>
    <item>
      <title>ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995707#M95982</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;We are upgrading our system from HP-UX 11o to HP-UX 11i. While compiling the C codes, we get the following error. &lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lc&lt;BR /&gt;Fatal error.&lt;BR /&gt;The following is the entry that we have in the make file and while compiling this part, we get the above said error.&lt;BR /&gt;../bin/odlcomp: odlcomp.c $(HDRS)&lt;BR /&gt;        $(LPATH) cc $(CFLAGS) odlcomp.c $(CCLIBS) -ldld -Wl,+s -o $@&lt;BR /&gt;Any help in this regard will be appreciated.&lt;BR /&gt;Please let me know if any more details are needed. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 May 2007 03:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995707#M95982</guid>
      <dc:creator>rajanandhini</dc:creator>
      <dc:date>2007-05-08T03:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995708#M95983</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I know nothing about the error, but please readon.&lt;BR /&gt;&lt;BR /&gt;Important:not an ELF file&lt;BR /&gt;&lt;BR /&gt;This is a PA-RISC system.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;1) You may not want to compile an ELF program on this system.&lt;BR /&gt;2) If you did it on the previous system you probably had special software installed to do the job. I'm guessing its not installed on the 11i v1 system.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Tue, 08 May 2007 04:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995708#M95983</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-08T04:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995709#M95984</link>
      <description>This means you are using +DD64 when compiling but forgot to use +DD64 when linking.&lt;BR /&gt;&lt;BR /&gt;What does LPATH have in it?  It better have /usr/lib/pa20_64 in it and not /usr/lib.&lt;BR /&gt;&lt;BR /&gt;Note: You should NOT be using LPATH.  This should be reserved for the driver.  Use -L instead.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;SEP: 1) You may not want to compile an ELF program on this system.&lt;BR /&gt;&lt;BR /&gt;64 bit mode files are ELF on PA.</description>
      <pubDate>Tue, 08 May 2007 06:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995709#M95984</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-08T06:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995710#M95985</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the information. Again i tried compiling the scripts by including the /usr/lib/pa20_64 path in the LPATH. I get the same error as before. LPATH now contains LPATH=../bin:/lib:/usr/lib/pa20_64:/usr/lib:/pkg1/sybase_base/lib&lt;BR /&gt;We tried executing the same program in this machine. But while compiling it, we got the above said error. &lt;BR /&gt;Please advice.</description>
      <pubDate>Tue, 08 May 2007 08:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995710#M95985</guid>
      <dc:creator>rajanandhini</dc:creator>
      <dc:date>2007-05-08T08:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995711#M95986</link>
      <description>&amp;gt;LPATH now contains LPATH=../bin:/lib:/usr/lib/pa20_64:/usr/lib:/pkg1/sybase_base/lib&lt;BR /&gt;&lt;BR /&gt;Do NOT use LPATH.  Use the appropriate -L paths.&lt;BR /&gt;&lt;BR /&gt;In your case, illegally using /lib and /usr/lib will give you this error.  (Note /lib and /usr/lib are the same, don't use both.)&lt;BR /&gt;&lt;BR /&gt;Using ../bin doesn't make sense since libs should be in lib and not bin.  Remove /usr/lib/pa20_64 since the default.&lt;BR /&gt;&lt;BR /&gt;So remove the LPATH macro and create:&lt;BR /&gt;LIBS=-L../bin -L/pkg1/sybase_base/lib&lt;BR /&gt;(Assuming you really want bin?)&lt;BR /&gt;&lt;BR /&gt;Then add $(LIBS) to the end of your link line.</description>
      <pubDate>Tue, 08 May 2007 08:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995711#M95986</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-08T08:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995712#M95987</link>
      <description>Thanks a lot for your assistance.&lt;BR /&gt;&lt;BR /&gt;When i tried to make the file with the instructions said by you, we got the following error.&lt;BR /&gt;&lt;BR /&gt;sh: ../bin: Execute permission denied.&lt;BR /&gt;*** Error exit code 126&lt;BR /&gt;&lt;BR /&gt;The bin directory actually has full execution permission. i.e it has 777 permission. &lt;BR /&gt;&lt;BR /&gt;Could you please help us in solving this? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 May 2007 09:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995712#M95987</guid>
      <dc:creator>rajanandhini</dc:creator>
      <dc:date>2007-05-08T09:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: ld: Mismatched ABI (not an ELF file) for -lc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995713#M95988</link>
      <description>&amp;gt;When i tried to make the file with the instructions said by you, we got the following error.&lt;BR /&gt;&amp;gt;sh: ../bin: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;It appears you are putting $(LIBS) on the beginning of the line.  These are not env vars but driver options.  I said:&lt;BR /&gt;Then add $(LIBS) to the END of your link line.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 May 2007 16:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-mismatched-abi-not-an-elf-file-for-lc/m-p/3995713#M95988</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-08T16:58:51Z</dc:date>
    </item>
  </channel>
</rss>

