gpt4 book ai didi

linux-kernel - Cygwin:Linux 内核 make clean 不工作

转载 作者:行者123 更新时间:2023-12-04 02:16:16 24 4
gpt4 key购买 nike

我正在尝试使用 Cygwin 在 Windows 上编译 Linux 内核。当我尝试 make distclean 时,出现以下错误:

 make distclean
make[1]: *** Documentation/Kbuild: Is a directory. Stop.
Makefile:1188: recipe for target '_clean_Documentation' failed
make: *** [_clean_Documentation] Error 2

最佳答案

有类似的问题。

@Daniel Griscom 所述和 @Sniffleh ,看起来确实是由于不区分大小写的文件系统导致的问题,而 fsutil 确实可以解决这个问题。

让我分享一些有用的命令:

  • 如果 fsutil.exe 文件 SetCaseSensitiveInfo YourDestinationFolder enable 不起作用,请尝试在 PowerShell 中使用 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  • fsutil 无法递归启用区分大小写,因此您可以使用 (Get-ChildItem -Recurse -Directory).FullName | PowerShell 中的 ForEach-Object {fsutil.exe 文件 setCaseSensitiveInfo $_ enable}

关于linux-kernel - Cygwin:Linux 内核 make clean 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33521602/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com