andylao
驱动牛犊
驱动牛犊
  • 注册日期2006-08-17
  • 最后登录2008-10-31
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望2点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2483回复:0

WINCE6.0动态加载驱动问题

楼主#
更多 发布于:2008-10-25 10:17
出现如下错误
BUILD: [00:0000000026:PROGC ] Building LIB Pass in D:\WINCE600\PLATFORM\LPC32XX\src\drivers\GPIO\ directory.
BUILD: [01:0000000036:PROGC ] Linking D:\WINCE600\platform\LPC32XX\lib\ARMV4I\debug\GPIO.lib
BUILD: [01:0000000045:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Close
BUILD: [01:0000000046:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Deinit
BUILD: [01:0000000047:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_IOControl
BUILD: [01:0000000048:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Init
BUILD: [01:0000000049:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Open
BUILD: [01:0000000050:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_PowerDown
BUILD: [01:0000000051:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_PowerUp
BUILD: [01:0000000052:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Read
BUILD: [01:0000000053:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Seek
BUILD: [01:0000000054:ERRORE] GPIO.def : error LNK2001: unresolved external symbol GPI_Write
BUILD: [01:0000000055:ERRORE] D:\WINCE600\platform\LPC32XX\lib\ARMV4I\debug\GPIO.lib : fatal error LNK1120: 10 unresolved externals


以下是我的GPIO.def
LIBRARY GPIO

EXPORTS
GPI_Init
GPI_Deinit
GPI_Open
GPI_Close
GPI_Read
GPI_Write
GPI_Seek
GPI_IOControl
GPI_PowerDown
GPI_PowerUp
说明WINCE6.0,我在DRIVER下建立的是一个动态WCE Dymanic-Link Library 驱动文件,然后单独编译,而D:\WINCE600\platform\LPC32XX\lib\ARMV4I\debug\GPIO.lib下没有 GPIO.lib这个文件,是不是还要设置那呢?
游客

返回顶部