<?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: Linking IPP question in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873654#M9253</link>
    <description>&lt;P&gt;No, it's not the reason. I add the following to the up-level application that uses the libg722.a:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LIBS+=/opt/intel/ipp/5.1/ia32/sharedlib/libippcore.so.&lt;/P&gt;
&lt;P&gt;5.1 /misc/ipp_5_1/ipp_sample/speechcoding/bin/ia32/lib/libusc.a &lt;/P&gt;
&lt;P&gt;/opt/intel/ipp/5.1/ia32/sharedlib/libippsc.so.5.1 /opt/intel/ipp/5.1/ia32/sharedlib/libipps.so.5.1 &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;and everything works well. I want to add the IPP functionality exactly to the libg722.a - that means that I want to link the merged IPP libraries (*.a) to avoid using shared libraries. How can I manage to do this?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2007 12:20:47 GMT</pubDate>
    <dc:creator>ligoban</dc:creator>
    <dc:date>2007-04-05T12:20:47Z</dc:date>
    <item>
      <title>Linking IPP question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873651#M9250</link>
      <description>&lt;P&gt;I have a question about linking IPP. I want to create a g722_codec.a to use it later in my application. For this I wrote this &lt;STRONG&gt;makefile &lt;/STRONG&gt;and used it before using the IPP (the whole code was in my C file):&lt;/P&gt;
&lt;P&gt;-----------------------------------------------&lt;/P&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #f5f5dc" face="Courier New" color="#000000" size="2"&gt;CXX=cc&lt;BR /&gt;LIB=libg722.a&lt;BR /&gt;CFLAGS+=-fPIC&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #f5f5dc" face="Courier New" color="#000000" size="2"&gt;ECHO_PREFIX=@&lt;BR /&gt;CMD_PREFIX=@&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #f5f5dc" face="Courier New" color="#000000" size="2"&gt;OBJS=g722_codec.o&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #f5f5dc" face="Courier New" color="#000000" size="2"&gt;all: $(LIB)&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #f5f5dc" face="Courier New" color="#000000" size="2"&gt;$(LIB): $(OBJS)&lt;BR /&gt;$(ECHO_PREFIX) echo " [AR] $^ -&amp;gt; $@"&lt;BR /&gt;$(CMD_PREFIX) $(AR) cr $@ $^&lt;BR /&gt;$(CMD_PREFIX) $(RANLIB) $@&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #f5f5dc" face="Courier New" color="#000000" size="2"&gt;clean:&lt;BR /&gt;rm -f $(LIB) *.o&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;P&gt;------------------------------------------------&lt;/P&gt;
&lt;P&gt;In my C source code I do besides allthe following things:&lt;/P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;
&lt;P&gt;------------------------------------&lt;/P&gt;&lt;/STRONG&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;=== g722_codec.h&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;ADDRESS&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;//Include IPP &lt;BR /&gt;&lt;FONT color="#a52a2a"&gt;#include&lt;/FONT&gt; "/opt/intel/ipp/5.1/ia32/include/ipp.h"&lt;BR /&gt;&lt;FONT color="#a52a2a"&gt;#include&lt;/FONT&gt; "/opt/intel/ipp/5.1/ia32/include/ipps.h"&lt;BR /&gt;&lt;FONT color="#a52a2a"&gt;#include&lt;/FONT&gt; "/opt/intel/ipp/5.1/ia32/include/ippsc.h"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT color="#a52a2a"&gt;#include&lt;/FONT&gt; "/misc/ipp_sample/speech-coding/codec/include/usc.h"&lt;/FONT&gt; &lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;//............&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;P&gt;&lt;STRONG&gt;----------------------------------&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;=== g722_codec.c&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;//.........&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&lt;STRONG&gt;extern&lt;/STRONG&gt; USC_Fxns USC_G722_Fxns; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;//...........&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;g722_encode_init() {&lt;/FONT&gt;&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;USC_FxnsUSC_Gxxx_Fnxs = &amp;amp;USC_G722_Fxns; &lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;//.........&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;}&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;ADDRESS&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New" size="2"&gt;//.......................&lt;/FONT&gt;&lt;/ADDRESS&gt;
&lt;P&gt;--------------------------------------------&lt;/P&gt;
&lt;P&gt;What should I add to my makefile to run my application, using the g722_codec.a, correctly? It is 
not difficult to see that I get &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Undefinedsymbol: &lt;FONT face="Courier New" size="2"&gt;USC_G722_Fxns&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;when I start running my application.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I need to link IPP vocoder functionality exactly to the g722_codec.a.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thank you. (Excuse me forediting the message).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;P.S. Finally we managed to buy the IPP.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2007 16:52:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873651#M9250</guid>
      <dc:creator>ligoban</dc:creator>
      <dc:date>2007-03-29T16:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IPP question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873652#M9251</link>
      <description>Up.</description>
      <pubDate>Fri, 30 Mar 2007 07:04:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873652#M9251</guid>
      <dc:creator>ligoban</dc:creator>
      <dc:date>2007-03-30T07:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IPP question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873653#M9252</link>
      <description>&lt;P&gt;Might be I did not understand you correctly, but it seems you produce with your makefile libg722.a but want to link with libg722_codec.a. That might be a reason of error message.&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2007 10:18:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873653#M9252</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-04-03T10:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IPP question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873654#M9253</link>
      <description>&lt;P&gt;No, it's not the reason. I add the following to the up-level application that uses the libg722.a:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LIBS+=/opt/intel/ipp/5.1/ia32/sharedlib/libippcore.so.&lt;/P&gt;
&lt;P&gt;5.1 /misc/ipp_5_1/ipp_sample/speechcoding/bin/ia32/lib/libusc.a &lt;/P&gt;
&lt;P&gt;/opt/intel/ipp/5.1/ia32/sharedlib/libippsc.so.5.1 /opt/intel/ipp/5.1/ia32/sharedlib/libipps.so.5.1 &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;and everything works well. I want to add the IPP functionality exactly to the libg722.a - that means that I want to link the merged IPP libraries (*.a) to avoid using shared libraries. How can I manage to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2007 12:20:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873654#M9253</guid>
      <dc:creator>ligoban</dc:creator>
      <dc:date>2007-04-05T12:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linking IPP question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873655#M9254</link>
      <description>&lt;P&gt;Please paid attention that Linux linker is single-pass utility, so order in which you specify libraries to link with in command line is important under Linux.&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2007 12:59:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-IPP-question/m-p/873655#M9254</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-04-12T12:59:14Z</dc:date>
    </item>
  </channel>
</rss>

