dokanx
dokanx copied to clipboard
Can't build projects on DokanX volume, represented by the mirrorfs sample
On a Win7 machine:
- Install DokanX
- Install wdk7600
- Start mirrorfs and make it serve volume M:
- Copy any of the samples under wdk's \src directory to M:. I personally copied fastfat
- Open WDK's Win7 buildfre environment, navigate to the m:\fastfat\win7 and try to build it.
- Build fails:
" Linking Executable - mp\mp\objfre_win7_x86\i386\fastfat.sys 1>errors in directory m:\fastfat\fastfat\win7\mp 1>link : error LNK1218: warning treated as error; no output file generated BUILD: Finish time: Fri Jan 30 23:59:41 2015 BUILD: Done
38 files compiled 1 executable built - 1 Warning - 1 Error "
The wrn file has the following content:
1>warnings in directory m:\fastfat\fastfat\win7\mp 1>m:\fastfat\fastfat\win7\mp\write.obj : warning LNK4099: PDB 'vc90.pdb' was not found with 'm:\fastfat\fastfat\win7\mp\objfre_win7_x86\i386\write.obj' or at 'm:\fastfat\fastfat\win7\mp\objfre_win7_x86\i386\vc90.pdb'; linking object as if no debug info
Here is the link to the DbgView output: https://gist.githubusercontent.com/voyvoda/d39be21e24bbfa29b4a5/raw/dokanx_build_fastfat.txt
@voyvoda Maybe this is a fault at MirrorFS implementation. I can't see where is the start of the failure, though. If you give me first point to failure, it would be so nice. To find that information, try what you did(building fastfat) to NTFS volume, and watch the volume by Process Monitor. As the Windows Api viewpoint, dokan volume and NTFS volume should have same input/output. But there must be a difference because MirrorFs can't build fastfat. You can figure it out watch your DebugView log and Process Monitor result carefully. And please let me know if you find something. I will also try to find that.