求助:cscope 不能生成索引文件。。。

软件和网站开发以及相关技术探讨
回复
sirubuntu
帖子: 80
注册时间: 2007-10-16 22:02

求助:cscope 不能生成索引文件。。。

#1

帖子 sirubuntu » 2007-12-20 14:21

在emacs中用cscope 浏览代码。
如果是小规模的源文件能正常使用。
但是当源文件数目很多的时,不能生成索引文件"cscope.out", 并出现如下错误:

*** stack smashing detected ***: cscope terminated


如果单独在控制台命令行下用cscope ,情况类似:
Building cross-reference...*** stack smashing detected ***: cscope terminated
Aborted (core dumped)


当然,“cscope.files”能生成。
尝试过用apt-get install 重装,也尝试过源文件编译安装,问题依然如故。。
我的系统是ubuntu 7.10..
请问各位大侠,这是怎么回事?请指教。。。
sirubuntu
帖子: 80
注册时间: 2007-10-16 22:02

#2

帖子 sirubuntu » 2007-12-20 14:50

找到原因了。。
是其中一个源文件有问题。。。
回复