google-code-export / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

r14316 compile fails in ipcache.c: In function 'ipcacheParse' #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. checkout r14316
2. bootstrap and configure with:
./configure \
        --prefix=/usr \
        --exec_prefix=/usr \
        --bindir=/usr/sbin --sbindir=/usr/sbin \
        --libexecdir=/usr/lib/squid \
        --sysconfdir=/etc/squid \
        --localstatedir=/var/spool/squid \
        --datadir=/usr/share/squid \
        --disable-internal-dns \
        --enable-async-io --with-pthreads
--enable-storeio=ufs,aufs,coss,diskd,null \
        --enable-linux-netfilter \
        --enable-arp-acl \
        --enable-epoll \
        --enable-removal-policies=lru,heap \
        --enable-snmp \
        --enable-delay-pools \
        --enable-htcp \
        --enable-cache-digests \
        --enable-underscores \
        --enable-referer-log \
        --enable-useragent-log \
        --enable-auth="basic,digest,ntlm,negotiate" \
        --enable-negotiate-auth-helpers=squid_kerb_auth \
        --enable-carp \
        --enable-follow-x-forwarded-for \
        --with-large-files \
        --with-maxfd=65536 \
        i386-debian-linux

3. Compile fails with:
ipcache.c: In function 'ipcacheParse':
ipcache.c:258: error: 'DNS_INBUF_SZ' undeclared (first use in this function)

DNS_INBUF_SZ is defined in src/defines.h but this seems not to be included
in ipcache.c.

Original issue reported on code.google.com by regar...@gmail.com on 7 Oct 2009 at 8:41

GoogleCodeExporter commented 9 years ago
Ignoring the "ufs & diskd" in the configure ....

This bug seems to be due to "--disable-internal-dns". I get further in the 
compile
process. Seems no dnsserver is built in this case 
(debian/rules from squid moans - guess I need to check if it exists 1st 
depending on
configure options)

Removing that get further in the compile process - ok .. its my birthday - best 
I
call it a night.

Original comment by regar...@gmail.com on 7 Oct 2009 at 10:33

GoogleCodeExporter commented 9 years ago
Right. Well, external DNS shouldn't be used these days. I've been meaning to 
remove
the support entirely.

Is there any reason you need it?

Original comment by adrian.c...@gmail.com on 15 Oct 2009 at 10:11

GoogleCodeExporter commented 9 years ago
I've removed the external DNS code entirely in r14317.

Original comment by adrian.c...@gmail.com on 15 Oct 2009 at 11:08

GoogleCodeExporter commented 9 years ago
since I've removed the code, I'm marking it as "fixed". :)

Original comment by adrian.c...@gmail.com on 15 Oct 2009 at 11:12

GoogleCodeExporter commented 9 years ago

Original comment by adrian.c...@gmail.com on 15 Oct 2009 at 11:12