LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1029|回复: 0

编译组播pimd出现问题

[复制链接]
发表于 2010-1-31 23:49:57 | 显示全部楼层 |阅读模式
我在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
-----------------------------------------------------------------------------------------
!请各位大侠帮忙!!!谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表