Re: [squid-users] ip_wccp.c error

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 12 Dec 2001 11:56:14 +0100

It seems you have a space too many in that line. -fno-strict-aliasing is
one word, not two.

Yudhi Kukuh wrote:
>
> dear all,
>
> i'm using :
> Red Hat Linux release 7.2 (Enigma)
> Kernel 2.4.7-10
> Squid: squid-2.4.STABLE3
>
> i can't configure WCCP v1 while i'm stuck when compiling ip_wccp.c. I took
> the source from:
> http://aurora.dti2.net/parches
> and compiling using:
> gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer \ -fno-strict-
> aliasing -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE -DMODVERSIONS -
> include \ /usr/src/linux-2.4/include/linux/modversions.h -c ip_wccp.c
>
> and the error msg is:
> gcc: -fno-strict-: No such file or directory
> gcc: aliasing: No such file or directory
> ip_wccp.c:1:13: /usr/src/linux-2.4/include/linux/modversions.h: No such
> file or directory
> ip_wccp.c:86: warning: initialization from incompatible pointer type
>
> so, what should i do to compile ?
>
> regards,
>
> ...... Yudhi Kukuh
> yudhi.kukuh@link.net.id
Received on Wed Dec 12 2001 - 03:57:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:19 MST