I have Redhat 6.1 when a try to compile the ip_wccp.c I get all these erros:
gcc -o ip_wccp.o ip_wccp.c
In file included from /usr/include/linux/sched.h:14,
from ip_wccp.c:10:
/usr/include/linux/timex.h:159: field `time' has incomplete type
In file included from /usr/include/linux/sched.h:74,
from ip_wccp.c:10:
/usr/include/asm/processor.h:285: warning: `struct task_struct' declared inside parameter list
/usr/include/asm/processor.h:285: warning: its scope is only this definition or declaration,
/usr/include/asm/processor.h:285: warning: which is probably not what you want.
/usr/include/asm/processor.h:289: warning: `struct task_struct' declared inside parameter list
ip_wccp.c: In function `ip_wccp_rcv':
ip_wccp.c:32: warning: assignment makes pointer from integer without a cast
ip_wccp.c:37: invalid type argument of `->'
ip_wccp.c: At top level:
ip_wccp.c:51: variable `ipgre_protocol' has initializer but incomplete type
ip_wccp.c:52: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c:53: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c:54: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c:55: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c:56: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c:57: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c:59: warning: excess elements in struct initializer after `ipgre_protocol'
ip_wccp.c: In function `init_module':
ip_wccp.c:63: `KERN_INFO' undeclared (first use in this function)
ip_wccp.c:63: (Each undeclared identifier is reported only once
ip_wccp.c:63: for each function it appears in.)
ip_wccp.c:63: parse error before string constant
ip_wccp.c: In function `cleanup_module':
ip_wccp.c:71: `KERN_INFO' undeclared (first use in this function)
ip_wccp.c:71: parse error before string constant
Received on Thu Apr 06 2000 - 11:23:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:50 MST