I'v finally tried squid1.2beta ....
I'v found the fallowing problem while compiling with the options:
./configure --prefix=/usr/local/squid
--enable-snmp --enable-cachemgr-hostname=localhost --enable-icmp --enable-u
seragent-log --enable-delay-hack --enable-xmalloc-statistics --enable-acltre
e=splay --enable-dlmalloc --enable-gnuregex --enable-arp-acl
--enable-arp-acl -> It seems that this option requires some .h's that my
Slackware Linux don't have:
#include <net/if_dl.h>
#include <netinet/if_ether.h>
Where can i find them ??
After removed this option, it still doesn't compiles, now due to some
problem with the option:
--enable-acltree=splay
while compiling ... the gcc reported:
acl.c: In function `aclParseIpData':
acl.c:406: structure has no member named `next'
acl.c: In function `aclParseIpList':
acl.c:460: structure has no member named `next'
acl.c: At top level:
acl.c:2187: warning: `aclDumpWordList' defined but not used
Taking a look at struct.h i'v seen that the "next" member of the struct
isn't defined when we use SPLAY trees for acl's ...
struct _acl_ip_data {
struct in_addr addr1; /* if addr2 non-zero then its a range */
struct in_addr addr2;
struct in_addr mask;
#ifndef USE_SPLAY_TREE
acl_ip_data *next;
#endif
};
My guess is that instead of #ifndef USE_SPLAY_TREE , the test should be the
reverse: #ifdef USE_SPLAY_TREE
Is that correct ??
I hope that this will contribute for squid development.
Best Regards.
[]---------------------------------------------------------------[]
Pedro Ribeiro
Online: http://www.cc.isel.pt/Pessoais/PedroRibeiro
IRC(PTnet) Nick: PAntMaR
e-Mail: Personal: pribeiro@cc.isel.pt
Admin: admin@isel.pt
Tel: +351-1-8317128 / Fax: +351-1-8317171
[]---------------------------------------------------------------[]
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:14 MST