|
各位大侠,我想请教一下
我看到各位高手的文章
[url=http://topic.eeworld.net/u/20081104/14/22bd16ae-0aea-49f2-8cd1-96559f1002ac.html?2080583073][/url]
学习里面把FATFS移植到BSP,但是老出问题
WINCEOEM=1
IMGNODFLTDDK=1
TARGETNAME=fatfsd
TARGETTYPE=DYNLINK
CONDITIONAL_INCLUDES=fakepeg.h pfake.h pcmd.h sys\types.h
INCLUDES= ..
SOURCES=\
..\api.c \
..\buffer.c \
..\cache.c \
..\disk.c \
..\fat.c \
..\file.c \
..\find.c \
..\misc.c \
..\name.c \
..\path.c \
..\stream.c \
..\streamrun.c \
..\volume.c
x86_SOURCES=\
..\x86\chkstk.asm
TARGETDEFNAME=fatfsd
DEFFILE=fatfsd.def
WINCETARGETFILE0=$(_RELEASELIBDIR)\fatfsd.def
TARGETLIBS=$(_PROJECTROOT)\cesysgen\oak\lib\$(_CPUINDPATH)\fsdmgr.lib
这样报了156个错误
报错为:
BUILD: [01:0000000058:ERRORE] api.obj : error LNK2019: unresolved external symbol CloseHandle referenced in function FAT_CloseAllFiles
BUILD: [01:0000000059:ERRORE] buffer.obj : error LNK2001: unresolved external symbol CloseHandle
BUILD: [01:0000000060:ERRORE] file.obj : error LNK2001: unresolved external symbol CloseHandle
BUILD: [01:0000000061:ERRORE] stream.obj : error LNK2001: unresolved external symbol CloseHandle
BUILD: [01:0000000062:ERRORE] api.obj : error LNK2019: unresolved external symbol SetHandleOwner referenced in function FAT_CloseAllFiles
BUILD: [01:0000000063:ERRORE] volume.obj : error LNK2001: unresolved external symbol LeaveCriticalSection
BUILD: [01:0000000064:ERRORE] fat.obj : error LNK2001: unresolved external symbol LeaveCriticalSection
BUILD: [01:0000000065:ERRORE] file.obj : error LNK2001: unresolved external symbol LeaveCriticalSection
BUILD: [01:0000000066:ERRORE] find.obj : error LNK2001: unresolved external symbol LeaveCriticalSection
BUILD: [01:0000000067:ERRORE] stream.obj : error LNK2019: unresolved external symbol LeaveCriticalSection referenced in function CommitStream
BUILD: [01:0000000068:ERRORE] api.obj : error LNK2019: unresolved external symbol LeaveCriticalSection referenced in function FAT_CloseAllFiles
BUILD: [01:0000000069:ERRORE] buffer.obj : error LNK2001: unresolved external symbol LeaveCriticalSection
BUILD: [01:0000000070:ERRORE] cache.obj : error LNK2001: unresolved external symbol LeaveCriticalSection
。。。。
。。。
请各位高手指教一下
拜谢
|
|