get the patch from here http://aurora.dti2.net/parches/ im using 2.4.18.
=>Date: Wed, 3 Apr 2002 16:42:56 +0800 =>From: fooler <[EMAIL PROTECTED]> =>Reply-To: [EMAIL PROTECTED] =>To: [EMAIL PROTECTED] =>Subject: Re: [plug] Compiling support for WCCP => =>----- Original Message ----- =>From: <[EMAIL PROTECTED]> =>To: <[EMAIL PROTECTED]> =>Sent: Wednesday, April 03, 2002 12:20 PM =>Subject: [plug] Compiling support for WCCP => => =>> 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 `->' => =>i thought you are using freebsd for your web proxy :-> anyway your problem =>is that it didnt find "net/ip.h" header, that is why there is implicit =>declaration of function IPCB.... to solve your problem, append an extra =>parameter which is the default path of your included files to your gcc =>compiler to locate the exact location of net/ip.h.... for example, as what =>you stated above plus the extra parameter: => =>gcc -I/usr/src/linux-X.Y/include -O2 -Wall -m486 -fomit-frame-pointer -D__KE =>RNEL__ -DMODULE -c => =>where linux-X.Y is the version of your kernel used (gcc space minus capital =>i/path) => =>if you want for freebsd, i have had here a modified gre.c and gre.patch =>suited for freebsd version 4.5. => =>fooler. => =>_ =>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] => -- Cheers, Paul P. Pongco Mosaic Communications Inc. _ 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]
