Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6814 Discussions

IPP 5.1 Linux static linking unresolved reference

peter77
Beginner
681 Views
Hi,

I'am working with IPP Version 5.1 under Windows and Linux and everthing works fine static/dynamic linking.

Now I used a function called
ippsGetCodebook_32f

and only under Linux with static linking I get a lot of errors like the following:

../../../packages/ipp/5.1/lnx_gcc/lib/libippsrmerged.a(pscdbk32.o)(.text+0x7d):
In function `px_ippsGetCodebook_32f':
: undefined reference to `px_ippsCopy_32f'
../../../packages/ipp/5.1/lnx_gcc/lib/libippsrmerged.a(pscdbk32.o)(.text+0x231):
In function `OwnCreate1stCluster_32f':
: undefined reference to `px_ippsMalloc_8u'
../../../packages/ipp/5.1/lnx_gcc/lib/libippsrmerged.a(pscdbk32.o)(.text+0x258):
In function `OwnCreate1stCluster_32f':
...

With windows everthing works fine and with linux and dynamic linking also. Is there maybe a known problem that this function get lost while creating the static libs ?

Best regards,
Peter


0 Kudos
1 Reply
Vladimir_Dudnik
Employee
681 Views

This function (ippsGetCodebook_32f)call other IPP functionsinternally, for example ippsCopy_32f' and ippsMalloc_8u. Please check if you link ipps library which contains these functions and make sure that correct order of libraries is used in your linker call

Vladimir

0 Kudos
Reply