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 即可解决。
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 即可解决。
相关文章推荐
- swift编码出现Call can throw, but it is not marked with 'try' and the error is not handled错误的解决
- The path "/usr/src/linux/include" is not an existing directory.解决方式
- ERROR 1130 (HY000): Host 'xxxxxx' is not allowed to connect to this MySQL server解决办法
- Python出现TypeError: 'NoneType' object is not iterable
- TypeError: 'module' object is not callable
- Flask 中使用 JSON 响应页面的 Ajax 请求报错 TypeError: 'dict' object is not callable
- TypeError: 'tuple' object is not callable
- python错误:TypeError: 'str' object is not callable
- PHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决
- Error No. 1130 Host '*.*.*.*' is not allowed to connect to this MySQL server解决方法
- MPI编译C++程序出现#error "SEEK_SET is #defined but must not be for the C++ binding of MPI" 的解决方法
- TypeError: 'NoneType' object is not subscriptable
- The base class includes the field '...', but its type (...) is not compatible with the type of control (...)
- MPI编译C++程序出现#error "SEEK_SET is #defined but must not be for the C++ binding of MPI" 的解决方法
- Anaconda下import caffe出现错误TypeError: 'module' object is not callable
- opencv2.0 源码安装 for x86 make出现error: 'ptrdiff_t' does not name a type 解决
- 解决 Error: Table './db_name/table_name' is marked as crashed and last (automatic?) repair
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- 如何解决XMLHttpRequest cannot load file~~~~~~~Origin 'null' is therefore not allowed access
- 如何解决CRITICAL glance [-] AttributeError: 'NoneType' object has no attribute 'drivername'