|
我在rhel5上面编译pimd_2.1.0-alpha29.17出现如下错误提示:
[root@localhost pimd-2.1.0-alpha29.17]# make
gcc -Wall -g -Iinclude/linux -D__BSD_SOURCE -DRAW_INPUT_IS_RAW -DRAW_OUTPUT_IS_R
AW -DIOCTL_OK_ON_RAW_SOCKET -DLinux -Iinclude -DPIM -c -o igmp.o igmp.c
In file included from include/linux/netinet/in-slackware.h:173,
from include/linux/netinet/in.h:24,
from defs.h:74,
from igmp.c:44:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header;
include <endian.h> instead!
In file included from include/linux/netinet/in-my.h:25,
from include/linux/netinet/mroute.h:5,
from defs.h:88,
from igmp.c:44:
/usr/include/arpa/inet.h:35: error: syntax error before "inet_addr"
/usr/include/arpa/inet.h:38: error: syntax error before "inet_lnaof"
/usr/include/arpa/inet.h:42: error: syntax error before "__net"
/usr/include/arpa/inet.h:46: error: syntax error before "inet_netof"
/usr/include/arpa/inet.h:50: error: syntax error before "inet_network"
/usr/include/arpa/inet.h:78: error: syntax error before "__net"
In file included from igmp.c:44:
defs.h:432: warning: conflicting types for built-in function 'log'
make: *** [igmp.o] error 1
-----------------------------------------------------------------------------------------
!请各位大侠帮忙!!!谢谢 |
|