<?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 Linking error with IPP 7.0 on Ubuntu 11.10: undefined reference to `pthread_atfork' (have tried everything out there) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789722#M2296</link>
    <description>My current system is:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Linux Ubuntu 11.10&lt;BR /&gt;GCC 4.6.1&lt;BR /&gt;IPP 7.0 (Update 1), Linux 32-bit&lt;BR /&gt;&lt;BR /&gt;Here is my code "hellopipp.cpp":&lt;BR /&gt;&lt;BR /&gt;#include "ipp.h"&lt;BR /&gt;#include "stdio.h"&lt;BR /&gt;int main(int argc, char* argv[])&lt;BR /&gt;{&lt;BR /&gt; ippInit();&lt;BR /&gt; const IppLibraryVersion *lib = ippsGetLibVersion();&lt;BR /&gt; printf("%s %s\\n",lib-&amp;gt;Name, lib-&amp;gt;Version);&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;I tried to compile the code as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;IPPROOT=/opt/intel/ipp&lt;BR /&gt;LD_LIBRARY_PATH=/opt/intel/lib/ia32:/opt/intel/ipp/lib/ia32:/usr/lib:/usr/local/lib:usr/lib/i386-linux-gnu&lt;BR /&gt;export IPPROOT&lt;BR /&gt;export LD_LIBRARY_PATH&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;With any of the following commands:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -lipps -lippcore -pthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -lipps -lippcore -omp -pthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -lipps -lippcore -lpthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -L/opt/intel/lib/ia32 -lippi -lipps -lippcore -liomp5 -lpthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -L/opt/intel/lib/ia32 -lippi -lipps -lippcore -lgomp -lpthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -L/opt/intel/lib/ia32 -lippi -lipps -lippcore -lgomp -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;I got the same result:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;/opt/intel/lib/ia32/libiomp5.so: undefined reference to `pthread_atfork'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;I made sure that &lt;I&gt;libiomp5.so&lt;/I&gt; and &lt;I&gt;libiomp5.a&lt;/I&gt; are there in the directory &lt;I&gt;/opt/intel/lib/ia32/&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;I also checked to see if I had libpthread installed, and it looks like I have it:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;sudo find -name *libpthread*&lt;BR /&gt;&lt;BR /&gt;./usr/lib/i386-linux-gnu/libpthread.so&lt;BR /&gt;./usr/lib/i386-linux-gnu/libpthread_nonshared.a&lt;BR /&gt;./usr/lib/i386-linux-gnu/libpthread.a&lt;BR /&gt;./usr/lib/i386-linux-gnu/xen/libpthread_nonshared.a&lt;BR /&gt;./usr/lib/i386-linux-gnu/xen/libpthread.a&lt;BR /&gt;./lib/i386-linux-gnu/libpthread.so.0&lt;BR /&gt;./lib/i386-linux-gnu/libpthread-2.13.so&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestion will be greatly appreciated. Thanks!&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 16 Mar 2012 13:31:45 GMT</pubDate>
    <dc:creator>hoangnguyen79</dc:creator>
    <dc:date>2012-03-16T13:31:45Z</dc:date>
    <item>
      <title>Linking error with IPP 7.0 on Ubuntu 11.10: undefined reference to `pthread_atfork' (have tried everything out there)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789722#M2296</link>
      <description>My current system is:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;Linux Ubuntu 11.10&lt;BR /&gt;GCC 4.6.1&lt;BR /&gt;IPP 7.0 (Update 1), Linux 32-bit&lt;BR /&gt;&lt;BR /&gt;Here is my code "hellopipp.cpp":&lt;BR /&gt;&lt;BR /&gt;#include "ipp.h"&lt;BR /&gt;#include "stdio.h"&lt;BR /&gt;int main(int argc, char* argv[])&lt;BR /&gt;{&lt;BR /&gt; ippInit();&lt;BR /&gt; const IppLibraryVersion *lib = ippsGetLibVersion();&lt;BR /&gt; printf("%s %s\\n",lib-&amp;gt;Name, lib-&amp;gt;Version);&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;I tried to compile the code as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;IPPROOT=/opt/intel/ipp&lt;BR /&gt;LD_LIBRARY_PATH=/opt/intel/lib/ia32:/opt/intel/ipp/lib/ia32:/usr/lib:/usr/local/lib:usr/lib/i386-linux-gnu&lt;BR /&gt;export IPPROOT&lt;BR /&gt;export LD_LIBRARY_PATH&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;With any of the following commands:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -lipps -lippcore -pthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -lipps -lippcore -omp -pthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -lipps -lippcore -lpthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -L/opt/intel/lib/ia32 -lippi -lipps -lippcore -liomp5 -lpthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -L/opt/intel/lib/ia32 -lippi -lipps -lippcore -lgomp -lpthread&lt;BR /&gt;&lt;BR /&gt;g++ -o helloipp helloipp.cpp -I$IPPROOT/include -L$IPPROOT/lib/ia32 -L/opt/intel/lib/ia32 -lippi -lipps -lippcore -lgomp -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;I got the same result:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;/opt/intel/lib/ia32/libiomp5.so: undefined reference to `pthread_atfork'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;I made sure that &lt;I&gt;libiomp5.so&lt;/I&gt; and &lt;I&gt;libiomp5.a&lt;/I&gt; are there in the directory &lt;I&gt;/opt/intel/lib/ia32/&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;I also checked to see if I had libpthread installed, and it looks like I have it:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;sudo find -name *libpthread*&lt;BR /&gt;&lt;BR /&gt;./usr/lib/i386-linux-gnu/libpthread.so&lt;BR /&gt;./usr/lib/i386-linux-gnu/libpthread_nonshared.a&lt;BR /&gt;./usr/lib/i386-linux-gnu/libpthread.a&lt;BR /&gt;./usr/lib/i386-linux-gnu/xen/libpthread_nonshared.a&lt;BR /&gt;./usr/lib/i386-linux-gnu/xen/libpthread.a&lt;BR /&gt;./lib/i386-linux-gnu/libpthread.so.0&lt;BR /&gt;./lib/i386-linux-gnu/libpthread-2.13.so&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestion will be greatly appreciated. Thanks!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2012 13:31:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789722#M2296</guid>
      <dc:creator>hoangnguyen79</dc:creator>
      <dc:date>2012-03-16T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Linking error with IPP 7.0 on Ubuntu 11.10: undefined reference</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789723#M2297</link>
      <description>Do you add path to the directory wherelibiomp5 is located? for example for 32 bit, the default directory is/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/ia32.&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Mar 2012 16:06:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789723#M2297</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-03-17T16:06:35Z</dc:date>
    </item>
    <item>
      <title>Linking error with IPP 7.0 on Ubuntu 11.10: undefined reference</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789724#M2298</link>
      <description>Thanks Gennady for replying. &lt;BR /&gt;&lt;BR /&gt;FYI, here is what happened. After I upgraded from IPP 7.0 update 1 to IPP 7.0 update 6 (the latest one), &lt;B&gt;without doing anything else, &lt;/B&gt;the problem dissapeared. All my IPP codes now can be compiled smoothly. All I did was to install the new IPP, and&lt;B&gt; nothing else&lt;/B&gt;.&lt;BR /&gt;&lt;BR /&gt;I suspect this is a bug from IPP 7.0 update 1 that has something to do with the incompatibility between libthread in Linux and libiomp5 in IPP?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 19 Mar 2012 05:42:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789724#M2298</guid>
      <dc:creator>hoangnguyen79</dc:creator>
      <dc:date>2012-03-19T05:42:08Z</dc:date>
    </item>
    <item>
      <title>Linking error with IPP 7.0 on Ubuntu 11.10: undefined reference</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789725#M2299</link>
      <description>no, I don't think so. You can easy to check it by replacing libiomp from 7.0.6 by 7.0.1.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Mar 2012 07:25:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-error-with-IPP-7-0-on-Ubuntu-11-10-undefined-reference/m-p/789725#M2299</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-03-19T07:25:47Z</dc:date>
    </item>
  </channel>
</rss>

