- 论坛徽章:
- 1
|
redhat安装iptraf3报的错,什么意思?
[root@pzhjb-jk1 iptraf-3.0.0]# ./Setup
=====================================================================
IPTraf Version 3.0.0 Setup
Target Platform: Linux/x86_64
---------------------------------------------------------------------
>>>>>> COMPILING IPTRAF 3.0.0 FROM SUPPLIED SOURCE CODE
make: Entering directory `/tmp/iptraf-3.0.0/src'
rm -f *.o *~ core iptraf rvnamed rawtime
make -C ../support clean
make[1]: Entering directory `/tmp/iptraf-3.0.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make[1]: Leaving directory `/tmp/iptraf-3.0.0/support'
make: Leaving directory `/tmp/iptraf-3.0.0/src'
make: Entering directory `/tmp/iptraf-3.0.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make: Leaving directory `/tmp/iptraf-3.0.0/support'
make: Entering directory `/tmp/iptraf-3.0.0/src'
gcc -Wall -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"Linux/x86_64\" -c -o iptraf.o iptraf.c
gcc -Wall -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"Linux/x86_64\" -c -o itrafmon.o itrafmon.c
itrafmon.c: In function 鈥榗heckrvnamed鈥?
itrafmon.c:511: warning: not enough variable arguments to fit a sentinel
itrafmon.c: In function 鈥榠pmon鈥?
itrafmon.c:1044: warning: pointer targets in passing argument 3 of 鈥榩rocesspacket鈥?differ in signedness
gcc -Wall -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"Linux/x86_64\" -c -o packet.o packet.c
packet.c: In function 鈥榓djustpacket鈥?
packet.c:218: warning: pointer targets in passing argument 1 of 鈥榞et_tr_ip_offset鈥?differ in signedness
packet.c: In function 鈥榞etpacket鈥?
packet.c:286: warning: pointer targets in passing argument 6 of 鈥榬ecvfrom鈥?differ in signedness
gcc -Wall -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"Linux/x86_64\" -c -o tcptable.o tcptable.c
tcptable.c: In function 鈥榰pdateentry鈥?
tcptable.c:602: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
tcptable.c:604: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
tcptable.c:606: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
gcc -Wall -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"Linux/x86_64\" -c -o othptab.o othptab.c
In file included from /usr/include/stdlib.h:438,
from tcptable.h:9,
from othptab.c:26:
/usr/include/sys/types.h:46: error: conflicting types for 鈥榣off_t鈥?
/usr/include/linux/types.h:30: error: previous declaration of 鈥榣off_t鈥?was here
/usr/include/sys/types.h:62: error: conflicting types for 鈥榙ev_t鈥?
/usr/include/linux/types.h:13: error: previous declaration of 鈥榙ev_t鈥?was here
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:438,
from tcptable.h:9,
from othptab.c:26:
/usr/include/time.h:105: error: conflicting types for 鈥榯imer_t鈥?
/usr/include/linux/types.h:22: error: previous declaration of 鈥榯imer_t鈥?was here
In file included from /usr/include/stdlib.h:438,
from tcptable.h:9,
from othptab.c:26:
/usr/include/sys/types.h:198: error: conflicting types for 鈥榠nt64_t鈥?
/usr/include/linux/types.h:98: error: previous declaration of 鈥榠nt64_t鈥?was here
/usr/include/sys/types.h:204: error: conflicting types for 鈥榰_int64_t鈥?
/usr/include/linux/types.h:97: error: previous declaration of 鈥榰_int64_t鈥?was here
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:438,
from tcptable.h:9,
from othptab.c:26:
/usr/include/sys/select.h:78: error: conflicting types for 鈥榝d_set鈥?
/usr/include/linux/types.h:12: error: previous declaration of 鈥榝d_set鈥?was here
In file included from /usr/include/stdlib.h:438,
from tcptable.h:9,
from othptab.c:26:
/usr/include/sys/types.h:235: error: conflicting types for 鈥榖lkcnt_t鈥?
/usr/include/linux/types.h:114: error: previous declaration of 鈥榖lkcnt_t鈥?was here
In file included from /usr/include/netinet/in.h:23,
from /usr/include/netdb.h:28,
from tcptable.h:15,
from othptab.c:26:
/usr/include/stdint.h:56: error: conflicting types for 鈥榰int64_t鈥?
/usr/include/linux/types.h:96: error: previous declaration of 鈥榰int64_t鈥?was here
othptab.c: In function 鈥榓dd_othp_entry鈥?
othptab.c:139: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
othptab.c:141: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
othptab.c:144: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
othptab.c:146: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
othptab.c:149: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
othptab.c:151: warning: pointer targets in passing argument 1 of 鈥榗onvmacaddr鈥?differ in signedness
make: *** [othptab.o] Error 1
make: Leaving directory `/tmp/iptraf-3.0.0/src'
make: Entering directory `/tmp/iptraf-3.0.0/src'
*** Installing executable programs and preparing work directories
>>> Installing iptraf in /usr/local/bin
/usr/bin/install: cannot stat `iptraf': No such file or directory
>>> Installing rvnamed in /usr/local/bin
/usr/bin/install: cannot stat `rvnamed': No such file or directory
>>> IPTraf work directory /var/local/iptraf already exists
>>> IPTraf log directory /var/log/iptraf already exists
>>> IPTraf lockfile directory /var/run/iptraf already exists
*** iptraf, and rvnamed executables are in /usr/local/bin
*** Log files are placed in /var/log/iptraf |
|