Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build projects on DokanX volume, represented by the mirrorfs sample #30

Open
voyvoda opened this issue Feb 2, 2015 · 1 comment
Labels

Comments

@voyvoda
Copy link

voyvoda commented Feb 2, 2015

On a Win7 machine:

  1. Install DokanX
  2. Install wdk7600
  3. Start mirrorfs and make it serve volume M:
  4. Copy any of the samples under wdk's \src directory to M:. I personally copied fastfat
  5. Open WDK's Win7 buildfre environment, navigate to the m:\fastfat\win7 and try to build it.
  6. 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

@BenjaminKim
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants