Hi Folks-
I'm trying to clone the ATADISK driver from the PUBLIC tree of
PlatformBuilder 5.0 and having some problems getting it to compile. Any
help is greatly appreciated. I copied the files to a directory named
ATADISK under PLATFORM\MyXscale\SRC\DRIVERS. I edited the sources file by
changing the line:
WINCETARGETFILE0=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\$(TARGETDEFNAME).def
to be
WINCETARGETFILE0=$(_PROJECTOAKROOT)\lib\$(_CPUINDPATH)\$(TARGETDEFNAME).def
When I try do compile using build -c, I get the following output (error
message included). Any ideas what I'm doing wrong?
I've also tried to compile the DLL directly by commenting out the DOSYSGEN
line and get the output at the end.
Thanks for any help.
-Brian
[output from building .lib file]
C:\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK>build -c
Build for Windows CE (Release) (Built on Apr 22 2004 10:38:01)
File names: Build.log Build.wrn Build.err Build.dat
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Checking for
\WINCE500\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000001:PROGC ] SrcCheck exit code: 0 (dec).
BUILD: [00:0000000002:PROGC ] Compile and Link for ARM.
BUILD: [00:0000000003:PROGC ] Loading
C:\WINCE500\PLATFORM\MyXscale\Build.dat.
BUILD: [00:0000000004:PROGC ] Done.
BUILD: [00:0000000005:PROGC ] Computing include file dependencies:
BUILD: [00:0000000006:PROGC ] Checking for SDK include directory:
C:\WINCE500\sdk\ce\inc.
BUILD: [00:0000000007:PROGC ] Scan
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\
BUILD: [00:0000000010:PROGC ] Total of 0 pass zero files to compile in 1
directories.
BUILD: [00:0000000011:PROGC ] Building generated files in
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\.
BUILD: [01:0000000018:ERRORE] NMAKE : U1073: don't know how to make
'C:\sandbox\sw\x3v\wince500\x3vproj\WINCE500\MyXscale_ARMV4I\oak\lib\ARMV4I\debug\atadisk.def'
BUILD: [01:0000000020:ERRORE] NMAKE.EXE -i -c BUILDMSG=Stop. NOLINK=1
PASS0ONLY=1 CLEANBUILD=1 failed - rc = 2
BUILD: [00:0000000021:PROGC ] Files Warnings
Errors
BUILD: [00:0000000022:PROGC ] Midl 0 0
0
BUILD: [00:0000000023:PROGC ] Resource 0 0
0
BUILD: [00:0000000024:PROGC ] Message 0 0
0
BUILD: [00:0000000025:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000026:PROGC ] C/Cpp/Cxx 0 0
0
BUILD: [00:0000000027:PROGC ] Assembler 0 0
0
BUILD: [00:0000000028:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000029:PROGC ] Dll's 0 0
0
BUILD: [00:0000000030:PROGC ] Exe's 0 0
0
BUILD: [00:0000000031:PROGC ] Resx 0 0
0
BUILD: [00:0000000032:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000033:PROGC ] Other 0 0
2
BUILD: [00:0000000034:PROGC ]
BUILD: [00:0000000035:PROGC ] Total 0 0
2
BUILD: [00:0000000036:PROGC ]
BUILD: [00:0000000037:PROGC ] 0 Warnings, 2 Errors
[output from building .dll file]
C:\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK>build -c
Build for Windows CE (Release) (Built on Apr 22 2004 10:38:01)
File names: Build.log Build.wrn Build.err Build.dat
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Checking for
\WINCE500\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000001:PROGC ] SrcCheck exit code: 0 (dec).
BUILD: [00:0000000002:PROGC ] Compile and Link for ARM.
BUILD: [00:0000000003:PROGC ] Loading
C:\WINCE500\PLATFORM\MyXscale\Build.dat.
BUILD: [00:0000000004:PROGC ] Done.
BUILD: [00:0000000005:PROGC ] Computing include file dependencies:
BUILD: [00:0000000006:PROGC ] Checking for SDK include directory:
C:\WINCE500\sdk\ce\inc.
BUILD: [00:0000000007:PROGC ] Scan
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\
BUILD: [00:0000000010:PROGC ] Total of 0 pass zero files to compile in 1
directories.
BUILD: [00:0000000011:PROGC ] Building generated files in
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\.
BUILD: [00:0000000019:PROGC ] Scan
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\
BUILD: [00:0000000022:PROGC ] Compiling
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\ directory.
BUILD: [01:0000000029:PROGC ] Compiling .\system.c
BUILD: [01:0000000032:PROGC ] Compiling .\diskio.c
BUILD: [01:0000000035:PROGC ] Linking
C:\WINCE500\platform\MyXscale\lib\ARMV4I\debug\atadisk.lib
BUILD: [00:0000000047:PROGC ] Linking
\WINCE500\PLATFORM\MyXscale\SRC\DRIVERS\ATADISK\ directory.
BUILD: [01:0000000054:ERRORE] NMAKE : U1073: don't know how to make
'C:\sandbox\sw\x3v\wince500\x3vproj\WINCE500\MyXscale_ARMV4I\cesysgen\sdk\lib\ARMV4I\debug\storeapi.lib'
BUILD: [01:0000000056:ERRORE] NMAKE.EXE -i -c BUILDMSG=Stop. LINKONLY=1
NOPASS0=1 MAKEDLL=1 failed - rc = 2
BUILD: [00:0000000057:PROGC ] Files Warnings
Errors
BUILD: [00:0000000058:PROGC ] Midl 0 0
0
BUILD: [00:0000000059:PROGC ] Resource 0 0
0
BUILD: [00:0000000060:PROGC ] Message 0 0
0
BUILD: [00:0000000061:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000062:PROGC ] C/Cpp/Cxx 2 0
0
BUILD: [00:0000000063:PROGC ] Assembler 0 0
0
BUILD: [00:0000000064:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000065:PROGC ] Dll's 1 0
0
BUILD: [00:0000000066:PROGC ] Exe's 0 0
0
BUILD: [00:0000000067:PROGC ] Resx 0 0
0
BUILD: [00:0000000068:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000069:PROGC ] Other 0 0
2
BUILD: [00:0000000070:PROGC ]
BUILD: [00:0000000071:PROGC ] Total 3 0
2
BUILD: [00:0000000072:PROGC ]
BUILD: [00:0000000073:PROGC ] 0 Warnings, 2 Errors