inevity / lusca-cache

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

failure with --enable-multicast-miss on FreeBSD 7.2 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run bootstrap, then configure with the following options:
./configure --prefix=/opt/Lusca-cache \
        --enable-removal-policies="lru heap" \
        --disable-linux-netfilter \
        --disable-linux-tproxy \
        --disable-epoll \
        --enable-auth="basic ntlm digest" \
        --enable-basic-auth-helpers="DB NCSA PAM MSNT SMB YP" \
        --enable-digest-auth-helpers=password \
        --enable-external-acl-helpers="ip_user session unix_group
wbinfo_group" \
        --enable-ntlm-auth-helpers=SMB \
        --with-pthreads --enable-storeio="aufs coss null" \
        --enable-delay-pools --enable-snmp --enable-ssl \
        --with-openssl=/usr --enable-forw-via-db --enable-cache-digests \
        --enable-wccpv2 --enable-referer-log --enable-useragent-log \
        --enable-arp-acl --enable-pf-transparent --enable-ipf-transparent \
        --enable-follow-x-forwarded-for --with-large-files \
        --enable-large-cache-files \
        --enable-err-languages="Dutch English French German Italian Swedish" \
        --enable-default-err-language=English \
        --enable-kill-parent-hack \
        --enable-forward-log  \
        --enable-multicast-miss \ 

What is the expected output? What do you see instead?

gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/opt/Lusca-cache/etc/squid.conf\" -I. -I../include
-I. -I. -I../include -I../include   -I/usr/local/include  -Wall -g -O2
-D_REENTRANT -MT access_log.o -MD -MP -MF .deps/access_log.Tpo -c -o
access_log.o access_log.c
access_log.c: In function 'accessLogInit':
access_log.c:1301: warning: passing argument 6 of 'comm_open' makes integer
from pointer without a cast
access_log.c:1301: error: too few arguments to function 'comm_open'
*** Error code 1

What version of the product are you using? On what operating system?

LUSCA_HEAD as at 20090518 on FreeBSD 7.2-STABLE

Original issue reported on code.google.com by odhia...@gmail.com on 21 May 2009 at 8:18

GoogleCodeExporter commented 9 years ago
I've just committed a fix to LUSCA_HEAD - revision 14068. Give that a whirl.

Original comment by adrian.c...@gmail.com on 22 May 2009 at 9:20

GoogleCodeExporter commented 9 years ago
Still fails, but differently now:

gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/Lusca-cache/etc/squid.conf\" 
-I.
-I../include -I. -I. -I../include -I../include   -I/usr/local/include  -Wall -g 
-O2
-D_REENTRANT -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c
http.c: In function 'httpReadReply':
http.c:1222: error: 's' undeclared (first use in this function)
http.c:1222: error: (Each undeclared identifier is reported only once
http.c:1222: error: for each function it appears in.)
*** Error code 1

Original comment by odhia...@gmail.com on 22 May 2009 at 11:25

GoogleCodeExporter commented 9 years ago
.. just committed a fix to http.c in revision 14069.

Original comment by adrian.c...@gmail.com on 22 May 2009 at 11:31

GoogleCodeExporter commented 9 years ago
Issue is now resolved. My compile completed successfully.

Original comment by odhia...@gmail.com on 22 May 2009 at 1:57

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by adrian.c...@gmail.com on 22 May 2009 at 2:11