谈谈剑 发表于 2014-05-09 11:11

求助 hp-ux B.11.31 U ia安装rpc服务 make时报错

   本人菜鸟,求助!!用loadrunner一台hp-ux系统资源,安装rpc.rstatd-4.0.1.tar.gz包,解压好后,先./configure没问题,再make时就报3 errors detected in the compilation of "rup.c".
了,我linux上已经安装好了,包应该是没问题的 求解答 非常感谢!!具体报错如下:
root@u1bbpfmake
      makeall-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.
页: [1]
查看完整版本: 求助 hp-ux B.11.31 U ia安装rpc服务 make时报错