Troubleshooting: Building an ISR (Windows CE 5.0)
Description
While building an installable ISR DLL or other kernel DLLs that cannot link against Coredll because the DLL needs to load into the process space of the kernel, the linker may report the following error:
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.
See Also
Linker Tools Error LNK2019 | /QRimplicit-import- Disable Importing of Helpers
Send Feedback on this topic to the authors