Hi,

I'm trying to compile the ip_wccp.c module so squid and my Cisco router can
do wccp.
This (compiling and running it) worked fine on a RH9 box, but fails on ES3
with following message.
I found some other threads on this subject (same problem), but didn't find a
solution.

Hope anyone can help, 'cause I'm totally stuck right now!

Thnx
Ron


gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-4.EL/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.21-4.EL/include/linux/modversions.h -nostdinc -iwithprefix
include -DKBUILD_BASENAME=cpufreq -DEXPORT_SYMTAB -c ip_wccp.c

ip_wccp.c:140: warning: excess elements in struct initializer
ip_wccp.c:140: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c:141: warning: excess elements in struct initializer
ip_wccp.c:141: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c:142: warning: excess elements in struct initializer
ip_wccp.c:142: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c:144: warning: excess elements in struct initializer
ip_wccp.c:144: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c: In function `wccp_add_protocol':
ip_wccp.c:145: too few arguments to function
`inet_add_protocol_Rsmp_dc5483d7'
ip_wccp.c: In function `wccp_del_protocol':
ip_wccp.c:146: too few arguments to function
`inet_del_protocol_Rsmp_23842692'