您的位置:首页 > 其它

Solaris 10 如何解决:/usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but is not

2011-06-27 16:22 531 查看
/usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/siginfo.h:390: error: 'ctid_t' is used as a type, but is not
defined as a type.
In file included from Teststrisuppercase_s.h:2,
from Teststrisuppercase_s.cpp:1:

解决办法: 在 /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/ 的路径下,有一个文件 mkheaders.conf

打开这个文件,在文件的头部添加一行 SHELL=/bin/sh

然后运行 ./mkheaders 即可解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