- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use IPP eMVC++, I have below error, which wasn't in Microsoft compiler.
error LNK2001: unresolved external symbol __divsi3
Is there someone who can solve this?
Thank you.
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
could you provide more details? What you are tried to compile?
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made a dll which hooks data from an audio driver in PXA250 machine. At first, I did everything using eMVC++4.2 and currenty tried to compile it and compare it with MS compiler. As soon as I run Intel compiler for eMVC++ 4.2 I had this message and no more advance.
I think it is more like intel compiler problem rather than IPP.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can search for this symbol in libraries which comes with Intel compiler, probably you need to link some additional libraries when you use Intel compiler.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Vladimir.
I tried to include in my project which was explained as in their help file. Below is the code from the IPP C++ compiler help file. But still have same problem. I have no idea why it happened.
#include
int main(void)
{
long long x = -7, y = -2;
printf("The value of integer %ld / %ld is %ld ", x, y, __divsi3(x, y));
return 0;
}
int main(void)
{
long long x = -7, y = -2;
printf("The value of integer %ld / %ld is %ld ", x, y, __divsi3(x, y));
return 0;
}
Message Edited by ysyoon@hotmail.com on 03-30-2005 08:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
no, I think you need to link you application with some library which comes with Intel compiler, something like libm.lib or so one. You can search _divsi3 symbol in LIB folder where compiler installed to find in which lib it is defined.
Regards,
Vladimir
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page