tylnyys
驱动牛犊
驱动牛犊
  • 注册日期2005-10-31
  • 最后登录2008-06-24
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望3点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
阅读:1280回复:0

PB4.2编译问题

楼主#
更多 发布于:2007-11-13 16:59
刚装的PB4.2,编译开发板自带的WINCE,出现一大罗错误,郁闷,在别人机上却没问题!

e:\wince420\platform\smdk2410\eboot\main.c(57) : error C2059: syntax error : 'type'
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2061: syntax error : identifier 'g_pTOC'
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2513: '/*global*/ ' : no variable declared before '='
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2065: 'PTOC' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2297: '&' : illegal, right operand has type 'unsigned char [512]'
e:\wince420\platform\smdk2410\eboot\main.c(85) : error C2061: syntax error : identifier 'g_pBootCfg'
e:\wince420\platform\smdk2410\eboot\main.c(85) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2146: syntax error : missing ')' before identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2061: syntax error : identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2059: syntax error : ')'
e:\wince420\platform\smdk2410\eboot\main.c(252) : error C2065: 'IMAGE_TYPE_LOADER' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(261) : error C2065: 'IMAGE_TYPE_RAMIMAGE' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(261) : error C2065: 'IMAGE_TYPE_BINFS' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(261) : error C2065: 'IMAGE_TYPE_MXIP' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(266) : error C2065: 'ROM_RAMIMAGE_START' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(266) : warning C4018: '>=' : signed/unsigned mismatch
e:\wince420\platform\smdk2410\eboot\main.c(267) : error C2065: 'ROM_RAMIMAGE_SIZE' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(267) : warning C4018: '<' : signed/unsigned mismatch
e:\wince420\platform\smdk2410\eboot\main.c(368) : error C2065: 'g_pBootCfg' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(368) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(368) : error C2198: 'inet_ntoa' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(369) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(369) : error C2198: 'inet_ntoa' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(370) : error C2223: left of '->BootDelay' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(371) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(373) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(373) : error C2065: 'BOOT_TYPE_DIRECT' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(374) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(374) : error C2065: 'TARGET_TYPE_NAND' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(376) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(376) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(377) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(377) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(378) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(378) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(379) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(379) : error C2065: 'CONFIG_FLAGS_DEBUGGER' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(385) : error C2065: 'g_pTOC' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(385) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(418) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(418) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(418) : error C2198: 'GetUserIPAddr' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(419) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(430) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(430) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(436) : error C4013: 'TOC_Init' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(436) : error C2065: 'DEFAULT_IMAGE_DESCRIPTOR' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(437) : error C4013: 'TOC_Write' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(444) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(444) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(448) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(448) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(457) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(457) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(458) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(481) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(481) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(482) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(503) : error C2065: 'BADBLOCKMARK' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(503) : warning C4242: '=' : conversion from 'int ' to 'unsigned char ', possible loss of data
e:\wince420\platform\smdk2410\eboot\main.c(507) : error C2065: 'IMAGE_START_BLOCK' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(508) : error C2065: 'IMAGE_START_SECTOR' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(508) : warning C4018: '<' : signed/unsigned mismatch
e:\wince420\platform\smdk2410\eboot\main.c(529) : error C4013: 'TOC_Read' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(556) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(626) : error C2065: 'BINFS_RAM_START' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(626) : error C2065: 'BINFS_RAM_LENGTH' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(645) : error C2223: left of '->BootDelay' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(647) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(696) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(716) : error C4013: 'VALID_TOC' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(722) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(726) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(728) : error C4013: 'ReadRamImageFromBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(734) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(735) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(738) : error C4013: 'ReadKernelRegionFromBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(752) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(754) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(755) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(760) : warning C4047: 'function' : 'struct _EBOOTCFG_ *' differs in levels of indirection from 'int '
e:\wince420\platform\smdk2410\eboot\main.c(760) : warning C4024: 'InitEthDevice' : different types for formal and actual parameter 1
e:\wince420\platform\smdk2410\eboot\main.c(801) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(801) : warning C4133: 'function' : incompatible types - from 'char [16]' to 'struct _EDBG_ADDR *'
e:\wince420\platform\smdk2410\eboot\main.c(801) : error C2198: 'CreateDeviceName' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(806) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(814) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(814) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(814) : warning C4133: 'function' : incompatible types - from 'int *' to 'struct _EDBG_ADDR *'
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'int *' differs in levels of indirection from 'const int '
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 3
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'unsigned long *' differs in levels of indirection from 'const int '
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 4
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'unsigned char ' differs in levels of indirection from 'char [9]'
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 5
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'unsigned char ' differs in levels of indirection from 'char [16]'
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 6
e:\wince420\platform\smdk2410\eboot\main.c(815) : error C2065: 'EDBG_CPUID' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 7
e:\wince420\platform\smdk2410\eboot\main.c(815) : error C2198: 'EbootInitEtherTransport' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(853) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(853) : error C2198: 'EbootWaitForHostConnect' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(895) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(895) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(895) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
e:\wince420\platform\smdk2410\eboot\main.c(896) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(899) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(899) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 2
e:\wince420\platform\smdk2410\eboot\main.c(899) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
e:\wince420\platform\smdk2410\eboot\main.c(931) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(935) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(936) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(936) : error C4013: 'FILE_TO_SECTOR_SIZE' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(940) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(942) : error C4013: 'WriteRamImageToBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(948) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(949) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(957) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(960) : error C4013: 'WriteRegionsToBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(968) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(968) : error C1003: error count exceeds 100; stopping compilation
Compiling - e:\wince420\platform\smdk2410\eboot\.\ether.c for ARM
e:\wince420\platform\smdk2410\eboot\ether.c(21) : error C2059: syntax error : 'type'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2146: syntax error : missing ')' before identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2061: syntax error : identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2059: syntax error : ')'
e:\wince420\platform\smdk2410\eboot\ether.c(47) : error C2449: found '{' at file scope (missing function header?)
e:\wince420\platform\smdk2410\eboot\ether.c(90) : error C2059: syntax error : '}'
e:\wince420\platform\smdk2410\eboot\ether.c(132) : warning C4013: 'OEMGetRealTime' undefined; assuming extern returning int
Compiling - e:\wince420\platform\smdk2410\eboot\.\ecc.c for ARM
Compiling - e:\wince420\platform\smdk2410\eboot\.\flash.c for ARM
e:\wince420\platform\smdk2410\eboot\flash.c(39) : error C2061: syntax error : identifier 'g_pTOC'
e:\wince420\platform\smdk2410\eboot\flash.c(39) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\flash.c(71) : error C2065: 'IMAGE_TYPE_MXIP' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\flash.c(81) : error C2065: 'FLASH_CACHE' : undeclared identifier
Compiling - e:\wince420\platform\smdk2410\eboot\.\fmd.cpp for ARM
e:\wince420\platform\smdk2410\drivers\nandflsh\fmd\fmd.cpp(307) : error C2065: 'FILE_TO_SECTOR_SIZE' : undeclared identifier
e:\wince420\platform\smdk2410\drivers\nandflsh\fmd\fmd.cpp(504) : error C2065: 'SECTOR_TO_BLOCK_SIZE' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\fmd.cpp(41) : error C2146: syntax error : missing ';' before identifier 'g_pTOC'
e:\wince420\platform\smdk2410\eboot\fmd.cpp(41) : error C1004: unexpected end of file found
Assembling - e:\wince420\platform\smdk2410\eboot\obj\armv4\retail\fw.obj for ARM
Assembling - e:\wince420\platform\smdk2410\eboot\obj\armv4\retail\mmu.obj for ARM
Assembling - e:\wince420\platform\smdk2410\eboot\obj\armv4\retail\util.obj for ARM
Compiling - e:\wince420\platform\smdk2410\eboot\.\nand.c for ARM
Compiling - e:\wince420\platform\smdk2410\eboot\.\nand.c for ARM
e:\wince420\platform\smdk2410\eboot\link() : error LNK1181: cannot open input file 'obj\ARMV4\retail\main.obj'
BUILD: Linking e:\wince420\platform\smdk2410\eboot directory
Compiling - e:\wince420\platform\smdk2410\eboot\.\main.c for ARM
e:\wince420\platform\smdk2410\eboot\main.c(57) : error C2059: syntax error : 'type'
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2061: syntax error : identifier 'g_pTOC'
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2513: '/*global*/ ' : no variable declared before '='
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2065: 'PTOC' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(84) : error C2297: '&' : illegal, right operand has type 'unsigned char [512]'
e:\wince420\platform\smdk2410\eboot\main.c(85) : error C2061: syntax error : identifier 'g_pBootCfg'
e:\wince420\platform\smdk2410\eboot\main.c(85) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2146: syntax error : missing ')' before identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2061: syntax error : identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\main.c(97) : error C2059: syntax error : ')'
e:\wince420\platform\smdk2410\eboot\main.c(252) : error C2065: 'IMAGE_TYPE_LOADER' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(261) : error C2065: 'IMAGE_TYPE_RAMIMAGE' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(261) : error C2065: 'IMAGE_TYPE_BINFS' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(261) : error C2065: 'IMAGE_TYPE_MXIP' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(266) : error C2065: 'ROM_RAMIMAGE_START' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(266) : warning C4018: '>=' : signed/unsigned mismatch
e:\wince420\platform\smdk2410\eboot\main.c(267) : error C2065: 'ROM_RAMIMAGE_SIZE' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(267) : warning C4018: '<' : signed/unsigned mismatch
e:\wince420\platform\smdk2410\eboot\main.c(368) : error C2065: 'g_pBootCfg' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(368) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(368) : error C2198: 'inet_ntoa' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(369) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(369) : error C2198: 'inet_ntoa' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(370) : error C2223: left of '->BootDelay' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(371) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(373) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(373) : error C2065: 'BOOT_TYPE_DIRECT' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(374) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(374) : error C2065: 'TARGET_TYPE_NAND' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(376) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(376) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(377) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(377) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(378) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(378) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(379) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(379) : error C2065: 'CONFIG_FLAGS_DEBUGGER' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(385) : error C2065: 'g_pTOC' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(385) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(392) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(418) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(418) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(418) : error C2198: 'GetUserIPAddr' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(419) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(430) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(430) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(436) : error C4013: 'TOC_Init' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(436) : error C2065: 'DEFAULT_IMAGE_DESCRIPTOR' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(437) : error C4013: 'TOC_Write' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(444) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(444) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(448) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(448) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(457) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(457) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(458) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(481) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(481) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(482) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(503) : error C2065: 'BADBLOCKMARK' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(503) : warning C4242: '=' : conversion from 'int ' to 'unsigned char ', possible loss of data
e:\wince420\platform\smdk2410\eboot\main.c(507) : error C2065: 'IMAGE_START_BLOCK' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(508) : error C2065: 'IMAGE_START_SECTOR' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(508) : warning C4018: '<' : signed/unsigned mismatch
e:\wince420\platform\smdk2410\eboot\main.c(529) : error C4013: 'TOC_Read' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(556) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(626) : error C2065: 'BINFS_RAM_START' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(626) : error C2065: 'BINFS_RAM_LENGTH' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(645) : error C2223: left of '->BootDelay' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(647) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(696) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(716) : error C4013: 'VALID_TOC' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(722) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(726) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(728) : error C4013: 'ReadRamImageFromBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(734) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(735) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(738) : error C4013: 'ReadKernelRegionFromBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(752) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(754) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(755) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(760) : warning C4047: 'function' : 'struct _EBOOTCFG_ *' differs in levels of indirection from 'int '
e:\wince420\platform\smdk2410\eboot\main.c(760) : warning C4024: 'InitEthDevice' : different types for formal and actual parameter 1
e:\wince420\platform\smdk2410\eboot\main.c(801) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(801) : warning C4133: 'function' : incompatible types - from 'char [16]' to 'struct _EDBG_ADDR *'
e:\wince420\platform\smdk2410\eboot\main.c(801) : error C2198: 'CreateDeviceName' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(806) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(814) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(814) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(814) : warning C4133: 'function' : incompatible types - from 'int *' to 'struct _EDBG_ADDR *'
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'int *' differs in levels of indirection from 'const int '
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 3
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'unsigned long *' differs in levels of indirection from 'const int '
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 4
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'unsigned char ' differs in levels of indirection from 'char [9]'
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 5
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'unsigned char ' differs in levels of indirection from 'char [16]'
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 6
e:\wince420\platform\smdk2410\eboot\main.c(815) : error C2065: 'EDBG_CPUID' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
e:\wince420\platform\smdk2410\eboot\main.c(815) : warning C4024: 'EbootInitEtherTransport' : different types for formal and actual parameter 7
e:\wince420\platform\smdk2410\eboot\main.c(815) : error C2198: 'EbootInitEtherTransport' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(853) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(853) : error C2198: 'EbootWaitForHostConnect' : too few actual parameters
e:\wince420\platform\smdk2410\eboot\main.c(895) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(895) : error C2223: left of '->EdbgAddr' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(895) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
e:\wince420\platform\smdk2410\eboot\main.c(896) : error C2223: left of '->SubnetMask' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(899) : error C2223: left of '->udid' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(899) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 2
e:\wince420\platform\smdk2410\eboot\main.c(899) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
e:\wince420\platform\smdk2410\eboot\main.c(931) : error C2223: left of '->ConfigFlags' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(935) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(936) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(936) : error C4013: 'FILE_TO_SECTOR_SIZE' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(940) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(942) : error C4013: 'WriteRamImageToBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(948) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(949) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(957) : error C2051: case expression not constant
e:\wince420\platform\smdk2410\eboot\main.c(960) : error C4013: 'WriteRegionsToBootMedia' undefined; assuming extern returning int
e:\wince420\platform\smdk2410\eboot\main.c(968) : error C2223: left of '->id' must point to struct/union
e:\wince420\platform\smdk2410\eboot\main.c(968) : error C1003: error count exceeds 100; stopping compilation
Compiling - e:\wince420\platform\smdk2410\eboot\.\ether.c for ARM
e:\wince420\platform\smdk2410\eboot\ether.c(21) : error C2059: syntax error : 'type'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2146: syntax error : missing ')' before identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2061: syntax error : identifier 'pBootCfg'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\ether.c(46) : error C2059: syntax error : ')'
e:\wince420\platform\smdk2410\eboot\ether.c(47) : error C2449: found '{' at file scope (missing function header?)
e:\wince420\platform\smdk2410\eboot\ether.c(90) : error C2059: syntax error : '}'
e:\wince420\platform\smdk2410\eboot\ether.c(132) : warning C4013: 'OEMGetRealTime' undefined; assuming extern returning int
Compiling - e:\wince420\platform\smdk2410\eboot\.\flash.c for ARM
e:\wince420\platform\smdk2410\eboot\flash.c(39) : error C2061: syntax error : identifier 'g_pTOC'
e:\wince420\platform\smdk2410\eboot\flash.c(39) : error C2059: syntax error : ';'
e:\wince420\platform\smdk2410\eboot\flash.c(71) : error C2065: 'IMAGE_TYPE_MXIP' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\flash.c(81) : error C2065: 'FLASH_CACHE' : undeclared identifier
Compiling - e:\wince420\platform\smdk2410\eboot\.\fmd.cpp for ARM
e:\wince420\platform\smdk2410\drivers\nandflsh\fmd\fmd.cpp(307) : error C2065: 'FILE_TO_SECTOR_SIZE' : undeclared identifier
e:\wince420\platform\smdk2410\drivers\nandflsh\fmd\fmd.cpp(504) : error C2065: 'SECTOR_TO_BLOCK_SIZE' : undeclared identifier
e:\wince420\platform\smdk2410\eboot\fmd.cpp(41) : error C2146: syntax error : missing ';' before identifier 'g_pTOC'
e:\wince420\platform\smdk2410\eboot\fmd.cpp(41) : error C1004: unexpected end of file found
Compiling - e:\wince420\platform\smdk2410\eboot\.\fmd.cpp for ARM
e:\wince420\platform\smdk2410\eboot\link() : error LNK1181: cannot open input file 'obj\ARMV4\retail\main.obj'
BUILD: Done
    12 files compiled - 41 Warnings - 254 Errors
Build for Windows CE (Release) (Built on Dec 17 2002 13:28:33)
File names: Build.log Build.wrn Build.err Build.dat Build.con
Master db name is: E:\WINCE420\PLATFORM\SMDK2410\Build.dat
Master db name is: E:\WINCE420\PLATFORM\SMDK2410\Build.dat

QT2410 - 254 error(s), 50 warning(s)
游客

返回顶部