gpt4 book ai didi

linux - Cscope 错误 : cscope: cannot read list size from file cscope. 出

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:36:42 27 4
gpt4 key购买 nike

有一个确切的问题已经是 here !, 但没有详细的解决办法,所以再次询问。我关注了this !教程:

find . -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" > cscope.files
cscope -q -R -b -i cscope.files
cscope -d

当我执行最后一条命令时,出现错误: cscope:无法从文件 cscope.out 中读取列表大小。

文件大小:

$ ls -l | grep cscope
-rw-r--r-- 1 tnsharma wheel 8230153 May 29 11:13 cscope.files
-rw-r--r-- 1 tnsharma wheel 280810496 May 29 11:39 cscope.in.out
-rw-r--r-- 1 tnsharma wheel 3471526675 May 29 11:39 cscope.out
-rw-r--r-- 1 tnsharma wheel 1929521640 May 29 11:39 cscope.po.out

知道如何使这项工作成功吗?-谢谢

更新:我可以在子文件夹中使用 cscope。但是不知道如何跨子文件夹链接 cscope.out 文件以使其成为全局文件。

最佳答案

您的 cscope.out 太大而无法工作。

尝试通过创建 cscope.files 文件来减少执行 cscope -R-b 时解析的文件数量。

关于linux - Cscope 错误 : cscope: cannot read list size from file cscope. 出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16822121/

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