ubun8.04下安装drcom-1.4.5时编译出错!

来源:百度知道 编辑:UC知道 时间:2024/06/01 20:46:41
大家仔细看一下阿!帮我解决一下阿
lch@lch-desktop:~/network/drcom-1.4.5$ make
make[1]: Entering directory `/home/lch/network/drcom-1.4.5/drcomc'
CC drcomc.c
drcomc.c:1:19: 错误: stdio.h:没有该文件或目录
drcomc.c:2:20: 错误: string.h:没有该文件或目录
drcomc.c:3:20: 错误: stdlib.h:没有该文件或目录
drcomc.c:4:20: 错误: unistd.h:没有该文件或目录
drcomc.c:5:23: 错误: sys/types.h:没有该文件或目录
drcomc.c:6:24: 错误: sys/socket.h:没有该文件或目录
drcomc.c:7:20: 错误: sys/un.h:没有该文件或目录
在包含自 drcomc.c:9 的文件中:
../include/client_daemon.h:4:20: 错误: stdint.h:没有该文件或目录
In file included from drcomc.c:9:
../include/client_daemon.h:13: 错误: expected specifier-qualifier-list before ‘uint16_t’
../include/client_daemon.h:54: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘safe_recv’
../include/client_daemon.h:55: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘safe_send’
In file included from drcomc.c:10:
../include/utils.h:4: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘

这个问题你到http://forum.ubuntu.org.cn/发帖子问吧,贴吧里面linux高手很少,高手都在专业论坛里面,呵呵,sorry,我虽然也用ubuntu不过,仅仅是能用而已