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

Re: Problem Cloning PUBLIC directory by Michael

Michael
Tue Nov 16 10:38:17 CST 2004

It looks to me like your paths are messed up. The place you are indicating
in your SOURCES file where the files exist is not actually where they are
located on your hard drive. Fix your paths for the directives in the SOURCES
file.

--
Michael Schaffner, P.E.
Senior Software Engineer
Windows CE Technical Group
Applied Data Systems

"Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
news:eVdlWd$yEHA.2804@TK2MSFTNGP15.phx.gbl...
> 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
>



Re: Problem Cloning PUBLIC directory by Brian

Brian
Tue Nov 16 11:51:59 CST 2004

I fixed the SOURCES file and now everything compiles correctly. To see if
it's getting included properly in the image I just added a DEBUGMSG
including "hello world" in the driver, however, I never see it so I think
it's grabing the version in the PUBLIC tree. What do I need to do to ensure
it's using my PLATFORM's version?

Thanks,
Brian


"Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
message news:OwdFuq$yEHA.2568@TK2MSFTNGP10.phx.gbl...
> It looks to me like your paths are messed up. The place you are indicating
> in your SOURCES file where the files exist is not actually where they are
> located on your hard drive. Fix your paths for the directives in the
> SOURCES file.
>
> --
> Michael Schaffner, P.E.
> Senior Software Engineer
> Windows CE Technical Group
> Applied Data Systems
>
> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
> news:eVdlWd$yEHA.2804@TK2MSFTNGP15.phx.gbl...
>> 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
>>
>
>



Re: Problem Cloning PUBLIC directory by Michael

Michael
Tue Nov 16 12:48:33 CST 2004

You need to include the driver in the image by making an entry for it in the
Platform.bib file.
You may also need to remove the old public ATADISK module from the platform?

--
Michael Schaffner, P.E.
Senior Software Engineer
Windows CE Technical Group
Applied Data Systems


"Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
news:OVYs7TAzEHA.3808@tk2msftngp13.phx.gbl...
>I fixed the SOURCES file and now everything compiles correctly. To see if
>it's getting included properly in the image I just added a DEBUGMSG
>including "hello world" in the driver, however, I never see it so I think
>it's grabing the version in the PUBLIC tree. What do I need to do to
>ensure it's using my PLATFORM's version?
>
> Thanks,
> Brian
>
>
> "Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
> message news:OwdFuq$yEHA.2568@TK2MSFTNGP10.phx.gbl...
>> It looks to me like your paths are messed up. The place you are
>> indicating in your SOURCES file where the files exist is not actually
>> where they are located on your hard drive. Fix your paths for the
>> directives in the SOURCES file.
>>
>> --
>> Michael Schaffner, P.E.
>> Senior Software Engineer
>> Windows CE Technical Group
>> Applied Data Systems
>>
>> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
>> news:eVdlWd$yEHA.2804@TK2MSFTNGP15.phx.gbl...
>>> 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
>>>
>>
>>
>
>



Re: Problem Cloning PUBLIC directory by Michael

Michael
Tue Nov 16 13:12:07 CST 2004

I'm sorry, I did not answer your question completely. To remove the old
PUBLIC atadisk.dll, you must remove the feature from your platform and
rebuild, otherwise, the binaries from the old PUBLIC atadisk driver still
exist in the cesysgen directory.

Newsgroup: Is what I am saying here accurate?

--
Michael Schaffner, P.E.
Senior Software Engineer
Windows CE Technical Group
Applied Data Systems


"Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
news:OVYs7TAzEHA.3808@tk2msftngp13.phx.gbl...
>I fixed the SOURCES file and now everything compiles correctly. To see if
>it's getting included properly in the image I just added a DEBUGMSG
>including "hello world" in the driver, however, I never see it so I think
>it's grabing the version in the PUBLIC tree. What do I need to do to
>ensure it's using my PLATFORM's version?
>
> Thanks,
> Brian
>
>
> "Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
> message news:OwdFuq$yEHA.2568@TK2MSFTNGP10.phx.gbl...
>> It looks to me like your paths are messed up. The place you are
>> indicating in your SOURCES file where the files exist is not actually
>> where they are located on your hard drive. Fix your paths for the
>> directives in the SOURCES file.
>>
>> --
>> Michael Schaffner, P.E.
>> Senior Software Engineer
>> Windows CE Technical Group
>> Applied Data Systems
>>
>> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
>> news:eVdlWd$yEHA.2804@TK2MSFTNGP15.phx.gbl...
>>> 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
>>>
>>
>>
>
>



