<?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: mac static link problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881459#M10247</link>
    <description>&lt;P&gt;Hello Kevin,&lt;/P&gt;
&lt;P&gt;It seems that linker choose libippcore.dylib library instead of libippcore.a.&lt;/P&gt;
&lt;P&gt;You may avoid this by specifying the full library name with something like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#008080"&gt;&lt;FONT face="Arial"&gt;$(&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;IPPROOT&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;lib&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;libippcore&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;a&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2007 13:55:11 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2007-02-22T13:55:11Z</dc:date>
    <item>
      <title>mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881458#M10246</link>
      <description>Hello,
&lt;BR /&gt;
&lt;BR /&gt;I'm developing Mac and Windows plugins from the same code base.  I'm able to statically link the Windows plugin, but have been unable to statically link the Mac plugin.
&lt;BR /&gt;
&lt;BR /&gt;The Mac plugin dynamically links with no problems.
&lt;BR /&gt;
&lt;BR /&gt;The Mac libraries I'm statically linking against are:
&lt;BR /&gt;   libippcore.a
&lt;BR /&gt;   libippsemerged.a
&lt;BR /&gt;   libippsmerged.a
&lt;BR /&gt;   libippvcmerged.a
&lt;BR /&gt;   libippvcemerged.a
&lt;BR /&gt;   libippccmerged.a
&lt;BR /&gt;   libippccemerged.a
&lt;BR /&gt;   libippimerged.a
&lt;BR /&gt;   libippiemerged.a
&lt;BR /&gt;
&lt;BR /&gt;The Mac link fails with "Undefined symbol: _ippJumpIndexForMergedLibs"
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;FWIW, I'm successfully statically linking the Windows plugin with the following libraries:
&lt;BR /&gt;   ippcorel.lib 
&lt;BR /&gt;   ippsemerged.lib
&lt;BR /&gt;   ippsmerged.lib
&lt;BR /&gt;   ippvcmerged.lib
&lt;BR /&gt;   ippvcemerged.lib
&lt;BR /&gt;   ippccmerged.lib
&lt;BR /&gt;   ippccemerged.lib
&lt;BR /&gt;   ippimerged.lib
&lt;BR /&gt;   ippiemerged.lib
&lt;BR /&gt;
&lt;BR /&gt;I can't ship the Mac plugin with dynamic linking, so any help is much appreciated.
&lt;BR /&gt;
&lt;BR /&gt;--
&lt;BR /&gt;Kevin Packard
&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Feb 2007 21:37:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881458#M10246</guid>
      <dc:creator>kpackard_ipp</dc:creator>
      <dc:date>2007-02-21T21:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881459#M10247</link>
      <description>&lt;P&gt;Hello Kevin,&lt;/P&gt;
&lt;P&gt;It seems that linker choose libippcore.dylib library instead of libippcore.a.&lt;/P&gt;
&lt;P&gt;You may avoid this by specifying the full library name with something like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#008080"&gt;&lt;FONT face="Arial"&gt;$(&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;IPPROOT&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;lib&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;libippcore&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: Arial"&gt;a&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2007 13:55:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881459#M10247</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-02-22T13:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881460#M10248</link>
      <description>That did it - thank you.  
