Re: Problem Cloning PUBLIC directory

From: Michael Schaffner, P.E. (mschaffner_at_applieddata_NOSPAM.net)
Date: 11/16/04


Date: Tue, 16 Nov 2004 13:48:33 -0500

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
>>>
>>
>>
>
> 


Relevant Pages

  • Re: Printer Driver hangs in installation on Vista
    ... I'm in process of making the WDK Build ... utility to compile the driver, but I'm having the following problems. ... But my SOURCES file specifically removes the /Wx flag. ...
    (microsoft.public.development.device.drivers)
  • Re: Problems compiling in Platform directory; in Public it works
    ... gal for switch / O ... you need to download and install all QFE's for all installed processors ... Here's my sources file: ... After editing my files I can compile in the Public ...
    (microsoft.public.windowsce.embedded)
  • Re: If you used Linux before why did you switch to FreeBSD?
    ... There are three mutually incompatible wlan driver ... > any botched installation attempt. ... too large and let FreeBSD compile it over night if I want it. ... for me Firefox has become far too slow. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Unable to load stream interface driver
    ... And specify it in the registry if it is different from the default. ... Interface Drivers, ie. export Stream Interface Driver functions. ... Here is what my modified sources file looks like (Note. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem Cloning PUBLIC directory
    ... you must remove the feature from your platform and ... rebuild, otherwise, the binaries from the old PUBLIC atadisk driver still ... >I fixed the SOURCES file and now everything compiles correctly. ... >>> PlatformBuilder 5.0 and having some problems getting it to compile. ...
    (microsoft.public.windowsce.platbuilder)