ip_wccp module and squid with RHEL 3 AS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Have anyone tried to compile the ip_wccp module mentioned in the 
squid-cache.org FAQ ??
It is linked here http://www.squid-cache.org/WCCP-support/Linux/ip_wccp.c

This module is required to enable wccp.
However, I always get compilation errors when trying it on RHEL 3, while it 
compiles fine on RHL 9.

The compilation I did like that

root# gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes  
- -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce 
- -mcpu=i386 -DCPU=i386 -DMODULE -DMODVERSIONS 
- -include /usr/src/linux-2.4/include/linux/modversions.h -c ip_wccp.c

(All on one line)
And the error I got was


ip_wccp.c:133: warning: excess elements in struct initializer
ip_wccp.c:133: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c:134: warning: excess elements in struct initializer
ip_wccp.c:134: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c:135: warning: excess elements in struct initializer
ip_wccp.c:135: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c:137: warning: excess elements in struct initializer
ip_wccp.c:137: warning: (near initialization for `ipwccp_protocol')
ip_wccp.c: In function `wccp_add_protocol':
ip_wccp.c:138: too few arguments to function `inet_add_protocol_Rsmp_dc5483d7'
ip_wccp.c: In function `wccp_del_protocol':
ip_wccp.c:139: too few arguments to function `inet_del_protocol_Rsmp_23842692'

Anything wrong ??

Anyone faced this before ??

Regards
aratux
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAmNEx2FHsOWMJBKMRAiEZAKCXk9FYmXDIghh54qWD4Xdhuu/oAACfbUrV
bH+CM/bBimxmkVolXHHV7uo=
=LBC3
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux