none
Build error: Tried to look up directory info for directory with no drive RRS feed

  • Question

  • My Windows Embedded Compact 7 Platform Builder has unexpectedly started generating the following error during the LIB pass of the BSP build:

    Error 188 Tried to look up directory info for directory with no drive: \x86\retail\oal_intr_common.lib. E:\WINCE700\build.log 15393

    It would appear that the _PLATCOMMONLIB environment variable is not being set, resulting in an incomplete path.  (Further investigation suggests that none of the sources.cmn environment variables are being set.)

    So far, in my effort to identify and resolve the problem, I have:

    • checked all my sources files for 'invalid trailing whitespace after line continuation characters' - there are none.
    • checked that the environment variables are set correctly in my BSP's Sources.cmn files - they are.
    • changed the target BSP in my project catalogue - the same result occurs for all BSPs (Generic CEPC, Virtual PC, ICOP eBox-3300 and my custom BSP).
    • recreated my solution from the ground up using the Platform Builder wizards.
    • checked for Platform Builder updates - there are none.
    • used the Platform Builder Installer to do a full Repair.

    ... nothing I've tried or checked has made any difference.

    At the moment, I am mid way through porting an ICOP_VDX_63XX_CE6_BSP to WinCE 7.  Having cloned the original BSP and followed the instructions in the BSP Porting Guide for Windows Embedded Compact 7, I was in the process of resolving linker errors in the KITL and EBOOT components (why does bootpart.lib have dependencies on a specific flash driver? - rhetorical).  The build PC was left powered on overnight.  When I returned the next morning the machine had been reset, I believe as a result of an automatic Windows Update (now disabled, but not rolled back).  When I attempted to rebuild the solution to get back to where I'd left the development (blddemo -q) this error started occurring and now it happens every time Build is run in any of the BSP directories.

    I'm not an expert on the build chain - I rely on it working like magic without know much about how - so now that it is failing I'm at a bit of a loss.  Please could anyone point me in the right direction for finding the cause of the problem and resolving it?


    Friday, August 17, 2012 9:57 AM

Answers

All replies

  • Try a clean build of OS. From VS BUILD->Rebuild Solution ( blddemo clean -q). During power off some files might be corrupted in your FLAT RELEASE DIRECTORY.

    Regards,

    Rakesh.

    Friday, August 17, 2012 10:50 AM
  • Try a clean build of OS. From VS BUILD->Rebuild Solution ( blddemo clean -q). During power off some files might be corrupted in your FLAT RELEASE DIRECTORY.

    Regards,

    Rakesh.

    Thank you for the suggestion Rakesh.  I just tried it with exactly the same (negative) result.

    I am keen to learn which of the build tools are responsible for locating, reading and processing the sources.cmn files, as I would like to understand what is causing the problem so that I can fix it properly.

    Friday, August 17, 2012 11:33 AM
  • Build.exe does that.   It searches up in the build path for the first folder that does not contain a sources or dirs file and then goes back up a folder to use the sources.cmn there.

    So, do you have a soures.cmn in the \Platform folder?  or are you missing a dirs file in your folders?


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Friday, August 17, 2012 1:09 PM
    Moderator
  • Thanks for the reply Bruce.

    The Sources.cmn and dirs files are all present in their original form, as supplied by Microsoft, in all of the Platform folders.  I tried using the other BSPs so that I could see if I could find any differences that might help me locate any issues in my own port, but they all do the same.

    I've added some debug output to the makefile.def file, this indicates that the _PLATCOMMONLIB and other environment variables I was orginally concerned about are all ok for for the components that get that far.  A further look at the build.log file indicates that the error is being raised in a different thread from those that are processing the makefile.def file.

    I've done a text search for the message in the whole WINCE700 folder, but none of the cmd, bat, etc text based files contain that string, so I assume that it is generated by one of the binary tools (NMAKE maybe)?

    If I knew which tool generated that error I might be able to find out why.

    The end of the build.log output file is embedded below.

    BUILD: [00:0000002060:PROGC ] Starting LIB Pass.
    BUILD: [00:0000002061:PROGC ] Analyzing project dependency information for pass LIB.
    BUILD: [00:0000002062:INFO  ] Will Build E:\WINCE700\platform\common\src\common\cache\obj\x86\checked\global.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_cache.lib is missing.
    BUILD: [00:0000002063:INFO  ] Will Build E:\WINCE700\platform\common\src\common\cache\obj\x86\checked\ioctl.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_cache.lib is missing.
    BUILD: [00:0000002064:INFO  ] Will Build E:\WINCE700\platform\common\src\common\cache\ because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_cache.lib is missing.
    BUILD: [00:0000002065:PROGC ] Building LIB Pass in E:\WINCE700\platform\common\src\common\cache\ directory.
    BUILD: [00:0000002066:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=E:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [00:0000002067:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\data.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io.lib is missing.
    BUILD: [00:0000002068:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\power.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io.lib is missing.
    BUILD: [00:0000002069:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\trans.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io.lib is missing.
    BUILD: [00:0000002070:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\ioctl.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io.lib is missing.
    BUILD: [00:0000002071:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\base\ because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io.lib is missing.
    BUILD: [00:0000002072:PROGC ] Building LIB Pass in E:\WINCE700\platform\common\src\common\io\base\ directory.
    BUILD: [00:0000002073:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=E:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [01:0000002074:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.default
    BUILD: [01:0000002075:INFO  ] makefile.def: BUILDROOT is E:\WINCE700\platform\common
    BUILD: [01:0000002076:INFO  ] makefile.def: Including E:\WINCE700\platform\common\sources.cmn
    BUILD: [00:0000002077:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\data.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_pci.lib is missing.
    BUILD: [00:0000002078:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\power.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_pci.lib is missing.
    BUILD: [00:0000002079:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\trans.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_pci.lib is missing.
    BUILD: [00:0000002080:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\ioctl.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_pci.lib is missing.
    BUILD: [00:0000002081:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci\ because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_pci.lib is missing.
    BUILD: [00:0000002082:PROGC ] Building LIB Pass in E:\WINCE700\platform\common\src\common\io\pci\ directory.
    BUILD: [00:0000002083:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=E:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [02:0000002084:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.default
    BUILD: [02:0000002085:INFO  ] makefile.def: BUILDROOT is E:\WINCE700\platform\common
    BUILD: [02:0000002086:INFO  ] makefile.def: Including E:\WINCE700\platform\common\sources.cmn
    BUILD: [01:0000002087:INFO  ] makefile.def: Including E:\WINCE700\platform\common\src\common\cache\sources
    BUILD: [01:0000002088:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.framework.default
    BUILD: [01:0000002089:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.CE
    BUILD: [01:0000002090:INFO  ] Directory: E:\WINCE700\platform\common\src\common\cache
    BUILD: [01:0000002091:INFO  ] TARGETNAME: oal_cache
    BUILD: [01:0000002092:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\sources.ReleaseType_PLATFORMCOMMON
    BUILD: [01:0000002093:INFO  ] makefile.def: oal_cache - _PLATCOMMONLIB = "E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib"
    BUILD: [02:0000002094:INFO  ] makefile.def: Including E:\WINCE700\platform\common\src\common\io\base\sources
    BUILD: [02:0000002095:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.framework.default
    BUILD: [02:0000002096:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.CE
    BUILD: [02:0000002097:INFO  ] Directory: E:\WINCE700\platform\common\src\common\io\base
    BUILD: [02:0000002098:INFO  ] TARGETNAME: oal_io
    BUILD: [02:0000002099:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\sources.ReleaseType_PLATFORMCOMMON
    BUILD: [02:0000002100:INFO  ] makefile.def: oal_io - _PLATCOMMONLIB = "E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib"
    BUILD: [01:0000002101:INFO  ] .
    BUILD: [02:0000002102:INFO  ] .
    BUILD: [01:0000002103:PROGC ] Linking E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_cache.lib
    BUILD: [01:0000002104:INFO  ] 	ExpandPaths.bat link -lib  -out:E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_cache.lib -machine:x86 @C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_190\nm1BE1.tmp
    BUILD: [02:0000002105:PROGC ] Linking E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_io.lib
    BUILD: [02:0000002106:INFO  ] 	ExpandPaths.bat link -lib  -out:E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_io.lib -machine:x86 @C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_291\nm1BE2.tmp
    BUILD: [01:0000002107:INFO  ] ExpandPaths.bat: Info: Expanded "C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_190\nm1BE1.tmp"
    BUILD: [01:0000002108:INFO  ] -ignore:4001 
    BUILD: [01:0000002109:INFO  ] -nologo 
    BUILD: [01:0000002110:INFO  ] -nodefaultlib 
    BUILD: [01:0000002111:INFO  ] "/subsystem:windowsce,7.00" 
    BUILD: [01:0000002112:INFO  ] "E:\WINCE700\platform\common\src\common\cache\obj\x86\checked\global.obj" 
    BUILD: [01:0000002113:INFO  ] "E:\WINCE700\platform\common\src\common\cache\obj\x86\checked\ioctl.obj" 
    BUILD: [02:0000002114:INFO  ] ExpandPaths.bat: Info: Expanded "C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_291\nm1BE2.tmp"
    BUILD: [02:0000002115:INFO  ] -ignore:4001 
    BUILD: [02:0000002116:INFO  ] -nologo 
    BUILD: [02:0000002117:INFO  ] -nodefaultlib 
    BUILD: [02:0000002118:INFO  ] "/subsystem:windowsce,7.00" 
    BUILD: [02:0000002119:INFO  ] "E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\data.obj" 
    BUILD: [02:0000002120:INFO  ] "E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\power.obj" 
    BUILD: [02:0000002121:INFO  ] "E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\trans.obj" 
    BUILD: [02:0000002122:INFO  ] "E:\WINCE700\platform\common\src\common\io\base\obj\x86\checked\ioctl.obj" 
    BUILD: [00:0000002123:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\data.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000002124:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\power.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000002125:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\trans.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000002126:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\ioctl.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000002127:INFO  ] Will Build E:\WINCE700\platform\common\src\common\io\pci_isa\ because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000002128:PROGC ] Building LIB Pass in E:\WINCE700\platform\common\src\common\io\pci_isa\ directory.
    BUILD: [00:0000002129:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=E:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [01:0000002130:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.default
    BUILD: [01:0000002131:INFO  ] makefile.def: BUILDROOT is E:\WINCE700\platform\common
    BUILD: [01:0000002132:INFO  ] makefile.def: Including E:\WINCE700\platform\common\sources.cmn
    BUILD: [00:0000002133:INFO  ] Will Build E:\WINCE700\platform\common\src\common\intr\common\obj\x86\checked\ioctl.obj because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_intr_common.lib is missing.
    BUILD: [00:0000002134:INFO  ] Will Build E:\WINCE700\platform\common\src\common\intr\common\ because target: E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\oak\lib\x86\checked\oal_intr_common.lib is missing.
    BUILD: [00:0000002135:PROGC ] Building LIB Pass in E:\WINCE700\platform\common\src\common\intr\common\ directory.
    BUILD: [00:0000002136:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=E:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [02:0000002137:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.default
    BUILD: [02:0000002138:INFO  ] makefile.def: BUILDROOT is E:\WINCE700\platform\common
    BUILD: [02:0000002139:INFO  ] makefile.def: Including E:\WINCE700\platform\common\sources.cmn
    BUILD: [01:0000002140:INFO  ] makefile.def: Including E:\WINCE700\platform\common\src\common\io\pci\sources
    BUILD: [01:0000002141:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.framework.default
    BUILD: [01:0000002142:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.CE
    BUILD: [01:0000002143:INFO  ] Directory: E:\WINCE700\platform\common\src\common\io\pci
    BUILD: [01:0000002144:INFO  ] TARGETNAME: oal_io_pci
    BUILD: [01:0000002145:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\sources.ReleaseType_PLATFORMCOMMON
    BUILD: [01:0000002146:INFO  ] makefile.def: oal_io_pci - _PLATCOMMONLIB = "E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib"
    BUILD: [02:0000002147:INFO  ] makefile.def: Including E:\WINCE700\platform\common\src\common\io\pci_isa\sources
    BUILD: [02:0000002148:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.framework.default
    BUILD: [02:0000002149:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.CE
    BUILD: [02:0000002150:INFO  ] Directory: E:\WINCE700\platform\common\src\common\io\pci_isa
    BUILD: [02:0000002151:INFO  ] TARGETNAME: oal_io_isa_pci
    BUILD: [02:0000002152:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\sources.ReleaseType_PLATFORMCOMMON
    BUILD: [02:0000002153:INFO  ] makefile.def: oal_io_isa_pci - _PLATCOMMONLIB = "E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib"
    BUILD: [01:0000002154:INFO  ] .
    BUILD: [02:0000002155:INFO  ] .
    BUILD: [01:0000002156:PROGC ] Linking E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_io_pci.lib
    BUILD: [01:0000002157:INFO  ] 	ExpandPaths.bat link -lib  -out:E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_io_pci.lib -machine:x86 @C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_192\nm1BE3.tmp
    BUILD: [02:0000002158:PROGC ] Linking E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_io_isa_pci.lib
    BUILD: [02:0000002159:INFO  ] 	ExpandPaths.bat link -lib  -out:E:\Inferno\TerminalOS\Wince700\VirtualPC_x86_Checked\cesysgen\platcomm\VirtualPC\lib\x86\checked\oal_io_isa_pci.lib -machine:x86 @C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_293\nm1BE4.tmp
    BUILD: [01:0000002160:INFO  ] ExpandPaths.bat: Info: Expanded "C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_192\nm1BE3.tmp"
    BUILD: [01:0000002161:INFO  ] -ignore:4001 
    BUILD: [01:0000002162:INFO  ] -nologo 
    BUILD: [01:0000002163:INFO  ] -nodefaultlib 
    BUILD: [01:0000002164:INFO  ] "/subsystem:windowsce,7.00" 
    BUILD: [01:0000002165:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\data.obj" 
    BUILD: [01:0000002166:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\power.obj" 
    BUILD: [01:0000002167:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\trans.obj" 
    BUILD: [01:0000002168:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci\obj\x86\checked\ioctl.obj" 
    BUILD: [02:0000002169:INFO  ] ExpandPaths.bat: Info: Expanded "C:\DOCUME~1\PLATFO~1\LOCALS~1\Temp\bld_34482\thr_293\nm1BE4.tmp"
    BUILD: [02:0000002170:INFO  ] -ignore:4001 
    BUILD: [02:0000002171:INFO  ] -nologo 
    BUILD: [02:0000002172:INFO  ] -nodefaultlib 
    BUILD: [02:0000002173:INFO  ] "/subsystem:windowsce,7.00" 
    BUILD: [02:0000002174:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\data.obj" 
    BUILD: [02:0000002175:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\power.obj" 
    BUILD: [02:0000002176:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\trans.obj" 
    BUILD: [02:0000002177:INFO  ] "E:\WINCE700\platform\common\src\common\io\pci_isa\obj\x86\checked\ioctl.obj" 
    BUILD: [00:0000002178:ERRORI] Tried to look up directory info for directory with no drive: \x86\checked\oal_intr_common.lib.
    BUILD: [00:0000002179:ERRORI] Please check your sources file for invalid trailing whitespace after line continuation characters ('\').
    BUILD: [01:0000002180:INFO  ] makefile.def: Including E:\WINCE700\public\common\oak\misc\Sources.default
    BUILD: [01:0000002181:INFO  ] makefile.def: BUILDROOT is E:\WINCE700\platform\common
    BUILD: [01:0000002182:INFO  ] makefile.def: Including E:\WINCE700\platform\common\sources.cmn
    BUILD: [00:0000002183:PROGC ]                        Files  Warnings  Errors
    BUILD: [00:0000002184:PROGC ] Midl                       0         0       0
    BUILD: [00:0000002185:PROGC ] Message                    0         0       0
    BUILD: [00:0000002186:PROGC ] Precomp Header             0         0       0
    BUILD: [00:0000002187:PROGC ] Resource                   0         0       0
    BUILD: [00:0000002188:PROGC ] XRPack                     0         0       0
    BUILD: [00:0000002189:PROGC ] MASM                       9         0       0
    BUILD: [00:0000002190:PROGC ] SHASM                      0         0       0
    BUILD: [00:0000002191:PROGC ] ARMASM                     0         0       0
    BUILD: [00:0000002192:PROGC ] MIPSASM                    0         0       0
    BUILD: [00:0000002193:PROGC ] C++                       13         0       0
    BUILD: [00:0000002194:PROGC ] C                         80         0       0
    BUILD: [00:0000002195:PROGC ] CheckLibs                  0         0       0
    BUILD: [00:0000002196:PROGC ] Static Libraries           4         0       0
    BUILD: [00:0000002197:PROGC ] Exe's                      0         0       0
    BUILD: [00:0000002198:PROGC ] Dll's                      0         0       0
    BUILD: [00:0000002199:PROGC ] Preprocess deffile         0         0       0
    BUILD: [00:0000002200:PROGC ] Resx                       0         0       0
    BUILD: [00:0000002201:PROGC ] CSharp Compile             0         0       0
    BUILD: [00:0000002202:PROGC ] VCProj Compile             0         0       0
    BUILD: [00:0000002203:PROGC ] Other                      0         0       1
    BUILD: [00:0000002204:PROGC ] 
    BUILD: [00:0000002205:PROGC ] Total                    106         0       1
    BUILD: [00:0000002206:PROGC ] 
    BUILD: [00:0000002207:PROGC ] 0 Warnings,  1 Errors
    BUILD: [00:0000002208:PROGC ] GetSystemTimes (seconds): Idle: 20    Kernel: 60    User: 95   
    BUILD: [00:0000002209:PROGC ] Elapsed  time  (seconds): 77   
    Build for Windows CE (Release 601) (Built on May 28 2009 15:53:25)
    File names: Build.log Build.wrn Build.err Buildx86checked.dat
    CEBUILD: BUILDMSG: There were errors building. Check E:\WINCE700\build.err
    
    BLDDEMO: ERROR: There were errors building CEBASE.
    
    BLDDEMO: BUILDMSG: BldDemo ended at 14:27:17.95 on 17/08/2012 (exit code 1)
    BuildLogs: BUILDMSG: Exiting: BldDemo1.bat  -q (result code 1).
    BuildLogs: BUILDMSG: E:\WINCE700\build.log
    BuildLogs: BUILDMSG: E:\WINCE700\build.out
    BuildLogs: BUILDMSG: E:\WINCE700\build.wrn
    BuildLogs: BUILDMSG: E:\WINCE700\build.err
    

    Friday, August 17, 2012 2:11 PM
  • Much as I hate "me too" replies, I've run into the same failure trying to build Windows Mobile 6.5 on a Windows 7 host (though it builds just fine in a WinXP VM - albeit slowly). I too have tried all of the suggested remedies (clean build, selecting "run as admin", verify a sources.cmn in the platform folder, etc.) and none have had any effect on this. Naturally _PLATCOMMONLIB is defined in the build window.

    This thread seems to have petered out, so I'm hoping there was a solution sent privately.

    -Morgan


    Morgan Girling

    Wednesday, November 14, 2012 8:32 PM
  • I have this problem too. Did you eventuallly find out the cause?
    Wednesday, March 9, 2016 2:28 PM
  • I too have this problem, but with Windows embedded compact 7.0. Did you eventually find a solution?
    Wednesday, March 9, 2016 2:32 PM
  • I have seen this happen when Windows 7 locates the TMP & TEMP folder under the User directory. My suspicion is the compiler script that is launched from PB does not get the rights conferred to it and therefore can not access or edit the files in the TMP folder.  At some point in the build, files are temporarily stored under the USER folder. This area is protected so apps that are run in normal mode may not be able to view temp files if they are in "<Drive>:\User\Temp" rather than "<Drive>:\Temp".

    To move this folder out from USER you will need to do 2 things:

    1. Copy the entire contents (Including any hidden files)

    2. Change the system variables mapping for TMP (If you remember DOS, you remember these)


    Wednesday, March 9, 2016 6:41 PM
    Moderator
  • Thanks - I am running under Windows 7 Professional 64 bit, and I have tried changing the folder that the environment variables TMP and TEMP point to, as you suggested. They originally pointed to a folder under the User directory (c:\User\user.name\AppData\Local\Temp), so I changed them both to point to c:\temp as you suggested, but I still get the error below when I do a clean SYSGEN (blddemo clean -q) :

    Error    1167    Tried to look up directory info for directory with no drive: \ARMV7\retail\oal_intr_common.lib.    C:\WINCE700\build.log    23810

    The relevant lines from build.log are shwon below.

    Any suggestion to fix this error would be greatly appreciated.

    BUILD: [00:0000004072:PROGC ] Analyzing project dependency information for pass LIB.
    BUILD: [00:0000004073:INFO  ] Will Build C:\WINCE700\platform\common\src\common\cache\obj\ARMV7\retail\global.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_cache.lib is missing.
    BUILD: [00:0000004074:INFO  ] Will Build C:\WINCE700\platform\common\src\common\cache\obj\ARMV7\retail\ioctl.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_cache.lib is missing.
    BUILD: [00:0000004075:INFO  ] Will Build C:\WINCE700\platform\common\src\common\cache\ because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_cache.lib is missing.
    BUILD: [00:0000004076:PROGC ] Building LIB Pass in C:\WINCE700\platform\common\src\common\cache\ directory.
    BUILD: [00:0000004077:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [00:0000004078:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\base\obj\ARMV7\retail\data.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io.lib is missing.
    BUILD: [00:0000004079:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\base\obj\ARMV7\retail\power.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io.lib is missing.
    BUILD: [00:0000004080:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\base\obj\ARMV7\retail\trans.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io.lib is missing.
    BUILD: [00:0000004081:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\base\obj\ARMV7\retail\ioctl.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io.lib is missing.
    BUILD: [00:0000004082:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\base\ because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io.lib is missing.
    BUILD: [00:0000004083:PROGC ] Building LIB Pass in C:\WINCE700\platform\common\src\common\io\base\ directory.
    BUILD: [00:0000004084:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [00:0000004085:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci\obj\ARMV7\retail\data.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_pci.lib is missing.
    BUILD: [00:0000004086:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci\obj\ARMV7\retail\power.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_pci.lib is missing.
    BUILD: [00:0000004087:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci\obj\ARMV7\retail\trans.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_pci.lib is missing.
    BUILD: [00:0000004088:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci\obj\ARMV7\retail\ioctl.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_pci.lib is missing.
    BUILD: [00:0000004089:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci\ because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_pci.lib is missing.
    BUILD: [00:0000004090:PROGC ] Building LIB Pass in C:\WINCE700\platform\common\src\common\io\pci\ directory.
    BUILD: [00:0000004091:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [01:0000004092:INFO  ] makefile.def: Including C:\WINCE700\public\common\oak\misc\Sources.default
    BUILD: [00:0000004093:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci_isa\obj\ARMV7\retail\data.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000004094:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci_isa\obj\ARMV7\retail\power.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000004095:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci_isa\obj\ARMV7\retail\trans.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000004096:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci_isa\obj\ARMV7\retail\ioctl.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000004097:INFO  ] Will Build C:\WINCE700\platform\common\src\common\io\pci_isa\ because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_io_isa_pci.lib is missing.
    BUILD: [00:0000004098:PROGC ] Building LIB Pass in C:\WINCE700\platform\common\src\common\io\pci_isa\ directory.
    BUILD: [01:0000004099:INFO  ] makefile.def: BUILDROOT is C:\WINCE700\platform\common
    BUILD: [00:0000004100:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [01:0000004101:INFO  ] makefile.def: Including C:\WINCE700\platform\common\sources.cmn
    BUILD: [00:0000004102:INFO  ] Will Build C:\WINCE700\platform\common\src\common\intr\common\obj\ARMV7\retail\ioctl.obj because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_intr_common.lib is missing.
    BUILD: [00:0000004103:INFO  ] Will Build C:\WINCE700\platform\common\src\common\intr\common\ because target: C:\WINCE700\OSDesigns\VAR_SOM_OM37_REL\VAR_SOM_OM37_REL\Wince700\VAR_SOM_OM37_P_12_ARMV7_Retail\cesysgen\oak\lib\ARMV7\retail\oal_intr_common.lib is missing.
    BUILD: [00:0000004104:PROGC ] Building LIB Pass in C:\WINCE700\platform\common\src\common\intr\common\ directory.
    BUILD: [00:0000004105:PROG  ] 'NMAKE.EXE TargetLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\common CLEANBUILD=1 LINKONLY=1 NOPASS0=1' (SYNCHRONIZE_BLOCK = 0)
    BUILD: [00:0000004106:ERRORI] Tried to look up directory info for directory with no drive: \ARMV7\retail\oal_intr_common.lib.
    BUILD: [00:0000004107:ERRORI] Please check your sources file for invalid trailing whitespace after line continuation characters ('\').
    BUILD: [00:0000004108:PROGC ]                        Files  Warnings  Errors
    BUILD: [00:0000004109:PROGC ] Midl                       0         0       0
    BUILD: [00:0000004110:PROGC ] Message                    0         0       0
    BUILD: [00:0000004111:PROGC ] Precomp Header             0         0       0
    BUILD: [00:0000004112:PROGC ] Resource                   1         0       0
    BUILD: [00:0000004113:PROGC ] XRPack                     0         0       0
    BUILD: [00:0000004114:PROGC ] MASM                       0         0       0
    BUILD: [00:0000004115:PROGC ] SHASM                      0         0       0
    BUILD: [00:0000004116:PROGC ] ARMASM                    62         0       0
    BUILD: [00:0000004117:PROGC ] MIPSASM                    0         0       0
    BUILD: [00:0000004118:PROGC ] C++                       51         0       0
    BUILD: [00:0000004119:PROGC ] C                        132         0       0
    BUILD: [00:0000004120:PROGC ] CheckLibs                  0         0       0
    BUILD: [00:0000004121:PROGC ] Static Libraries           0         0       0
    BUILD: [00:0000004122:PROGC ] Exe's                      0         0       0
    BUILD: [00:0000004123:PROGC ] Dll's                      0         0       0
    BUILD: [00:0000004124:PROGC ] Preprocess deffile         0         0       0
    BUILD: [00:0000004125:PROGC ] Resx                       0         0       0
    BUILD: [00:0000004126:PROGC ] CSharp Compile             0         0       0
    BUILD: [00:0000004127:PROGC ] VCProj Compile             0         0       0
    BUILD: [00:0000004128:PROGC ] Other                      0         0       1
    BUILD: [00:0000004129:PROGC ]
    BUILD: [00:0000004130:PROGC ] Total                    246         0       1
    BUILD: [00:0000004131:PROGC ]
    BUILD: [00:0000004132:PROGC ] 0 Warnings,  1 Errors

    Thursday, March 10, 2016 10:47 AM
  • Did you look at my second reply? "Tried to look up directory info for directory with no drive: \ARMV7\retail\oal_intr_common.lib."

    http://knowledge.seagate.com/articles/en_US/FAQ/203795en

    Thursday, March 10, 2016 6:50 PM
    Moderator
  • Yes, I looked at your answer, but I didn't think it was relevant as it seemed to be specifically for external drives, and my system is running on an internal SSD.

    Since upgrading my source control management software (Git), the problem appears to have gone away.


    Monday, March 14, 2016 8:38 AM
  • Knowing that your build environment might be blocked by a third party source control tool was not something I would have ever guessed. I am very glad you were able to discover the source of the problem.  What tool were you using so that others might refresh as well if they hit this problem? I assume something like Git for Windows?
    Monday, March 14, 2016 9:26 PM
    Moderator
  • I was using an earlier version of Git for Windows (1.9.x), and I upgraded to Git for Windows 2.7.2 64 bit (https://git-scm.com/download/win) and my build problem went away.
    Tuesday, March 15, 2016 9:47 AM