Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Peng_L_1
Beginner
109 Views

link error: libipps.a, IPP 8.2

After migrating to Mac OSX 10.10,  because composer_xe_2013 doesn't support osx 10.10. We also  update intel compiler to composer_xe_2015.

But when link  libipps.a with our project using clang+ and osx sdk 10.10,  we met this link error;  Could you take a look what problem it might be? since it works with  previous intel compiler.

Undefined symbols for architecture i386:
  "_g9_ippsCos_32f_A24", referenced from:
      _g9_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_g9---ipps_initTabTwdBase_32f.o)
  "_g9_ippsSin_32f_A24", referenced from:
      _g9_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_g9---ipps_initTabTwdBase_32f.o)
  "_p8_ippsCos_32f_A24", referenced from:
      _p8_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_p8---ipps_initTabTwdBase_32f.o)
  "_p8_ippsSin_32f_A24", referenced from:
      _p8_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_p8---ipps_initTabTwdBase_32f.o)
  "_px_ippsCos_32f_A24", referenced from:
      _px_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_px---ipps_initTabTwdBase_32f.o)
  "_px_ippsSin_32f_A24", referenced from:
      _px_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_px---ipps_initTabTwdBase_32f.o)
  "_v8_ippsCos_32f_A24", referenced from:
      _v8_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_v8---ipps_initTabTwdBase_32f.o)
  "_v8_ippsSin_32f_A24", referenced from:
      _v8_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_v8---ipps_initTabTwdBase_32f.o)
  "_w7_ippsCos_32f_A24", referenced from:
      _w7_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_w7---ipps_initTabTwdBase_32f.o)
  "_w7_ippsSin_32f_A24", referenced from:
      _w7_ipps_initTabTwdBase_32f in libipps.a(psfftsblkcn_w7---ipps_initTabTwdBase_32f.o)
ld: symbol(s) not found for architecture i386

my IPP version info:

Package ID:  m_ipp_8.2.1.108 m_ccompxe_2015.1.108

This package contains:
    Intel(R) Integrated Performance Primitives 8.2 Update 1 for OS X*

 

 

 

 

 

 

0 Kudos
4 Replies
Sergey_K_Intel
Employee
109 Views

Hi,

Please, add "-lippvm" (link to libippvm.a) to the linker command line after "-lipps".

Peng_L_1
Beginner
109 Views

Thanks Sergey,

I added the link to libippvm.a, and the issue is resolved now.

so there are some changes in libipps.a and lipippvm.a in the new version IPP.I

Is there some document we can refer, so that we know which libs we should use and what the link order is?

Thanks

 

Chao_Y_Intel
Employee
109 Views

Hello,
Here is the article providing the domain dependency, and help to know where library are needed for the application:

https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-library-...

Regards,
Chao

Peng_L_1
Beginner
109 Views

Thanks very much

Reply