Unix Network Programming Episode 2
发布时间:2020-12-15 19:37:01 所属栏目:安全 来源:网络整理
导读:偶然发现其实还有第二卷的源码,就一起编译了。 ./configure # try to figure out all implementation differencescd libmakecd ../pipemake pipeconf./pipeconf /tmp 有一个错误,提示config.h中 In file included from unpipc . h: 7 : 0 ,from daemon_ine
偶然发现其实还有第二卷的源码,就一起编译了。 ./configure # try to figure out all implementation differences
cd lib
make
cd ../pipe
make pipeconf
./pipeconf /tmp
有一个错误,提示config.h中 In file included from unpipc.h:7:0,from daemon_inetd.c:1:
../config.h:56:17: error: two or more data types in declaration specifiers
#define uint8_t unsigned char /* <sys/types.h> */
^
../config.h:56:26: error: two or more data types in declaration specifiers
#define uint8_t unsigned char /* <sys/types.h> */
^
../config.h:57:18: error: two or more data types in declaration specifiers
#define uint16_t unsigned short /* <sys/types.h> */
^
../config.h:57:27: error: two or more data types in declaration specifiers
#define uint16_t unsigned short /* <sys/types.h> */
^
../config.h:58:18: error: two or more data types in declaration specifiers
#define uint32_t unsigned int /* <sys/types.h> */
^
../config.h:58:27: error: two or more data types in declaration specifiers
#define uint32_t unsigned int /* <sys/types.h> */
^
make: *** [<builtin>: daemon_inetd.o] Error 1
因此删除config.h中的 #define uint8_t unsigned char /* <sys/types.h> */
#define uint16_t unsigned short /* <sys/types.h> */
#define uint32_t unsigned int /* <sys/types.h> */
即可。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 专家观察 | 朱荣泽:“统一存储,为云而生——基于Ceph的存
- angularjs – Angular Bootstrap Ui-select
- 老男孩教育每日一题-第69天-shell脚本知识点:linux系统脚本
- angularjs – 使用Moment.js的角度过滤日期(过去/未来)
- 异步调用webservice方法的时候传的参数只能用大写而不能用小
- 使用cxf生成webservice java代码
- scala – 如何在Spark Streaming中将RDD转换为DataFrame,而
- BootStrap 超链接变按钮的实现方法
- Angular 5 HttpClient拦截器JWT刷新令牌无法捕获401并重试我
- 网站数据备份,和网站文件打包。