Troubleshooting: Building an ISR (Windows Embedded CE 6.0)
1/6/2010
Description
The linker might report the following error while building an installable ISR DLL or other kernell DLLs, when Coredll cannot call specific APIs:
error LNK2019: unresolved external symbol __imp___rt_udiv referenced in function
This error is due to importing an integer division operation that Coredll normally exports.
Resolution
In the Sources file for the DLL that you are building, set the NOMIPS16CODE variable.
NOMIPS16CODE = 1
The NOMIPS16CODE variable enables the /QRimplicit-import- compiler option, which prevents importing external functions. It has nothing to do with the MIPS processor.