Re: [squid-users] Re: Ip wccp patch for kernel 2.6 Fedora2

From: Eswari sharma <eswaris@dont-contact.us>
Date: Fri, 27 Aug 2004 19:21:04 -0700

Unixware wrote :
> 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

I struck up at this step , it generates many errors and warning as given
below :

--
---
---
include/net/sock.h:228: error: storage size of `sk_error_queue' isn't known
include/net/sock.h:238: error: storage size of `sk_peercred' isn't known
include/net/sock.h:246: error: storage size of `sk_stamp' isn't known
include/linux/in6.h:56: error: storage size of `sin6_addr' isn't known
include/net/route.h:69: error: storage size of `fl' isn't known
make[1]: *** [/usr/src/ip_wccp/ip_wccp.o] Error 1
make: *** [/usr/src/ip_wccp] Error 2
Thanks for your prompt reply and all solution regarding this problem will be
highly appreciated.
regards,
eswari
Received on Fri Aug 27 2004 - 07:34:15 MDT

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