奇怪了,为什么我在HP的linux下安装rpc.rstatd-4.0.1不成功呢?
apptest/rpc.rstatd-4.0.1 $makerm -f rstat.h
rpcgen -h -o rstat.h rstat.x
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
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
"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
make的时候会出现错误,为什么呢?前一步./configure还是很正常的没报错! 我的也失败
页:
[1]