Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Linker error when building 2.4.7 with IPP 8.0

I'm trying to build new OpenCV 2.4.7 with IPP.
If I use old IPP 7.1update1 or uncheck WITH_TBB, it can be build correctly.
But if I upgradde to IPP 8.0 or 8.0update1, it will appear linker error like below:

../../lib/libopencv_core.so.2.4.7: undefined reference to `_intel_fast_memcpy'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_cos4'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sin2'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__intel_ssse3_rep_memcpy'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sincos2'
../../lib/libopencv_core.so.2.4.7: undefined reference to `_intel_fast_memset'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sin4'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__libm_sse2_sincos'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__intel_ssse3_memcpy'

Please help me to correct it, thanks.

Linker error when building 2.4.7 with IPP 8.0

I'm trying to build new OpenCV 2.4.7 with IPP.
If I use old IPP 7.1update1 or uncheck WITH_TBB, WITH_IPP, it can be build correctly.
But if I upgradde to IPP 8.0 or 8.0update1, it will appear linker error like below:

../../lib/libopencv_core.so.2.4.7: undefined reference to `_intel_fast_memcpy'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_cos4'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sin2'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__intel_ssse3_rep_memcpy'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sincos2'
../../lib/libopencv_core.so.2.4.7: undefined reference to `_intel_fast_memset'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sin4'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__libm_sse2_sincos'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__intel_ssse3_memcpy'

Please help me to correct it, thanks.

Linker error when building 2.4.7 with IPP 8.0

I'm trying to build new OpenCV 2.4.7 with IPP.
If I use old IPP 7.1update1 or uncheck WITH_IPP, it can be build correctly.
But if I upgradde to IPP 8.0 or 8.0update1, it will appear linker error like below:

../../lib/libopencv_core.so.2.4.7: undefined reference to `_intel_fast_memcpy'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_cos4'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sin2'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__intel_ssse3_rep_memcpy'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sincos2'
../../lib/libopencv_core.so.2.4.7: undefined reference to `_intel_fast_memset'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__svml_sin4'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__libm_sse2_sincos'
../../lib/libopencv_core.so.2.4.7: undefined reference to `__intel_ssse3_memcpy'

Please help me to correct it, thanks.

Suplement: After I use my correctly built opencv(2.4.7 with IPP 7.1) to build my code. It will appear linker error again, like below:

/usr/bin/ld: cannot find -llibippcore_l.a
/usr/bin/ld: cannot find -llibipps_l.a
/usr/bin/ld: cannot find -llibippi_l.a
/usr/bin/ld: cannot find -llibippcv_l.a
/usr/bin/ld: cannot find -llibippcc_l.a
/usr/bin/ld: cannot find -llibippvm_l.a
/usr/bin/ld: cannot find -ltbb

and these link is come from opencv.pc.
I don't know my link direcctory should be set to /opt/intel/ipp/lib/intel64 or not but I can comfirm the name -llibippcore_l.a is not correct, it should be -lippcore_l.a normally.
The opencv 2.6.1 don't use these linking and can work correctly.