Hi all, Can anyone share their experience compiling WCCP support on RedHat 7.2 or any Linux distribution with kernel 2.4? I'm configuring WCCP support for Squid on a Linux box but encountered problems while compiling the `ip_wccp' module:
> gcc -O2 -Wall -m486 -fomit-frame-pointer -D__KERNEL__ -DMODULE -c > ip_wccp.c -o ip_wccp.o > ip_wccp.c: In function `ip_wccp_rcv': > ip_wccp.c:38: warning: implicit declaration of function `IPCB' > ip_wccp.c:38: invalid type argument of `->' > ip_wccp.c:38: invalid type argument of `->' > ip_wccp.c:38: invalid type argument of `->' > ip_wccp.c:38: invalid type argument of `->' > ip_wccp.c:42: warning: implicit declaration of function `dst_release' > ip_wccp.c:45: warning: implicit declaration of function `ip_rcv' > ip_wccp.c: At top level: > ip_wccp.c:52: variable `ipgre_protocol' has initializer but incomplete type > ip_wccp.c:53: warning: excess elements in struct initializer > ip_wccp.c:53: warning: (near initialization for `ipgre_protocol') > ip_wccp.c:54: warning: excess elements in struct initializer > ip_wccp.c:54: warning: (near initialization for `ipgre_protocol') > ip_wccp.c:55: warning: excess elements in struct initializer > ip_wccp.c:55: warning: (near initialization for `ipgre_protocol') > ip_wccp.c:56: warning: excess elements in struct initializer > ip_wccp.c:56: warning: (near initialization for `ipgre_protocol') > ip_wccp.c:57: warning: excess elements in struct initializer > ip_wccp.c:57: warning: (near initialization for `ipgre_protocol') > ip_wccp.c:58: warning: excess elements in struct initializer > ip_wccp.c:58: warning: (near initialization for `ipgre_protocol') > ip_wccp.c:60: warning: excess elements in struct initializer > ip_wccp.c:60: warning: (near initialization for `ipgre_protocol') > ip_wccp.c: In function `init_module': > ip_wccp.c:65: warning: implicit declaration of function `inet_add_protocol' > ip_wccp.c: In function `cleanup_module': > ip_wccp.c:71: warning: implicit declaration of function `inet_del_protocol' --- francis a. vidal [bitstop network services] | http://www.dagupan.com streaming media + web hosting | http://www.keystone.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
