标题: 给linux装rpc.statd,在make的时候报错`EXIT_SUCCESS' undeclared [打印本页] 作者: aufezhangjie 时间: 2012-3-19 19:31 标题: 给linux装rpc.statd,在make的时候报错`EXIT_SUCCESS' undeclared 给linux装rpc.statd,在make的时候具体的报错内容:
make all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT rup.o -MD -MP -MF ".deps/rup.Tpo" -c -o rup.o rup.c; \
then mv -f ".deps/rup.Tpo" ".deps/rup.Po"; else rm -f ".deps/rup.Tpo"; exit 1; fi
rup.c: In function `pointopoint_v5':
rup.c:251: warning: assignment makes pointer from integer without a cast
rup.c: In function `pointopoint_v3':
rup.c:287: warning: assignment makes pointer from integer without a cast
rup.c: In function `main':
rup.c:354: error: `EXIT_SUCCESS' undeclared (first use in this function)
rup.c:354: error: (Each undeclared identifier is reported only once
rup.c:354: error: for each function it appears in.)
rup.c:359: error: `EXIT_FAILURE' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `rup.o'
Current working directory /2012-03-19/rpc.rstatd-4.0.1
*** Error code 1
make: Fatal error: Command failed for target `all'