[squid-users] squid-3.0.STABLE3 make error in dns_internal.cc

From: Tvrtko Majstorović <tvrtkom@dont-contact.us>
Date: Tue, 01 Apr 2008 06:59:14 +0200

Hi,

I'm trying to compile squid on my Debian-etch Linux with:

./configure --prefix=/usr --localstatedir=/var
--libexecdir=${prefix}/lib/squid --srcdir=.
--datadir=${prefix}/share/squid --sysconfdir=/etc/squid
--enable-delay-pools --with-default-user=proxy

I have applied patch to 'src/Makefile.am' described on your pages, but
when I run 'make' get this error:

dns_internal.cc: In function ‘void idnsSendQuery(idns_query*)’:
dns_internal.cc:778: error: cannot convert ‘sockaddr_in’ to ‘const
sockaddr_in*’ for argument ‘2’ to ‘int comm_udp_sendto(int, const
sockaddr_in*, int, const void*, int)’
make[3]: *** [dns_internal.o] Error 1
make[3]: Leaving directory `/home/tvrtko/downloads/squid-3.0.STABLE3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tvrtko/downloads/squid-3.0.STABLE3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home

I'm truly sorry if this problem was discussed before, just couldn't find
the fix to the problem.

Cheers,
Tvrtko
Received on Mon Mar 31 2008 - 22:59:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT