Hi All,

I am trying to port a custom BSP for MIPS II from Win ce 4.2 to Win CE 5.0.

After initial work and editing Sources. CMN, when i try to build it I get
the following error:

Basically i feel that pkfuncs.h present in DDK/INC is not able to read
kfuncs.h present in SDK/INC. I have given both the paths in the Sources.CMN
file in BSP root directory.

Any suggestions how i could eliminate the error. Any other tips/guidelines
on porting from 4.2 to 5.0 are also welcome.

Here is the error::::

BUILD: [00:0000000140:PROGC ] Scan
\WINCE500\PLATFORM\DOMINO_AU1100\DRIVERS\BKLIGHT\
BUILD: [00:0000000142:PROGC ] Compiling
\WINCE500\PLATFORM\DOMINO_AU1100\EBOOT\COMMON\LDRKRNL\ directory.
BUILD: [01:0000000149:PROGC ] Compiling .\main.c
BUILD: [01:0000000152:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2065: 'PUserKData' :
undeclared identifier
BUILD: [01:0000000153:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2109: subscript
requires array or pointer type
BUILD: [01:0000000154:PROGC ] Compiling .\CLI.c
BUILD: [01:0000000157:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2065: 'PUserKData' :
undeclared identifier
BUILD: [01:0000000158:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2109: subscript
requires array or pointer type
BUILD: [01:0000000159:PROGC ] Compiling .\heap.c
BUILD: [01:0000000162:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2065: 'PUserKData' :
undeclared identifier
BUILD: [01:0000000163:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2109: subscript
requires array or pointer type
BUILD: [01:0000000164:PROGC ] Compiling .\cmdtable.c
BUILD: [01:0000000167:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2065: 'PUserKData' :
undeclared identifier
BUILD: [01:0000000168:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2109: subscript
requires array or pointer type
BUILD: [01:0000000169:PROGC ] Compiling .\string.c
BUILD: [01:0000000172:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2065: 'PUserKData' :
undeclared identifier
BUILD: [01:0000000173:ERRORE]
d:\WINCE500\PUBLIC\COMMON\DDK\INC\ceddk.h(1107) : error C2109: subscript
requires array or pointer type
BUILD: [01:0000000174:PROGC ] Linking
D:\WINCE500\platform\DOMINO_AU1100\lib\MIPSII\debug\clikern.lib
BUILD: [01:0000000176:ERRORE] LINK : fatal error LNK1181: cannot open input
file 'obj\MIPSII\debug\main.obj'
BUILD: [00:0000000178:PROGC ] Files Warnings
Errors
BUILD: [00:0000000179:PROGC ] Midl 0 0
0
BUILD: [00:0000000180:PROGC ] Resource 0 0
0
BUILD: [00:0000000181:PROGC ] Message 0 0
0
BUILD: [00:0000000182:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000183:PROGC ] C/Cpp/Cxx 5 0
10
BUILD: [00:0000000184:PROGC ] Assembler 0 0
0
BUILD: [00:0000000185:PROGC ] Static Libraries 1 0
1
BUILD: [00:0000000186:PROGC ] Dll's 0 0
0
BUILD: [00:0000000187:PROGC ] Exe's 0 0
0
BUILD: [00:0000000188:PROGC ] Resx 0 0
0
BUILD: [00:0000000189:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000190:PROGC ] Other 0 2
1
BUILD: [00:0000000191:PROGC ]
BUILD: [00:0000000192:PROGC ] Total 6 2
12
BUILD: [00:0000000193:PROGC ]
BUILD: [00:0000000194:PROGC ] 2 Warnings, 12 Errors

Re: Porting 4.2 to 5.0 by Silver

Silver
Wed Apr 09 10:09:43 PDT 2008

You can get a Au1100 BSP for 5.0 from Bsquare (at least I think the ce5
version is in there):

http://www.bsquare.com/partners/siliconvendors/rmi.asp


It is a free download.

Anyway, have a look in your build.log for the actual include paths used on
the command line if you think that the wrong file is included. It should be
grabbing it from a sysgened area.

Geoff
--


Re: Porting 4.2 to 5.0 by Shabbir

Shabbir
Wed Apr 09 21:48:00 PDT 2008

Thanks for the Link, I'll try it out and see what results i get.

Regards,

Shabbir

"Silver" wrote:

> You can get a Au1100 BSP for 5.0 from Bsquare (at least I think the ce5
> version is in there):
>
> http://www.bsquare.com/partners/siliconvendors/rmi.asp
>
>
> It is a free download.
>
> Anyway, have a look in your build.log for the actual include paths used on
> the command line if you think that the wrong file is included. It should be
> grabbing it from a sysgened area.
>
> Geoff
> --
>
>