Re: Problem Cloning PUBLIC directory by Brian

Brian
Tue Nov 16 13:29:57 CST 2004

Another problem I've got is that I'm getting a .lib out of blddemo and not a
.dll....

-Brian


"Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
message news:%23xMVrABzEHA.4028@TK2MSFTNGP15.phx.gbl...
> I'm sorry, I did not answer your question completely. To remove the old
> PUBLIC atadisk.dll, you must remove the feature from your platform and
> rebuild, otherwise, the binaries from the old PUBLIC atadisk driver still
> exist in the cesysgen directory.
>
> Newsgroup: Is what I am saying here accurate?
>
> --
> Michael Schaffner, P.E.
> Senior Software Engineer
> Windows CE Technical Group
> Applied Data Systems
>
>
> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
> news:OVYs7TAzEHA.3808@tk2msftngp13.phx.gbl...
>>I fixed the SOURCES file and now everything compiles correctly. To see if
>>it's getting included properly in the image I just added a DEBUGMSG
>>including "hello world" in the driver, however, I never see it so I think
>>it's grabing the version in the PUBLIC tree. What do I need to do to
>>ensure it's using my PLATFORM's version?
>>
>> Thanks,
>> Brian
>>
>>
>> "Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
>> message news:OwdFuq$yEHA.2568@TK2MSFTNGP10.phx.gbl...
>>> It looks to me like your paths are messed up. The place you are
>>> indicating in your SOURCES file where the files exist is not actually
>>> where they are located on your hard drive. Fix your paths for the
>>> directives in the SOURCES file.
>>>
>>> --
>>> Michael Schaffner, P.E.
>>> Senior Software Engineer
>>> Windows CE Technical Group
>>> Applied Data Systems
>>>
>>> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
>>> news:eVdlWd$yEHA.2804@TK2MSFTNGP15.phx.gbl...
>>>> 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
>>>>
>>>
>>>
>>
>>
>
>



Re: Problem Cloning PUBLIC directory by Michael

Michael
Tue Nov 16 13:45:21 CST 2004

Comment out the line DOSYSGEN=1 in your SOURCES file that you copied to your
custom platform.

--
Michael Schaffner, P.E.
Senior Software Engineer
Windows CE Technical Group
Applied Data Systems

"Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
news:eGhvqKBzEHA.3808@tk2msftngp13.phx.gbl...
> Another problem I've got is that I'm getting a .lib out of blddemo and not
> a .dll....
>
> -Brian
>
>
> "Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
> message news:%23xMVrABzEHA.4028@TK2MSFTNGP15.phx.gbl...
>> I'm sorry, I did not answer your question completely. To remove the old
>> PUBLIC atadisk.dll, you must remove the feature from your platform and
>> rebuild, otherwise, the binaries from the old PUBLIC atadisk driver still
>> exist in the cesysgen directory.
>>
>> Newsgroup: Is what I am saying here accurate?
>>
>> --
>> Michael Schaffner, P.E.
>> Senior Software Engineer
>> Windows CE Technical Group
>> Applied Data Systems
>>
>>
>> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
>> news:OVYs7TAzEHA.3808@tk2msftngp13.phx.gbl...
>>>I fixed the SOURCES file and now everything compiles correctly. To see
>>>if it's getting included properly in the image I just added a DEBUGMSG
>>>including "hello world" in the driver, however, I never see it so I think
>>>it's grabing the version in the PUBLIC tree. What do I need to do to
>>>ensure it's using my PLATFORM's version?
>>>
>>> Thanks,
>>> Brian
>>>
>>>
>>> "Michael Schaffner, P.E." <mschaffner@applieddata_NOSPAM.net> wrote in
>>> message news:OwdFuq$yEHA.2568@TK2MSFTNGP10.phx.gbl...
>>>> It looks to me like your paths are messed up. The place you are
>>>> indicating in your SOURCES file where the files exist is not actually
>>>> where they are located on your hard drive. Fix your paths for the
>>>> directives in the SOURCES file.
>>>>
>>>> --
>>>> Michael Schaffner, P.E.
>>>> Senior Software Engineer
>>>> Windows CE Technical Group
>>>> Applied Data Systems
>>>>
>>>> "Brian Kuebert" <bkuebert@xtremex3.com> wrote in message
>>>> news:eVdlWd$yEHA.2804@TK2MSFTNGP15.phx.gbl...
>>>>> 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