&lt;BR /&gt;
&lt;BR /&gt;For any XCode users out there, dragging "libippcore.o" into an XCode project generates the ln option "-lippcore", which loads the "libippcore.dylib" instead of "libippcore.a".
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Feb 2007 19:17:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881460#M10248</guid>
      <dc:creator>kpackard_ipp</dc:creator>
      <dc:date>2007-02-22T19:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881461#M10249</link>
      <description>And one other XCode note: when statically linking IPP, be sure to disable dead stripping.</description>
      <pubDate>Thu, 22 Feb 2007 21:00:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881461#M10249</guid>
      <dc:creator>kpackard_ipp</dc:creator>
      <dc:date>2007-02-22T21:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881462#M10250</link>
      <description>The exact same thing is happening to me. I have an application I developed for Windows that links statically to the ipp libraries. I have been porting this application to the Macintosh. I installed the commercial IPP binaries (was using the eval binaries -- just using dynamic linking with no problems), but when linking against the static libaries I am getting an undefined symbol:&lt;BR /&gt;&lt;BR /&gt;_ippJumpIndexForMergedLibs&lt;BR /&gt;&lt;BR /&gt;I was using XCode, but I gave up and wrote my own makefile. In order to make this thing link, I had to follow your advice and explicitly list the fully qualified path for libippcore.a as an input file to gcc in my makefile. Why this is happening? What can I do to fix it?&lt;BR /&gt;&lt;BR /&gt;I was also getting the undefined symbol _px_ippsZero_16s when I used XCode, but after writing my makefile, this linker error disappeared. I have no idea what I did to make it go away. Where is _px_ippsZero_16s defined? I would like to be able to use XCode to develop for the macintosh.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Feb 2008 19:39:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881462#M10250</guid>
      <dc:creator>matt_fisher</dc:creator>
      <dc:date>2008-02-29T19:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881463#M10251</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;px_ippsZero_16s is PX variant of ippsZero_16s function. It is defined in IPP static library for signal processing (ippsmerged.a and ippsemerged.a).&lt;/P&gt;
&lt;P&gt;Did you disable dead stripping while working in XCode?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 29 Feb 2008 22:02:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881463#M10251</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-02-29T22:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881464#M10252</link>
      <description>Vladimir,&lt;BR /&gt;&lt;BR /&gt;Thank you for the quick response. I am still having problems:&lt;BR /&gt;&lt;BR /&gt;When I mentioned before that the px_ippsZero_16s linker error disappeared, it is because I was building a different project that must not have needed it (I have two test projects I am working on right now). &lt;BR /&gt;&lt;BR /&gt;The linker error is still there, even when not using XCode. When I use the dynamic libraries, everything links fine. Using the static libraries, I get the _px_ippsZero_16s undefined symbol. I double-checked that I am linking the ippsmerged and ippsemerged libraries. Dead stripping is disabled in XCode -- it is disabled by default.&lt;BR /&gt;At least I think it is. There is no check mark beside "Dead Code Stripping" in my XCode project settings, and I don't see anything related to dead code stripping passed as an argument to gcc.&lt;BR /&gt;&lt;BR /&gt;I looked at libippsmerged.a and I do see the following:&lt;BR /&gt;&lt;BR /&gt;#1/36 1195364715 8985 38915 100644 524 `&lt;BR /&gt;pscopyca_split_px_ippsZero_16s.o&lt;BR /&gt;...&lt;BR /&gt;__text^@__jump_tab&lt;BR /&gt;le^@_px_ownsZero_8u^@_px_ippsZero_16s^@&lt;BR /&gt;&lt;BR /&gt;So it seems like it is there. However, I wrote a very simple test program (outside of XCode) that simply calls px_ippsZero_16s and it also failed to link.&lt;BR /&gt;&lt;BR /&gt;The only way I was able to get my application to link was to write my own px_ippsZero_16s function that calls memset. So something is definitely wrong and I still need help.&lt;BR /&gt;&lt;BR /&gt;I also still have no idea why I need to specify the fully qualified libippcore.a library path and why -lippcore will not work. There is something wrong here and I have no idea what it is.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Mar 2008 00:05:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881464#M10252</guid>
      <dc:creator>matt_fisher</dc:creator>
      <dc:date>2008-03-01T00:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: mac static link problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881465#M10253</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;could you please try the latest version of IPP, which is IPP 5.3 update 2. We have fixed some issue in dead-stripped code on Mac OS.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2008 20:06:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/mac-static-link-problem/m-p/881465#M10253</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-03-24T20:06:39Z</dc:date>
    </item>
  </channel>
</rss>

