none
CE 6 with BSquare BSP compilation error - how to solve dependencies? RRS feed

  • Question

  • I'm trying to build ce 6 (straight from DreamSpark + all updates) with BSquare BSP and getting the C2061: syntax error : identifier 'PSD_CARD_INTERFACE_EX'.

    All the options are set to default.

    How do I find which modules from OS Design are missing? C^F and Google didn't take me too far.

    See build log below:

    BUILD: [01:0000000059:PROGC ] Compiling .\SDHCSlot.cpp

    BUILD: [01:0000000062:ERRORE] c:\wince600\platform\intel_cs\src\drivers\sdcard\sdhcbase\SDHCSlot.h(110) : error C2061: syntax error : identifier 'PSD_CARD_INTERFACE_EX'

    BUILD: [01:0000000063:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(233) : error C2065: 'SD_SLOT_HIGH_SPEED_CAPABLE' : undeclared identifier

    BUILD: [01:0000000064:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(279) : error C2065: 'SD_CARD_INTERFACE_EX' : undeclared identifier

    BUILD: [01:0000000065:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(279) : error C2146: syntax error : missing ';' before identifier 'sdCardInterfaceEx'

    BUILD: [01:0000000066:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(279) : error C2065: 'sdCardInterfaceEx' : undeclared identifier

    BUILD: [01:0000000067:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(280) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000068:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(281) : error C2228: left of '.InterfaceModeEx' must have class/struct/union

    BUILD: [01:0000000070:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(281) : error C2228: left of '.bit' must have class/struct/union

    BUILD: [01:0000000071:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(281) : error C2228: left of '.sd4Bit' must have class/struct/union

    BUILD: [01:0000000072:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(282) : error C2228: left of '.ClockRate' must have class/struct/union

    BUILD: [01:0000000074:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(283) : error C2228: left of '.InterfaceModeEx' must have class/struct/union

    BUILD: [01:0000000076:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(283) : error C2228: left of '.bit' must have class/struct/union

    BUILD: [01:0000000077:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(283) : error C2228: left of '.sdWriteProtected' must have class/struct/union

    BUILD: [01:0000000078:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(286) : error C2228: left of '.InterfaceModeEx' must have class/struct/union

    BUILD: [01:0000000080:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(286) : error C2228: left of '.bit' must have class/struct/union

    BUILD: [01:0000000081:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(286) : error C2228: left of '.sd4Bit' must have class/struct/union

    BUILD: [01:0000000082:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(287) : error C2228: left of '.ClockRate' must have class/struct/union

    BUILD: [01:0000000084:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(288) : error C2228: left of '.InterfaceModeEx' must have class/struct/union

    BUILD: [01:0000000086:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(288) : error C2228: left of '.bit' must have class/struct/union

    BUILD: [01:0000000087:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(288) : error C2228: left of '.sdWriteProtected' must have class/struct/union

    BUILD: [01:0000000088:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(291) : error C2065: 'SDHCDSetSlotInterfaceEx' : undeclared identifier

    BUILD: [01:0000000089:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(291) : error C2051: case expression not constant

    BUILD: [01:0000000090:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(292) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000091:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(293) : error C2065: 'PSD_CARD_INTERFACE_EX' : undeclared identifier

    BUILD: [01:0000000092:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(293) : error C2146: syntax error : missing ';' before identifier 'pInterface'

    BUILD: [01:0000000093:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(293) : error C2065: 'pInterface' : undeclared identifier

    BUILD: [01:0000000094:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(293) : error C2146: syntax error : missing ';' before identifier 'pData'

    BUILD: [01:0000000095:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(297) : error C2227: left of '->ClockRate' must point to class/struct/union/generic type

    BUILD: [01:0000000097:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(299) : error C2146: syntax error : missing ')' before identifier 'pInterface'

    BUILD: [01:0000000098:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(299) : error C2059: syntax error : ')'

    BUILD: [01:0000000099:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(378) : error C2065: 'SDHCAllocateDMABuffer' : undeclared identifier

    BUILD: [01:0000000100:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(378) : error C2051: case expression not constant

    BUILD: [01:0000000101:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(379) : error C2065: 'SD_HOST_ALLOC_FREE_DMA_BUFFER' : undeclared identifier

    BUILD: [01:0000000102:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(379) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000103:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(381) : error C2065: 'PSD_HOST_ALLOC_FREE_DMA_BUFFER' : undeclared identifier

    BUILD: [01:0000000104:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(381) : error C2146: syntax error : missing ';' before identifier 'pSdDmaBuffer'

    BUILD: [01:0000000105:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(381) : error C2065: 'pSdDmaBuffer' : undeclared identifier

    BUILD: [01:0000000106:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(381) : error C2146: syntax error : missing ';' before identifier 'pData'

    BUILD: [01:0000000107:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(382) : error C2227: left of '->VirtualAddress' must point to class/struct/union/generic type

    BUILD: [01:0000000109:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(383) : error C2227: left of '->Length' must point to class/struct/union/generic type

    BUILD: [01:0000000111:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(383) : error C2227: left of '->LogicalAddress' must point to class/struct/union/generic type

    BUILD: [01:0000000113:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(383) : error C2227: left of '->CacheEnabled' must point to class/struct/union/generic type

    BUILD: [01:0000000115:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(384) : error C2227: left of '->VirtualAddress' must point to class/struct/union/generic type

    BUILD: [01:0000000117:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(387) : error C2065: 'SDHCFreeDMABuffer' : undeclared identifier

    BUILD: [01:0000000118:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(387) : error C2051: case expression not constant

    BUILD: [01:0000000119:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(388) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000120:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(389) : error C2146: syntax error : missing ';' before identifier 'pSdDmaBuffer'

    BUILD: [01:0000000121:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(389) : error C2146: syntax error : missing ';' before identifier 'pData'

    BUILD: [01:0000000122:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(391) : error C2227: left of '->Length' must point to class/struct/union/generic type

    BUILD: [01:0000000124:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(391) : error C2227: left of '->LogicalAddress' must point to class/struct/union/generic type

    BUILD: [01:0000000126:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(391) : error C2227: left of '->VirtualAddress' must point to class/struct/union/generic type

    BUILD: [01:0000000128:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(391) : error C2227: left of '->CacheEnabled' must point to class/struct/union/generic type

    BUILD: [01:0000000130:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(581) : error C2146: syntax error : missing ')' before identifier 'pInterface'

    BUILD: [01:0000000131:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(581) : error C2761: 'void CSDHCSlotBase::SetInterface(void)' : member function redeclaration not allowed

    BUILD: [01:0000000132:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(581) : error C2059: syntax error : ')'

    BUILD: [01:0000000133:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(582) : error C2143: syntax error : missing ';' before '{'

    BUILD: [01:0000000134:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(582) : error C2447: '{' : missing function header (old-style formal list?)

    BUILD: [01:0000000135:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(804) : error C2065: 'ResponseR7' : undeclared identifier

    BUILD: [01:0000000136:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCSlot.cpp(804) : error C2051: case expression not constant

    BUILD: [01:0000000137:PROGC ] Compiling .\SDHCDma.cpp

    BUILD: [01:0000000140:ERRORE] c:\wince600\platform\intel_cs\src\drivers\sdcard\sdhcbase\SDHCSlot.h(110) : error C2061: syntax error : identifier 'PSD_CARD_INTERFACE_EX'

    BUILD: [01:0000000141:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(106) : error C2065: 'SD_BUS_REQUEST_PHYS_BUFFER' : undeclared identifier

    BUILD: [01:0000000142:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(107) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000144:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(107) : error C2039: 'pPhysBuffList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000146:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(109) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000148:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(109) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000150:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(111) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000152:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(112) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000154:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(114) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000156:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(115) : error C2039: 'pPhysBuffList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000158:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(115) : error C2228: left of '.PhysLen' must have class/struct/union

    BUILD: [01:0000000159:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(116) : error C2039: 'pPhysBuffList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000161:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(116) : error C2228: left of '.PhysAddr' must have class/struct/union

    BUILD: [01:0000000162:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(207) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000164:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(207) : error C2039: 'pPhysBuffList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000166:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(209) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000168:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(209) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000170:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(211) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000172:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(212) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000174:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(214) : error C2039: 'cbSizeOfPhysList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000176:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(215) : error C2039: 'pPhysBuffList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000178:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(215) : error C2228: left of '.PhysLen' must have class/struct/union

    BUILD: [01:0000000179:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(216) : error C2039: 'pPhysBuffList' : is not a member of '_SD_BUS_REQUEST'

    BUILD: [01:0000000181:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\SDHCDma.cpp(216) : error C2228: left of '.PhysAddr' must have class/struct/union

    BUILD: [01:0000000182:PROGC ] Compiling .\sdhc.cpp

    BUILD: [01:0000000185:ERRORE] c:\wince600\platform\intel_cs\src\drivers\sdcard\sdhcbase\SDHCSlot.h(110) : error C2061: syntax error : identifier 'PSD_CARD_INTERFACE_EX'

    BUILD: [01:0000000186:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(46) : error C2078: too many initializers

    BUILD: [01:0000000187:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(395) : error C2065: 'SDHCDSetSlotInterfaceEx' : undeclared identifier

    BUILD: [01:0000000188:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(395) : error C2051: case expression not constant

    BUILD: [01:0000000189:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(396) : error C2065: 'SD_CARD_INTERFACE_EX' : undeclared identifier

    BUILD: [01:0000000190:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(396) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000191:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(401) : error C2065: 'SDHCAllocateDMABuffer' : undeclared identifier

    BUILD: [01:0000000192:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(401) : error C2051: case expression not constant

    BUILD: [01:0000000193:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(402) : error C2065: 'SD_HOST_ALLOC_FREE_DMA_BUFFER' : undeclared identifier

    BUILD: [01:0000000194:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(402) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000195:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(407) : error C2065: 'SDHCFreeDMABuffer' : undeclared identifier

    BUILD: [01:0000000196:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(407) : error C2051: case expression not constant

    BUILD: [01:0000000197:ERRORE] C:\WINCE600\PLATFORM\Intel_CS\SRC\DRIVERS\SDCARD\SDHCBASE\.\sdhc.cpp(408) : error C2070: ''unknown-type'': illegal sizeof operand

    BUILD: [01:0000000198:PROGC ] Compiling .\sdhcmain.cpp

    Wednesday, September 1, 2010 1:18 PM

All replies

  • Have you reviewed the documentation for the BSP and set up the System Requirements as it suggests?  These errors are becuase you have older versions of the header files than are required to build the BSP.
    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Wednesday, September 1, 2010 2:12 PM
    Moderator
  • It just seems that some included files do not have the type needed by the program.

    The file SDHCSlot.cpp includes the SDHCSlot.h which includes SDCARDDDK.H

    The file SDCARDDDK.H located in PUBLIC\COMMON\DDK\INC, contains the PSD_CARD_INTERFACE_EX type needed.

    I would suggest you to check if your SDCARDDDK.H contains the type above.

    Both CE6 R2 with 2009M09 and R3 with 2010M06 has what you need. Its where I looked for.

    If it does not, probably it was fixed by some QFE. Try again installing the QFEs.

    Regards,

    Atos

    Wednesday, September 1, 2010 7:55 PM