Thanks Henrik. Yes, I will copy-paste the gcc command line from the make modules. Then compile the ip_wccp.c using those command.
FYI, currently I just need WCCPv1 instead v2. Anyway, should I also active the IP GRE when I use WCCP (let say ip_wccp.o module already loaded by insmod)? I become confuse, some documents explained to load WCCP and GRE together at the same time. But I agree with your email said that it can "only have one installed at a time" So, I only need WCCP module and GRE can be ignored, am I right? Thx & Rgds, Awie ----- Original Message ----- From: "Henrik Nordstrom" <[EMAIL PROTECTED]> To: "Awie" <[EMAIL PROTECTED]>; "Squid-users" <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 6:25 AM Subject: Re: [squid-users] Compile WCCP module optimally > On Tuesday 12 August 2003 16.12, Awie wrote: > > > Sorry for this (beginner) question. However, I want to know how to > > compile match and optimally the ip_wccp.c into my RH 7.3 (kernel > > 2.4.21) on Pentium 4 machine. > > Kernel modules are optimally compiled using the exact same gcc flags > as used by the kernel makefiles when compiling kernel modules in > "make modules" during a kernel build. (just copy-paste the options > from a gcc line shown during "make modules"). > > Note: It is almost impossible to compile separate modules correclty to > the RedHat kernels without also compiling your own kernel. > > > -- > Donations welcome if you consider my Free Squid support helpful. > https://www.paypal.com/xclick/business=hno%40squid-cache.org > > If you need commercial Squid support or cost effective Squid or > firewall appliances please refer to MARA Systems AB, Sweden > http://www.marasystems.com/, [EMAIL PROTECTED] >
