리눅스 PF_RING 커널 컴파일하는데요.
작성자 정보
- 연얀 작성
- 작성일
컨텐츠 정보
- 3,766 조회
- 0 추천
- 목록
본문
centos 5.3 , 5.4 다 이거 뜨네요.. 안깐것도 없는거 같은데..
make에서
net/ring/ring_packet.c:159: error: conflicting types for ‘ip_defrag’
include/net/ip.h:323: error: previous declaration of ‘ip_defrag’ was here
net/ring/ring_packet.c: In function ‘ring_gather_frags’:
net/ring/ring_packet.c:273: warning: implicit declaration of function ‘ip_hdr’
net/ring/ring_packet.c:273: warning: passing argument 1 of ‘ip_send_check’ makes pointer from integer without a cast
net/ring/ring_packet.c: In function ‘ring_proc_init’:
net/ring/ring_packet.c:527: error: ‘init_net’ undeclared (first use in this function)
net/ring/ring_packet.c:527: error: (Each undeclared identifier is reported only once
net/ring/ring_packet.c:527: error: for each function it appears in.)
net/ring/ring_packet.c: In function ‘ring_proc_term’:
net/ring/ring_packet.c:559: error: ‘init_net’ undeclared (first use in this function)
net/ring/ring_packet.c: In function ‘skb_ring_handler’:
net/ring/ring_packet.c:1897: error: ‘struct sk_buff’ has no member named ‘iif’
net/ring/ring_packet.c:1924: warning: implicit declaration of function ‘skb_reset_network_header’
net/ring/ring_packet.c:1925: warning: implicit declaration of function ‘skb_reset_transport_header’
net/ring/ring_packet.c:1926: warning: implicit declaration of function ‘skb_set_network_header’
net/ring/ring_packet.c:1928: warning: assignment makes pointer from integer without a cast
net/ring/ring_packet.c:1984: error: ‘struct skb_timeval’ has no member named ‘tv64’
net/ring/ring_packet.c:1986: error: ‘struct skb_timeval’ has no member named ‘tv64’
net/ring/ring_packet.c: In function ‘buffer_ring_handler’:
net/ring/ring_packet.c:2105: error: ‘struct skb_timeval’ has no member named ‘tv64’
net/ring/ring_packet.c: At top level:
net/ring/ring_packet.c:2259: warning: ‘struct net’ declared inside parameter list
net/ring/ring_packet.c:2259: warning: its scope is only this definition or declaration, which is probably not what you want
net/ring/ring_packet.c: In function ‘ring_create’:
net/ring/ring_packet.c:2280: warning: passing argument 1 of ‘sk_alloc’ makes integer from pointer without a cast
net/ring/ring_packet.c:2280: warning: passing argument 3 of ‘sk_alloc’ makes pointer from integer without a cast
net/ring/ring_packet.c:2280: warning: passing argument 4 of ‘sk_alloc’ makes integer from pointer without a cast
net/ring/ring_packet.c: In function ‘ring_bind’:
net/ring/ring_packet.c:2612: error: ‘init_net’ undeclared (first use in this function)
net/ring/ring_packet.c:2613: error: too many arguments to function ‘__dev_get_by_name’
net/ring/ring_packet.c: In function ‘ring_setsockopt’:
net/ring/ring_packet.c:3374: error: ‘init_net’ undeclared (first use in this function)
net/ring/ring_packet.c:3375: error: too many arguments to function ‘dev_get_by_name’
net/ring/ring_packet.c:3523: error: too many arguments to function ‘dev_get_by_name’
net/ring/ring_packet.c: At top level:
net/ring/ring_packet.c:4073: warning: initialization from incompatible pointer type
make[2]: *** [net/ring/ring_packet.o] 오류 1
make[1]: *** [net/ring] 오류 2
make: *** [net] 오류 2
이렇게 오류가 뜨네요.. -_-;;
관련자료
-
이전
-
다음