<?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 IPP Static Library linkage in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901691#M12847</link>
    <description>I'm fairly new to the Make/Library process, so...&lt;BR /&gt;I've been using IPP for a couple months, loving it, but linking to shared libraries using -L$(IPPLIB_DIR) and -lipp*em64t linux g++ options methodology.&lt;BR /&gt;I'm moving to a new machine and a colleague installed the IPP library, but wants me to use static libraries so I can use the code anywhere without installing all the *.so's&lt;BR /&gt;I can't get the g++ compiler to recognize my IPP calls. My colleague claims that I should just point -L directory to the proper place and it doesn't matter whether it's a *.so or *.a.&lt;BR /&gt;I've tried to follow the ipp-samples/advanced-usage/linkage/mergedlib example, but it ends up creating assembly stubs for the process I've tried using "#define IPPCALL(name) t7_##name", but get errors with 'ippsConvert_16u32f was not declared in this scope'.&lt;BR /&gt;What am I missing? Is there an easy way to get there?&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Aug 2008 03:58:05 GMT</pubDate>
    <dc:creator>ddavies</dc:creator>
    <dc:date>2008-08-20T03:58:05Z</dc:date>
    <item>
      <title>IPP Static Library linkage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901691#M12847</link>
      <description>I'm fairly new to the Make/Library process, so...&lt;BR /&gt;I've been using IPP for a couple months, loving it, but linking to shared libraries using -L$(IPPLIB_DIR) and -lipp*em64t linux g++ options methodology.&lt;BR /&gt;I'm moving to a new machine and a colleague installed the IPP library, but wants me to use static libraries so I can use the code anywhere without installing all the *.so's&lt;BR /&gt;I can't get the g++ compiler to recognize my IPP calls. My colleague claims that I should just point -L directory to the proper place and it doesn't matter whether it's a *.so or *.a.&lt;BR /&gt;I've tried to follow the ipp-samples/advanced-usage/linkage/mergedlib example, but it ends up creating assembly stubs for the process I've tried using "#define IPPCALL(name) t7_##name", but get errors with 'ippsConvert_16u32f was not declared in this scope'.&lt;BR /&gt;What am I missing? Is there an easy way to get there?&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2008 03:58:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901691#M12847</guid>
      <dc:creator>ddavies</dc:creator>
      <dc:date>2008-08-20T03:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: IPP Static Library linkage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901692#M12848</link>
      <description>&lt;P&gt;You should point static libraries instead of shared libraries with full path and full names, for example:&lt;/P&gt;
&lt;P&gt;was: -L $(IPPROOT)/sharedlib -l ippi -l ipps -l ippcore&lt;/P&gt;
&lt;P&gt;will: $(IPPROOT)/lib/libippiemerged.a $(IPPROOT)/lib/libippimerged.a $(IPPROOT)/lib/libippsemerged.a $(IPPROOT)/lib/libippsmerged.a $(IPPROOT)/lib/libippcore.a&lt;/P&gt;
&lt;P&gt;each ipp$ipp component have to be replaced to: libipp${ipp}emerged.a libipp${ipp}merged.a&lt;/P&gt;
&lt;P&gt;If you want to use threaded static, than: each ipp$ipp component have to be replaced to: libipp${ipp}emerged.a libipp${ipp}merged_t.a&lt;/P&gt;
&lt;P&gt;And very important for linker: right order of libraries (for resonving dependances): "some IPP componetnts" ippdc ippi ipps ippcore.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2008 12:49:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901692#M12848</guid>
      <dc:creator>Pavel_B_Intel1</dc:creator>
      <dc:date>2008-08-20T12:49:02Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901693#M12849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;Undefined references for ippi APIs. The library is linked statically to create a .so. The so is built with UND symbols for IPPI library hence failing in build step of the test app which links the product so file.&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;Sequence of linking: ${IPP_LIB_PATH}/libipps.a ${IPP_LIB_PATH}/libippi.a ${IPP_LIB_PATH}/libippcore.a&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `y8_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `l9_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `m7_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `e9_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `k0_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `k0_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `e9_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `n0_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `l9_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `y8_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `n8_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `m7_ippsFloorOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `n0_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;../../../../../libaide.so: undefined reference to `n8_ippsSinOne'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;/user/unicore/i80386linux_x64/compiler/gcc4.8.2/linux3.10_64/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld: link errors found, deleting executable `../../public/unix/release64/Linux/aide'&lt;/SPAN&gt;&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;BR style="box-sizing: border-box; color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" /&gt;
	&lt;SPAN style="color: rgb(37, 37, 37); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;Used -z defs for removal of UND symbols but the library build fails.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Sep 2018 16:53:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901693#M12849</guid>
      <dc:creator>Vinay_G_</dc:creator>
      <dc:date>2018-09-23T16:53:20Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901694#M12850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I recommend you to change the order of IPP libraries on this:&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;${IPP_LIB_PATH}/libippi.a ${IPP_LIB_PATH}/libipps.a ${IPP_LIB_PATH}/libippcore.a&lt;/PRE&gt;

&lt;P&gt;Linux linker is sensitive to the libraries order, ippi depends on ipps so ippi should be the first.&lt;/P&gt;

&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 05:34:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901694#M12850</guid>
      <dc:creator>Pavel_B_Intel1</dc:creator>
      <dc:date>2018-09-24T05:34:33Z</dc:date>
    </item>
    <item>
      <title>Thanks Pravel.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901695#M12851</link>
      <description>&lt;P&gt;Thanks Pravel.&lt;/P&gt;

&lt;P&gt;I added ippvm lib too and that worked. Thanks for the solution.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:00:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-Static-Library-linkage/m-p/901695#M12851</guid>
      <dc:creator>Vinay_G_</dc:creator>
      <dc:date>2018-09-25T16:00:20Z</dc:date>
    </item>
  </channel>
</rss>

