Compiling with GCC now generates lots of new warnings.
Don't be concerned. They're just warnings.
Don't send bug reports about the warnings, either.
Feel free to send patches that fix these warnings, though.
(bk version) >/dev/null 2>&1 && \
cd . && \
x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
y=`cat version 2>/dev/null` || true && \
case "$x" in ''|$y) ;; *) echo $x > version ;; esac
make all-recursive
make[1]: Entering directory `/home/hrym/ntp-4.2.0'
Making all in scripts
make[2]: Entering directory `/home/hrym/ntp-4.2.0/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hrym/ntp-4.2.0/scripts'
Making all in include
make[2]: Entering directory `/home/hrym/ntp-4.2.0/include'
Making all in isc
make[3]: Entering directory `/home/hrym/ntp-4.2.0/include/isc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/hrym/ntp-4.2.0/include/isc'
make[3]: Entering directory `/home/hrym/ntp-4.2.0/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/hrym/ntp-4.2.0/include'
make[2]: Leaving directory `/home/hrym/ntp-4.2.0/include'
Making all in ElectricFence
make[2]: Entering directory `/home/hrym/ntp-4.2.0/ElectricFence'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hrym/ntp-4.2.0/ElectricFence'
Making all in libntp
make[2]: Entering directory `/home/hrym/ntp-4.2.0/libntp'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -g -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -MT systime.o -MD -MP -MF ".deps/systime.Tpo" \
-c -o systime.o `test -f 'systime.c' || echo './'`systime.c; \
then mv -f ".deps/systime.Tpo" ".deps/systime.Po"; \
else rm -f ".deps/systime.Tpo"; exit 1; \
fi
In file included from systime.c:11:
../include/ntp_stdlib.h:138: error: array type has incomplete element type
make[2]: *** [systime.o] Error 1
make[2]: Leaving directory `/home/hrym/ntp-4.2.0/libntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hrym/ntp-4.2.0'
make: *** [all] Error 2
[问题]make时出这个错误。
- kwindva
- 帖子: 562
- 注册时间: 2007-05-05 23:30
[问题]make时出这个错误。
装一个时间同步的软件时,make时,这样显示:
-
- 帖子: 3182
- 注册时间: 2006-03-10 15:10
- 来自: xi'an China
- 联系:
-
- 帖子: 138
- 注册时间: 2008-01-24 16:24