On 11/05/2012 12:03 a.m., Mustafa Raji wrote:
hi
i have some problem of compiling squid manually the configuration options are
./configure --prefix=/usr/local/squid3 --disable-maintainer-mode
--enable-storeio=ufs,aufs --enable-removal-policies=lru,heap
--enable-underscores --enable-external-acl-helpers=ip_user,wbinfo_group
--enable-zph-qos --with-filedescriptors=32768 --with-large-files
--enable-linux-netfilter --enable-htcp --with-pthreads --enable-snmp
--enable-wccp --enable-wccpv2
the configuration option is done normally without any error, when i want to
make the squid source the error messages appears
PtrFunE[typeinfo for CommCbFunPtrCallT<CommConnectCbPtrFun>]+0x10): undefined
reference to `typeinfo for AsyncCall'
./.libs/libsquid.a(CommCalls.o): In function `CommConnectCbParams':
/programs/squid-3.1.0.11/src/CommCalls.cc:54: undefined reference to
`DnsLookupDetails::DnsLookupDetails()'
/programs/squid-3.1.0.11/src/CommCalls.cc:54: undefined reference to
`DnsLookupDetails::DnsLookupDetails()'
./.libs/libsquid.a(CommCalls.o): In function `operator<<':
/programs/squid-3.1.0.11/src/DnsLookupDetails.h:28: undefined reference to
`DnsLookupDetails::print(std::basic_ostream<char, std::char_traits<char> >&)
const'
collect2: ld returned 1 exit status
make[3]: *** [ufsdump] Error 1
make[3]: Leaving directory `/programs/squid-3.1.0.11/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/programs/squid-3.1.0.11/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/programs/squid-3.1.0.11/src'
make: *** [all-recursive] Error 1
can anyone tell me what is the wrong,
The current Squid-3.1 release is 3.1.19. Please use the latest release
possible when self-building to ensure you get the code with least bugs.
Amos