免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1808 | 回复: 0
打印 上一主题 下一主题

[求助] 求助 hp-ux B.11.31 U ia安装rpc服务 make时报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-05-09 11:11 |只看该作者 |倒序浏览
   本人菜鸟,求助!!用loadrunner一台hp-ux系统资源,安装rpc.rstatd-4.0.1.tar.gz包,解压好后,先./configure没问题,再make时就报3 errors detected in the compilation of "rup.c".
了,我linux上已经安装好了,包应该是没问题的 求解答 非常感谢!!具体报错如下:
root@u1bbpf[/home/beifen/rpc.rstatd-4.0.1$]make
        make  all-am
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
        source='rup.c' object='rup.o' libtool=no \
        depfile='.deps/rup.Po' tmpdepfile='.deps/rup.TPo' \
        depmode=none /bin/sh ./depcomp \
        cc -DHAVE_CONFIG_H -I. -I. -I.      -g -c rup.c
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, ignored.
"rup.c", line 213: warning #2167-D: argument of type "void *" is incompatible
          with parameter of type "xdrproc_t"
                (xdrproc_t) xdr_void, 0, (void *)xdr_statsusers,
                                         ^

"rup.c", line 214: warning #2167-D: argument of type "void *" is incompatible
          with parameter of type "resultproc_t"
                (void *)&host_stat, (void *)rup_answer_v5);
                                    ^

"rup.c", line 227: warning #2167-D: argument of type "void *" is incompatible
          with parameter of type "xdrproc_t"
                (xdrproc_t)xdr_void, 0, (void *)xdr_statstime,
                                        ^

"rup.c", line 228: warning #2167-D: argument of type "void *" is incompatible
          with parameter of type "resultproc_t"
                (void *)&host_stat, (void *)rup_answer_v3);
                                    ^

"rup.c", line 250: warning #2513-D: a value of type "int" cannot be assigned
          to an entity of type "CLIENT *"
        if((client = clntudp_create(server_addr, RSTATPROG, RSTATVERS_USERS,
                   ^

"rup.c", line 270: warning #2111-D: statement is unreachable
        return(0);
        ^

"rup.c", line 286: warning #2513-D: a value of type "int" cannot be assigned
          to an entity of type "CLIENT *"
        if((client = clntudp_create(server_addr, RSTATPROG, RSTATVERS_TIME,
                   ^

"rup.c", line 305: warning #2111-D: statement is unreachable
        return(0);
        ^

"rup.c", line 354: error #2020: identifier "EXIT_SUCCESS" is undefined
                exit(EXIT_SUCCESS);
                     ^

"rup.c", line 356: error #2020: identifier "EXIT_SUCCESS" is undefined
                exit(EXIT_SUCCESS);
                     ^

"rup.c", line 359: error #2020: identifier "EXIT_FAILURE" is undefined
        exit(EXIT_FAILURE);
             ^

3 errors detected in the compilation of "rup.c".
*** Error exit code 2

Stop.
*** Error exit code 1

Stop.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP