<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Wed, 25 Nov 2009 15:37:00 -0800 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/feed" rel="self" type="application/rss+xml" />
    <title>Intel Software Network - <![CDATA[ link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6 ]]> feed</title>
    <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="margin-top: 5px; width: 100%;">
<div style="margin-left:2px;margin-right:2px;">Quoting - <a href="/en-us/profile/441508">oku</a></div>
<div style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"><em>Hi,
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br /></span>
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;">after upgrading MacOSX to 10.6 and switching my local development target architecture to x86/64 bit I get the following link error on my standard project:</span></div>
<div><br /></div>
<div>
<div>ld: in /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/libippimerged.a(piswap_split_mx_ippiSwapChannels_8u_C4IR.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section</div>
<div><br /></div>
<div>What can I do about this?</div>
<div><br /></div>
<div>Hints:</div>
<div>Versions: IPP 5.3.1.056, gcc 4.2.1 on MacOSX 10.6 build 10A432</div>
<div><br /></div>
<div>lipo -info /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/libippimerged.a</div>
<div>yields</div>
<div>
<div>Architectures in the fat file: /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/libippimerged.a are: x86_64 i386</div>
<div><br /></div>
</div>
<div>This used to work before.</div>
</div>
</div>
</em></div>
</div>
</div>
<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Sun, 06 Sep 2009 22:01:45 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="margin-top: 5px; width: 100%;">
<div style="margin-left:2px;margin-right:2px;">Quoting - <a href="/en-us/profile/334681">Gennady Fedorov (Intel)</a></div>
<div style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"><em><br /></em></div>
</div>
</div>
<br />Oliver,<br />
<p>Please try to choose dynamic linking when you built the code on SnowLeo with IPP 5.3.<br />It seems that the issue you encountered causing by incompatibility with SnoLeo binutils ( partically in ld tool ).<br />--Gennady</p> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Sun, 06 Sep 2009 22:02:39 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;"></div>
Hi Gennady,
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;">thanks for answering. In the meantime, I figured out, how to set my build system back to use gcc 4.0 and 32 bit. This way, I can build a working 32 Bit application and link against the ipp, just like before - on Mac OS X 10.6.</span></div>
<div>I don't think, deploying all those dynamic ipp libraries is an option, but I will check anyway.</div>
<div>Until then, we will not be able to build a modern 64-bit-Cocoa-Application, which uses ipp.</div>
<div><br /></div> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Mon, 07 Sep 2009 02:48:11 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <p>Hello!<br /><br />Could you show the link string for x86_64 MacOSX 10.6? I've tested the IPP 5.3 libraries on MacOSX 10.5 x86_64 - all ok.<br /><br />Pavel.</p> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Mon, 07 Sep 2009 03:40:31 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;"></div>
It's not a Mac OS X version issue, but a gcc version issue. The link string looks the same. Using the gcc 4.0 linker, it works, using gcc 4.2.1, it doesn't. Maybe, you can reproduce it on Mac OS X 10.5 as well, by setting CC=gcc-4.2 in the makefile (or Xcode project or whatever you use). The only Mac OS X difference is, on 10.6, gcc 4.2.1 is the default and /usr/bin/gcc links to /usr/bin/gcc-4.2 instead of /usr/bin/gcc-4.0.
<div><br /></div>
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;">Maybe there is an incompatibility with the .o and .a object formats between the bin utils of the two gcc versions. I think, Intel could just recompile and relink the libraries with the newer tools and distribute those, too. This could be done, when finally updating ipp to 6.x (!) for the Mac OS X platform, since I don't think the money we payed is old and incompatible with current goods...<br /></span>
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br /></span></div>
<div>Note: On Linux, using ipp with the gcc 4.2.1 tools works. So, the incompatibilty probably lies within the OS specific object format (elf vs. Mach-O).</div>
<div><br /></div>
</div> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Mon, 07 Sep 2009 23:53:28 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="width: 100%; margin-top: 5px;">
<div style="margin-left:2px;margin-right:2px;">Quoting - <a href="/en-us/profile/441508">oku</a></div>
<div style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"><em> It's not a Mac OS X version issue, but a gcc version issue. The link string looks the same. Using the gcc 4.0 linker, it works, using gcc 4.2.1, it doesn't. Maybe, you can reproduce it on Mac OS X 10.5 as well, by setting CC=gcc-4.2 in the makefile (or Xcode project or whatever you use). The only Mac OS X difference is, on 10.6, gcc 4.2.1 is the default and /usr/bin/gcc links to /usr/bin/gcc-4.2 instead of /usr/bin/gcc-4.0.
<div><br /></div>
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;">Maybe there is an incompatibility with the .o and .a object formats between the bin utils of the two gcc versions. I think, Intel could just recompile and relink the libraries with the newer tools and distribute those, too. This could be done, when finally updating ipp to 6.x (!) for the Mac OS X platform, since I don't think the money we payed is old and incompatible with current goods...<br /></span>
<div><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><br /></span></div>
<div>Note: On Linux, using ipp with the gcc 4.2.1 tools works. So, the incompatibilty probably lies within the OS specific object format (elf vs. Mach-O).</div>
<div><br /></div>
</div>
</em></div>
</div>
</div>
<br />Hello,<br /><br />I compiled a simple test on 64-bit Mac OS X 10.6 and doesn't obtain any issues. You may see the version of compiler I used and my linking line below:<br /><br />bash-3.2# gcc --version<br />i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)<br />Copyright (C) 2007 Free Software Foundation, Inc.<br />This is free software; see the source for copying conditions.  There is NO<br />warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br /><br />bash-3.2# gcc -o test_em64t_static test2.c -I/Library/Frameworks/Intel_IPP.framework/Versions/5.3.1.056/em64t/include -L/Library/Frameworks/Intel_IPP.framework/Versions/5.3.1.056/em64t/lib -lippiemerged -lippimerged -lippcore<br /><br />Probably it will helps you. If not, could you please provide exact link line you use?<br /><br />Thanks,<br />Art<br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Tue, 08 Sep 2009 06:23:10 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="width: 100%; margin-top: 5px;">
<div style="margin-left:2px;margin-right:2px;">Quoting - <a href="/en-us/profile/438571">Artem Vorobiev (Intel)</a></div>
<div style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"><em>
<div style="margin:0px;"></div>
<br />Hello,<br /><br />I compiled a simple test on 64-bit Mac OS X 10.6 and doesn't obtain any issues. You may see the version of compiler I used and my linking line below:<br /><br />bash-3.2# gcc --version<br />i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)<br />Copyright (C) 2007 Free Software Foundation, Inc.<br />This is free software; see the source for copying conditions.  There is NO<br />warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br /><br />bash-3.2# gcc -o test_em64t_static test2.c -I/Library/Frameworks/Intel_IPP.framework/Versions/5.3.1.056/em64t/include -L/Library/Frameworks/Intel_IPP.framework/Versions/5.3.1.056/em64t/lib -lippiemerged -lippimerged -lippcore<br /><br />Probably it will helps you. If not, could you please provide exact link line you use?<br /><br />Thanks,<br />Art<br /></em></div>
</div>
</div>
<br />
<div>Art,</div>
<div><br /></div>
<div>thank you for trying, this is good news! I tried a simple sample for myself (just called ippiGetLibVersion()) and it worked as well!</div>
<div><br /></div>
<div>Reproducing the exact situation I had last week, is a rather lengthy process (includes building Qt from the sources), and I don't have enough time left right now, so I will do it first thing tomorrow morning.</div>
<div><br /></div>
<div>Thanks again,</div>
<div>oku</div>
<div><br /></div> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Tue, 08 Sep 2009 08:37:36 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="width: 100%; margin-top: 5px;">
<div style="margin-left:2px;margin-right:2px;">Aha! Calling an actual image function shows the error:</div>
<div style="margin-left:2px;margin-right:2px;"><br /></div>
<div style="margin-left:2px;margin-right:2px;">I used this test program:</div>
<div style="margin-left:2px;margin-right:2px;"><br /></div>
<blockquote><span style="font-family: Monaco, sans-serif; font-size: 10px; color: #5e087c;">#include <span style="color: #623604;">&lt;ippi.h&gt;</span></span></blockquote>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">int</span> main (<span style="color: #1e5389;">int</span> argc, <span style="color: #1e5389;">char</span> **argv)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">{</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">const</span> IppLibraryVersion* version = ippiGetLibVersion();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">const</span> Ipp8u* pSrc = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span>IppiSize srcSize = {<span style="color: #3c11ff;">0</span>, <span style="color: #3c11ff;">0</span>};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">int</span> srcStep = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span>IppiRect srcROI = {<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span>Ipp8u* pDst = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">int</span> dstStep = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span>IppiSize dstRoiSize = {<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">double</span> xFactor = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">double</span> yFactor = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #1e5389;">int</span> interpolation = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px;"><span style="white-space: pre;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="white-space: pre;"> </span>IppStatus status = ippiResize_8u_C3R (pSrc, srcSize, srcStep, srcROI, pDst, dstStep, dstRoiSize, xFactor, yFactor, interpolation);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;"><span style="white-space: pre;"> </span></span>return<span style="color: #000000;"> </span><span style="color: #3c11ff;">0</span><span style="color: #000000;">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;">}</span></p>
</blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;"><br /></span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;">...and compiled and linked it using this line:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;"><br /></span></p>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"> </p>
<span style="color: #000000;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">gcc-4.2 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippcore -o ippTest</p>
</span>
<p> </p>
</blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="font-family: Monaco, sans-serif;">which led to:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"> </p>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">ld: in /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib//libippimerged.a(piresnn_split_y8_ownResize16plN.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">collect2: ld returned 1 exit status</p>
<div><span style="font-family: Monaco, sans-serif; color: #1e5389;"><br /></span></div>
</blockquote>
</div>
</div> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Tue, 08 Sep 2009 08:52:45 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="margin-top: 5px; width: 100%;">
<div style="margin-left:2px;margin-right:2px;">Quoting - <a href="/en-us/profile/441508">oku</a></div>
<div style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"><em>
<div style="margin:0px;">
<div id="quote_reply" style="margin-top: 5px; width: 100%;">
<div style="margin-left:2px;margin-right:2px;">Aha! Calling an actual image function shows the error:</div>
<div style="margin-left:2px;margin-right:2px;"><br /></div>
<div style="margin-left:2px;margin-right:2px;">I used this test program:</div>
<div style="margin-left:2px;margin-right:2px;"><br /></div>
<blockquote><span style="font-family: Monaco, sans-serif; font-size: 10px; color: #5e087c;">#include <span style="color: #623604;">&lt;ippi.h&gt;</span></span></blockquote>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">int</span> main (<span style="color: #1e5389;">int</span> argc, <span style="color: #1e5389;">char</span> **argv)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">{</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">const</span> IppLibraryVersion* version = ippiGetLibVersion();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">const</span> Ipp8u* pSrc = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">IppiSize srcSize = {<span style="color: #3c11ff;">0</span>, <span style="color: #3c11ff;">0</span>};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">int</span> srcStep = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">IppiRect srcROI = {<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">Ipp8u* pDst = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">int</span> dstStep = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">IppiSize dstRoiSize = {<span style="color: #3c11ff;">0</span>,<span style="color: #3c11ff;">0</span>};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">double</span> xFactor = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">double</span> yFactor = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"><span style="color: #1e5389;">int</span> interpolation = <span style="color: #3c11ff;">0</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;">IppStatus status = ippiResize_8u_C3R (pSrc, srcSize, srcStep, srcROI, pDst, dstStep, dstRoiSize, xFactor, yFactor, interpolation);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">return<span style="color: #000000;"> </span><span style="color: #3c11ff;">0</span><span style="color: #000000;">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;">}</span></p>
</blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;"><br /></span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;">...and compiled and linked it using this line:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="color: #000000;"><br /></span></p>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"> </p>
<span style="color: #000000;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">gcc-4.2 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippcore -o ippTest</p>
</span>
<p> </p>
</blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"><span style="font-family: Monaco, sans-serif;">which led to:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;"> </p>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">ld: in /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib//libippimerged.a(piresnn_split_y8_ownResize16plN.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #1e5389;">collect2: ld returned 1 exit status</p>
<div><span style="font-family: Monaco, sans-serif; color: #1e5389;"><br /></span></div>
</blockquote>
</div>
</div>
</em></div>
</div>
</div>
<br />Hello,<br /><br />I attached test case with makefile to this post. I built and run this example successfully. Could you please build it on your side?<br /><br />Thanks,<br />Art<br /><br />P.S. To unpack this archive please invoke the next command:<br /><br />tar xzvf ipptest.tar.gz<br /><br />It will create directory ipptest with makefile and test2.c files.<br /><br /> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Wed, 09 Sep 2009 05:40:51 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
    <item>
      <title>Re: link error with IPP 5.3, gcc 4.2.1, x86_64, MacOSX 10.6</title>
      <description><![CDATA[ <div style="margin:0px;">
<div id="quote_reply" style="width: 100%; margin-top: 5px;">
<div style="margin-left:2px;margin-right:2px;">Quoting - <a href="/en-us/profile/438571">Artem Vorobiev (Intel)</a></div>
<div style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"><em>I attached test case with makefile to this post. I built and run this example successfully. Could you please build it on your side?<span style="font-style: normal;"><em><br /></em></span></em></div>
</div>
</div>
<div><br /></div>
<div>Your sample works. The output is:</div>
<div><br /></div>
<blockquote>
<div>
<div>ippiSwapChannels_8u_C3R PASSED</div>
<div>SRC</div>
<div>255   0   0   255   0   0   255   0   0   255   0   0</div>
<div>0   255   0   0   255   0   0   255   0   0   255   0</div>
<div>0   0   255   0   0   255   0   0   255   0   0   255</div>
<div><br /></div>
<div><span style="white-space: pre;"> </span> DST</div>
<div>0   0   255   0   0   255   0   0   255   0   0   255</div>
<div>0   255   0   0   255   0   0   255   0   0   255   0</div>
<div>255   0   0   255   0   0   255   0   0   255   0   0</div>
</div>
</blockquote>
<div><br /></div>
<div>This is interesting. There are functions which work, and some which don't? Did you in turn try my sample as well? The Resize call is one of those we actually use in the project, so that really matters.</div>
<div><br /></div> ]]></description>
      <link>http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</link>
      <pubDate>Wed, 09 Sep 2009 06:24:57 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/68104/</guid>
      <category>ISN General</category>
    </item>
  </channel></rss>