Re: [squid-users] Can not compile ip_wccp.c

From: Henrik Nordstrom <>
Date: Thu, 26 Feb 2004 22:35:59 +0100 (CET)

On Fri, 27 Feb 2004, Mahmood Ahmed wrote:

> [root@dragon linux]# gcc -D__KERNEL__ -I/usr/include/linux -Wall
> -Wstrict-prototypes\
> > -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce \
> > -mcpu=i386 -DCPU=386 -DMODULE -DMODVERSIONS -include \
> > /usr/include/linux/modversions.h -c ip_wccp.c

both /usr/include/linux references above should point to your kernel
sources, not the /usr/include directory. Usually
/usr/src/linux-2.4.24/include/linux or similar.

If you have not built your own custom kernel this first needs to be done.
Few if any distributions include kernel headers that allow easy building
of extra modules without first building a custom kernel to use with the

Received on Thu Feb 26 2004 - 16:39:08 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST