<?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: Undefined Reference Error in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982982#M21494</link>
    <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;I'm sorry for delay, was too busy last days:(&lt;/P&gt;
&lt;P&gt;I did not realized you are use EM64T based system.That's correct, we are use different prefixes(postfixes) to distinguish libraries for different platfroms. They are obvious though, for example&lt;/P&gt;
&lt;P&gt;1. Nothing for IA32 platform, so name of dispatcher shared library for ippIP will be libippi.so&lt;BR /&gt;2. em64t postfix for EM64T platform, so the same library will have name libippiem64t.so&lt;BR /&gt;3. 64 for Itanium. In this case naem of the same library will be libippi64.so&lt;/P&gt;
&lt;P&gt;Did you took a look on existing IPP samples? It is easier to look on existing Makefiles to see what might be wrong in way you are doing.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 07 Oct 2005 22:53:04 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2005-10-07T22:53:04Z</dc:date>
    <item>
      <title>Undefined Reference Error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982977#M21489</link>
      <description>I have installed the Intel IPP library and its installation path is:&lt;BR /&gt;/opt/intel/ipp41/em64t/&lt;BR /&gt;&lt;BR /&gt;I have a function addRunLat.cpp that uses some of he functions in the library. However when I get the following error on doing a make operation -&lt;BR /&gt;&lt;BR /&gt;g++ findCorrsForImg.cpp -c&lt;BR /&gt;g++ getFeatForCorr.cpp -c&lt;BR /&gt;g++ main.o readData.o frameLoc.o addRunLat.o registerImage.o findCorrsForImg.o getFeatForCorr.o -lm -o main&lt;BR /&gt;addRunLat.o(.text+0x393): In function `addRunLat(frameLoc*, int, int, int, tFormMatrix*, int, int)':&lt;BR /&gt;: undefined reference to `ippiGetAffineQuad'&lt;BR /&gt;addRunLat.o(.text+0x594): In function `addRunLat(frameLoc*, int, int, int, tFormMatrix*, int, int)':&lt;BR /&gt;: undefined reference to `ippmInvert_m_32f_3x3'&lt;BR /&gt;addRunLat.o(.text+0x5b4): In function `addRunLat(frameLoc*, int, int, int, tFormMatrix*, int, int)':&lt;BR /&gt;: undefined reference to `ippmInvert_m_32f_3x3'&lt;BR /&gt;addRunLat.o(.text+0x5fd): In function `addRunLat(frameLoc*, int, int, int, tFormMatrix*, int, int)':&lt;BR /&gt;: undefined reference to `ippmMul_mm_32f_3x3'&lt;BR /&gt;addRunLat.o(.text+0x62c): In function `addRunLat(frameLoc*, int, int, int, tFormMatrix*, int, int)':&lt;BR /&gt;: undefined reference to `ippmMul_mm_32f_3x3'&lt;BR /&gt;addRunLat.o(.text+0x742): In function `addRunLat(frameLoc*, int, int, int, tFormMatrix*, int, int)':&lt;BR /&gt;: undefined reference to `ippiGetAffineQuad'&lt;BR /&gt;registerImage.o(.text+0xbb): In function `registerImage(Image*, frameLoc*, int)':&lt;BR /&gt;: undefined reference to `addRunLat(frameLoc*, int, int, tFormMatrix*, int, int)'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make: *** [main] Error 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The exact line in my Makefile for addRunLat is:&lt;BR /&gt;addRunLat.o:addRunLat.cpp classdec.h&lt;BR /&gt;        g++ -I/opt/intel/ipp41/em64t/include -L/opt/intel/ipp41/em64t/lib -l addRunLat.cpp -c&lt;BR /&gt;&lt;BR /&gt;I need to get this issue resolved as soon as possible...please help me out. this is the first time I'm working with the Intel IPP libraries.</description>
      <pubDate>Tue, 02 Aug 2005 02:53:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982977#M21489</guid>
      <dc:creator>sudarshan_gopinath</dc:creator>
      <dc:date>2005-08-02T02:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined Reference Error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982978#M21490</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;seems you did not specified which IPP libraries to link. As I can see you only specified path where linked should look for them.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Aug 2005 23:39:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982978#M21490</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-08-12T23:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined Reference Error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982979#M21491</link>
      <description>Hello vdudnik!!&lt;BR /&gt;&lt;BR /&gt;How do I do it?? I am currently using "ippmMul_mm_32f_3x3" function which is located in ippm.h header file. Did u mean I have to specify the file name in the Makefile as below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;addRunLat.o:addRunLat.cpp classdec.h&lt;BR /&gt;g++ -I/opt/intel/ipp41/em64t/include -L/opt/intel/ipp41/em64t/lib/ippm.h -l addRunLat.cpp -c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This didn't solve the error. Is that allowed? Kindly bare with me if this is a trivial question. I am new to both Intel IPPs and C++, and Makefiles too. &lt;BR /&gt;&lt;BR /&gt;And what do I have to mention in the Makefile rule for main:&lt;BR /&gt;&lt;BR /&gt;main:main.o readData.o frameLoc.o addRunLat.o copyPartial.o maskFFT.o registerImage.o findCorrsForImg.o getFeatForCorr.o&lt;BR /&gt;	g++ main.o copyPartial.o maskFFT.o readData.o frameLoc.o addRunLat.o -lm -lfftw3 -L/opt/intel/ipp41/em64t/lib registerImage.o findCorrsForImg.o getFeatForCorr.o -o main&lt;BR /&gt;&lt;BR /&gt;would the above lines suffice? can you suggest some tutorials on these topics.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;P.S: Sudarshan and I are working on the same project. &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Rajesh</description>
      <pubDate>Tue, 13 Sep 2005 10:30:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982979#M21491</guid>
      <dc:creator>rchatrat</dc:creator>
      <dc:date>2005-09-13T10:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined Reference Error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982980#M21492</link>
      <description>&lt;DIV&gt;Hi Rajesh,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;you are talking about specifying path where compiler will look for C/C++ header files. But you also need to specify linker which libraries to link iinto your application. Keeping in mind that order of libraries is imprtant on Linux you need to add something like that: -lippm -lipps -lippcore.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;BTW, you can downalod any IPPsample for Linux to look how Makefile should looks like.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Sep 2005 23:28:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982980#M21492</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-09-13T23:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined Reference Error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982981#M21493</link>
      <description>&lt;DIV&gt;Hello vdudnik,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks for the response.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I tried with your suggestion, but the error persists. I tried with the following rules:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;main.o readData.o frameLoc.o addRunLat.o registerImage.o findCorrsForImg.o getFeatForCorr.o -lm -o main -L/opt/intel/ipp41/em64t/lib -lippm -lippi -lippcore&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;main.o readData.o frameLoc.o addRunLat.o registerImage.o findCorrsForImg.o getFeatForCorr.o -lm -o main -l/opt/intel/ipp41/em64t/lib -lippm -lippi -lippcore&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;then i checked for these libraries at the path mentioned and found these libraries instead.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;libippmemergedem64t.a&lt;/DIV&gt;
&lt;DIV&gt;libippmergedem64t.a&lt;/DIV&gt;
&lt;DIV&gt;libippacemergedem64t.a&lt;/DIV&gt;
&lt;DIV&gt;libippacmergedem64t.a&lt;/DIV&gt;
&lt;DIV&gt;........&lt;/DIV&gt;
&lt;DIV&gt;.....&lt;/DIV&gt;
&lt;DIV&gt;I then added modified the rule including all the libraries in the directory as&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;main.o readData.o frameLoc.o addRunLat.o registerImage.o findCorrsForImg.o getFeatForCorr.o -lm -o main -L/opt/intel/ipp41/em64t/lib -lippmemergedem64t -lippmergedem64t -lippacemergedem64t ......... ....&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I found some libraries in the sharedlib directory and then tried them too, but in vain....&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;thanks in advance&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;regards,&lt;/DIV&gt;
&lt;DIV&gt;rajesh&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Sep 2005 20:11:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982981#M21493</guid>
      <dc:creator>rchatrat</dc:creator>
      <dc:date>2005-09-26T20:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined Reference Error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982982#M21494</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;I'm sorry for delay, was too busy last days:(&lt;/P&gt;
&lt;P&gt;I did not realized you are use EM64T based system.That's correct, we are use different prefixes(postfixes) to distinguish libraries for different platfroms. They are obvious though, for example&lt;/P&gt;
&lt;P&gt;1. Nothing for IA32 platform, so name of dispatcher shared library for ippIP will be libippi.so&lt;BR /&gt;2. em64t postfix for EM64T platform, so the same library will have name libippiem64t.so&lt;BR /&gt;3. 64 for Itanium. In this case naem of the same library will be libippi64.so&lt;/P&gt;
&lt;P&gt;Did you took a look on existing IPP samples? It is easier to look on existing Makefiles to see what might be wrong in way you are doing.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Oct 2005 22:53:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Undefined-Reference-Error/m-p/982982#M21494</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-10-07T22:53:04Z</dc:date>
    </item>
  </channel>
</rss>

