Search squid archive

[squid-users] WCCP Compilation Error

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

 



I am building squid (2.5STABLE7) on a new RHEL 3 AS dell server (kernel
2.4.21-4.ELsmp).  When compiling the ip_wccp module I get the following
error:

iip_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

Output of those lines in the ip_wccp.c file:

  IPPROTO_GRE,
  0,
  NULL,
  "GRE"
};
static inline void wccp_add_protocol(void) {
inet_add_protocol(&ipwccp_protocol); }
static inline int wccp_del_protocol(void) { return
inet_del_protocol(&ipwccp_protocol); }

I have searched the archives and google but can't find any solutions for
this.  I tried using the latest ip_wccp.c file from squid-cache.org and a
file I used successfully on AS 2.1 a year ago.  Any guidance is greatly
appreciated!

Scott Phalen


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux