<?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 Linux link error: undefined reference to ippMalloc/ippFree in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827838#M5305</link>
    <description>I've just converted an application from Windows (MSVC, Intel compiler, IPP) to Linux (gcc - for now at least, IPP).&lt;BR /&gt;&lt;BR /&gt;When I try to build it, I get 2 errors:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]/opt/intel/ipp/6.1.2.051/ia32/lib//libippsmerged.a(psalloc_split_w7_ippsMalloc_8u.o): In function `w7_ippsMalloc_8u':&lt;BR /&gt;psalloc_split_w7_ippsMalloc_8u.i:(.text+0x17): undefined reference to `ippMalloc'&lt;BR /&gt;/opt/intel/ipp/6.1.2.051/ia32/lib//libippsmerged.a(psalloc_split_w7_ippsFree.o): In function `w7_ippsFree':&lt;BR /&gt;psalloc_split_w7_ippsFree.i:(.text+0x12): undefined reference to `ippFree'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;[/bash]&lt;/PRE&gt;The other IPP functions that I'm using don't seem to cause any issues. I'm building using the following line:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;g++&lt;/B&gt; -v -O3 -ffast-math -fomit-frame-pointer -fstrict-aliasing -fno-math-errno -freciprocal-math -fno-signed-zeros -fno-trapping-math -fassociative-math -DSSE2 &lt;I&gt;&lt;ALL_MY_CPP_FILES&gt;&lt;/ALL_MY_CPP_FILES&gt;&lt;/I&gt; &lt;B&gt;-I/opt/intel/ipp/6.1.2.051/ia32/include/ -L"/opt/intel/ipp/6.1.2.051/ia32/lib/" -march=pentium4 -lippcore -lippscmerged -lippsrmerged -lippsmerged -lm &lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;In Windows, building with the following (very similar) line succeeds and generates working code:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;g++&lt;/B&gt; -v -O3 -ffast-math -fomit-frame-pointer -fstrict-aliasing -fno-math-errno -freciprocal-math -fno-signed-zeros -fno-trapping-math -fassociative-math -DSSE2 &lt;I&gt;&lt;ALL_MY_CPP_FILES&gt;&lt;/ALL_MY_CPP_FILES&gt;&lt;/I&gt; &lt;B&gt;-I"C:\\Program Files 2\\Intel\\IPP\\5.1\\ia32\\include" -L"C:\\Program Files 2\\Intel\\IPP\\5.1\\ia32\\lib" -march=pentium4 -lippcorel -lippscmerged -lippsrmerged -lippsmerged -lm -lwinmm&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note: This is a build which ONLY includes the Pentium 4 code - I haven't tested what happens if I don't specifically include the file ipp_w7.h because I need to make changes at different locations in the code.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Sep 2010 22:14:14 GMT</pubDate>
    <dc:creator>piet_de_weer</dc:creator>
    <dc:date>2010-09-07T22:14:14Z</dc:date>
    <item>
      <title>Linux link error: undefined reference to ippMalloc/ippFree</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827838#M5305</link>
      <description>I've just converted an application from Windows (MSVC, Intel compiler, IPP) to Linux (gcc - for now at least, IPP).&lt;BR /&gt;&lt;BR /&gt;When I try to build it, I get 2 errors:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]/opt/intel/ipp/6.1.2.051/ia32/lib//libippsmerged.a(psalloc_split_w7_ippsMalloc_8u.o): In function `w7_ippsMalloc_8u':&lt;BR /&gt;psalloc_split_w7_ippsMalloc_8u.i:(.text+0x17): undefined reference to `ippMalloc'&lt;BR /&gt;/opt/intel/ipp/6.1.2.051/ia32/lib//libippsmerged.a(psalloc_split_w7_ippsFree.o): In function `w7_ippsFree':&lt;BR /&gt;psalloc_split_w7_ippsFree.i:(.text+0x12): undefined reference to `ippFree'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;[/bash]&lt;/PRE&gt;The other IPP functions that I'm using don't seem to cause any issues. I'm building using the following line:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;g++&lt;/B&gt; -v -O3 -ffast-math -fomit-frame-pointer -fstrict-aliasing -fno-math-errno -freciprocal-math -fno-signed-zeros -fno-trapping-math -fassociative-math -DSSE2 &lt;I&gt;&lt;ALL_MY_CPP_FILES&gt;&lt;/ALL_MY_CPP_FILES&gt;&lt;/I&gt; &lt;B&gt;-I/opt/intel/ipp/6.1.2.051/ia32/include/ -L"/opt/intel/ipp/6.1.2.051/ia32/lib/" -march=pentium4 -lippcore -lippscmerged -lippsrmerged -lippsmerged -lm &lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;In Windows, building with the following (very similar) line succeeds and generates working code:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;g++&lt;/B&gt; -v -O3 -ffast-math -fomit-frame-pointer -fstrict-aliasing -fno-math-errno -freciprocal-math -fno-signed-zeros -fno-trapping-math -fassociative-math -DSSE2 &lt;I&gt;&lt;ALL_MY_CPP_FILES&gt;&lt;/ALL_MY_CPP_FILES&gt;&lt;/I&gt; &lt;B&gt;-I"C:\\Program Files 2\\Intel\\IPP\\5.1\\ia32\\include" -L"C:\\Program Files 2\\Intel\\IPP\\5.1\\ia32\\lib" -march=pentium4 -lippcorel -lippscmerged -lippsrmerged -lippsmerged -lm -lwinmm&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note: This is a build which ONLY includes the Pentium 4 code - I haven't tested what happens if I don't specifically include the file ipp_w7.h because I need to make changes at different locations in the code.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2010 22:14:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827838#M5305</guid>
      <dc:creator>piet_de_weer</dc:creator>
      <dc:date>2010-09-07T22:14:14Z</dc:date>
    </item>
    <item>
      <title>Linux link error: undefined reference to ippMalloc/ippFree</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827839#M5306</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is good discussion and provided solution for similar issues in the forum, please refer to &lt;B&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=63391"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Linux Port - Linker problems&lt;/SPAN&gt;&lt;/A&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Also, On-line documentation: how to build ipp in linux environment&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/how-to-build-ipp-application-in-linux-environment/"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://software.intel.com/en-us/articles/how-to-build-ipp-application-in-linux-environment/" target="_blank"&gt;http://software.intel.com/en-us/articles/how-to-build-ipp-application-in-linux-environment/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Gv&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:00:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827839#M5306</guid>
      <dc:creator>Naveen_G_Intel</dc:creator>
      <dc:date>2010-09-08T10:00:57Z</dc:date>
    </item>
    <item>
      <title>Linux link error: undefined reference to ippMalloc/ippFree</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827840#M5307</link>
      <description>Thanks! Moving &lt;I&gt;-lippcore&lt;/I&gt; to the end of the line did the trick. And the program is even running immediately without any errors (which is quite surprising for a program that consists of over 2 MB of code).&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:10:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827840#M5307</guid>
      <dc:creator>piet_de_weer</dc:creator>
      <dc:date>2010-09-08T10:10:27Z</dc:date>
    </item>
    <item>
      <title>Linux link error: undefined reference to ippMalloc/ippFree</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827841#M5308</link>
      <description>Great to know it works fine,&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Naveen Gv</description>
      <pubDate>Wed, 08 Sep 2010 10:12:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linux-link-error-undefined-reference-to-ippMalloc-ippFree/m-p/827841#M5308</guid>
      <dc:creator>Naveen_G_Intel</dc:creator>
      <dc:date>2010-09-08T10:12:33Z</dc:date>
    </item>
  </channel>
</rss>

