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

linker error on linking "ippiCrossCorrValid_Norm_8u_C1RSfs"

johannes_ruisz
Beginner
875 Views
Hi,
I'm using IPP 5.2 with x-compiler gcc332 (arm-linux-g++) to create software running on an PXA255.
It works really fine, but on using the function "ippiCrossCorrValid_Norm_8u_C1RSfs" I get the linker error messages from ld :"undefined reference to 'ippConstantOfINF_32f'" and "undefined reference to 'ippConstantOfNAN_32f'".
These errors wer caused by the functions "ippsDiv_32f" and "ippsSqrt_32f_I" (obviously called by ippiCrossCorrValid_Norm_8u_C1RSfs) in libippss2.

I link all libraries; I tried also the "*x.a" versions, but it brought no change.

Even though the PXA255 is not explicitly supported, IPP5.2 works fine - I had no problems so far; but the crosscorr-function doesnt work.

Anyone any ideas?

Thanx a lot
Johannes
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
875 Views

Hi Johannes,

the order in which you specify libraries for linker is important under linux. The ippConstantOfNAN_32f is defined in ippcore,so ippcoreshould be specified as a last library (if I remember that correctly). Please check the order of libs in your linker settings and try to change that.

Regards,
Vladimir

0 Kudos
johannes_ruisz
Beginner
875 Views
Hi Vladimir,

thanx a lot; it was really just to put the ippcore lib to the end;
- life can be that simple :-)

thx
Johannes
0 Kudos
Reply