Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Eran_L_
Beginner
51 Views

Linking error (to _sdot_direct ) using custom mkl .

Hi,

When building a product using a custom dll of MKL (version - update 4 2016) on windows.I get the following error-  'error LNK2019: unresolved external symbol _sdot_direct referenced in function _mkl_dc_sdot_convert '

Do you know which function(s) I need to add to my function file in order to eliminate this error?

Thanks

Eran

 

 

0 Kudos
3 Replies
Jing_X_Intel
Employee
51 Views

Could you share the following two to us, please?

  1. the unresolved external symbol list, when you compile your application without linking to MKL libraries.
  2. the MKL function name list file for creating your custom library.
Zhen_Z_Intel
Employee
51 Views

Dear customer,

The symbol "sdot_direct" is defined in interface library (both lp64 & ilp64, static & dynamic). If your architecture is 64 bits, the lp64 will be assumed to link for default even you forget to specify. But for 32 architecture, might be called convention by microsoft lib. Could you please tell me your architecture? And another idea, you could use some ldd tools (dependency walker) watching the dependencies of your custom dll. You will easily find if those required dll/lib has been depended on. Thanks.

Best regards,
Fiona

Eran_L_
Beginner
51 Views

Thanks for your quick replies.

actually it was easier than I thought, I just added sdot_direct to my function list and it solved the issue. 

Thanks again

 

Reply