Problem:
Modify the three files related to the interruption, CFW. c, armint. c, oalintr. h. After the three files are compiled, the system prompts that the SD card cannot be compiled. The modified items have nothing to do with the SD card.
Build: [01: 0000001583: progc] Linking F:/wince500/platform/smdk2440/target/armv4i/retail/sdhc_sc2440.dll
Build: [01: 0000001602: errore] sdiocontroller. OBJ: Error lnk2019: unresolved external symbol "public: _ cdecl csdiocontrollerbase: csdiocontrollerbase (struct sdcard_hc_context *)"(?? 0csdiocontrollerbase Qaa @ pausdcard_hc_context @ Z) referenced in
Function "public: _ cdecl csdiocontroller: csdiocontroller (struct sdcard_hc_context *)"(?? 0csdiocontroller Qaa @ pausdcard_hc_context @ Z)
Build: [01: 0000001603: errore] sc2440_sdhcbase.lib (sdhcmain. OBJ): Error lnk2019: unresolved external symbol "public: struct sdcard_hc_context * _ cdecl csdiocontrollerbase: gethostcontext (void) const "(? Gethostcontext @ csdiocontrollerbase @ qbapausdca
Rd_hc_context @ xz) referenced in function sdh_predeinit
Build: [01: 0000001604: errore] F:/wince500/platform/smdk2440/target/armv4i/retail/sdhc_sc2440.dll: Fatal error lnk1120: 2 unresolved externals
Cause of suspicion:
It may be that Yang Chuang's BSP is faulty.
Solution:
If you use bulid and sysgen currunt BSP mode for compilation, an error is still prompted. However, at least the NK file can be generated, downloaded, and debugged, And the debugging is not affected. However, the actual compilation error still persists.