Re: [squid-users] Fedora Core 2 and Wccp 1 support

From: unixware <datareactor@dont-contact.us>
Date: Sun, 25 Jul 2004 20:46:45 -0700 (PDT)

--- Henrik Nordstrom <hno@squid-cache.org> wrote:
> On Tue, 22 Jun 2004, unixware wrote:
>

Thanks for your reply . it good to see you again in
mailinglist.

i follow the steps you mentioned when issuing
"modprobe ip_wccp .but i get this errors

FATAL: Error inserting ip_wccp
(/lib/modules/2.6.5-1.358/kernel/net/ipv4/ip_wccp.ko):
Invalid module format
 
and i get these errors in
Jul 25 18:20:41 Test-Cache kernel: ip_wccp: version
magic '2.6.5-1.358custom SMP 686 REGPARM 4KSTACKS
gcc-3.3' should be '2.6.5-1.358 686 REGPARM 4KSTACKS
gcc
-3.3'

MY machine is P4 with Single Processor with Hyper
threading enabled .

Thanks and Regards

UX

> >
> > Dear all
> >
> > i want to patch Fedora 2 kernel with wccp v 1
> support
> > i download the module at
> >
>
http://www.squid-cache.org/WCCP-support/Linux/ip_wccp.c
> >
> >
> > but i dont know correct GCC lines to compile as in
> > kerenl 2.6.5 lines has been location changed .
>
>
> A quick investigation of Linux-2.6 build model
> showed that the following
> simple procedure works for compiling ip_wccp for
> your kernel:
>
> 1. Build and test your kernel. This is required in
> order to correcly build
> additional modules..
>
> 2. Create a directory somewhere and place the
> ip_wccp.c file in this
> directory.
>
> 3. In the same directory create a file named
> "Makefile" with the following
> content:
>
> obj-m += ip_wccp.o
>
> 4. Compile the module by running the following from
> the top of the kernel
> tree:
>
> make M=/path/to/above/directory modules
> modules_install
>
> 5. Update module dependencies by running
>
> depmod -a
>
> 6. Load the module
>
> modprobe ip_wccp
>
> The above is tested on Fedora Core 2, but should
> work on any Linux-2.6
> based system. A big improvement from Linux-2.4.
>
>
> How to build extra modules without first compiling
> and testing your
> kernel is possible but is outside the scope of this
> document as it is very
> distribution dependent and not how things are
> supposed to be done.
>
> Regards
> Henrik
>
>
>

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Received on Sun Jul 25 2004 - 21:46:51 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT