<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"> <div>Hi,</div><div><br></div><div>I have cross-compiled squid 3.5 with mingw32-w64 on Ubuntu. The properties are:</div><div><br></div><div><em><strong>c:\squid\sbin>squid -v<br></strong>Squid Cache: Version 3.5.0.3-20141209-r13687<br>Service Name: squid<br>Test build<br>configure options: '--host=i686-w64-mingw32' '--prefix=c:/squid' 'CXXFLAGS=-DWI<br>NVER=0x601 -D_WIN32_WINNT=0x601 -fpermissive' 'CFLAGS=-DWINVER=0x601 -D_WIN32_WI<br>NNT=0x601 -fpermissive' 'BUILDCXX=g++' 'BUILDCXXFLAGS=-DFOO' '--enable-build-inf<br>o=Test build' 'host_alias=i686-w64-mingw32' --enable-ltdl-convenience<br></em></div><div><br></div><div>When I try to run it on windows 7 64, it gives a critical error at start, below is the debug trace:</div><div><em><strong>c:\squid\sbin>squid.exe -X -f squid.conf<br></strong>2014/12/19 00:17:40.101| debug.cc(403) parseOptions: command-line -X overrides:<br>ALL,7<br>2014/12/19 00:17:40.101| signal: sig=31 func=sigusr2_handle: (0) No error.<br>2014/12/19 00:17:40.101| cache_manager.cc(80) registerProfile: registering legac<br>y mem<br>2014/12/19 00:17:40.101| cache_manager.cc(114) findAction: CacheManager::findAct<br>ion: looking for action mem<br>2014/12/19 00:17:40.101| cache_manager.cc(122) findAction: Action not found.<br>2014/12/19 00:17:40.101| cache_manager.cc(65) registerProfile: registered profil<br>e: mem<br>2014/12/19 00:17:40.101| cache_manager.cc(80) registerProfile: registering legac<br>y squidaio_counts<br>2014/12/19 00:17:40.111| cache_manager.cc(114) findAction: CacheManager::findAct<br>ion: looking for action squidaio_counts<br>2014/12/19 00:17:40.111| cache_manager.cc(122) findAction: Action not found.<br>2014/12/19 00:17:40.121| cache_manager.cc(65) registerProfile: registered profil<br>e: squidaio_counts<br>2014/12/19 00:17:40.121| rock/RockStoreFileSystem.cc(50) setup: Will use Rock FS</em></div><div><em>2014/12/19 00:17:40.121| Startup: Initializing Authentication Schemes ...<br>2014/12/19 00:17:40.121| Startup: Initialized Authentication Scheme 'basic'<br>2014/12/19 00:17:40.121| Startup: Initialized Authentication Scheme 'digest'<br>2014/12/19 00:17:40.121| Startup: Initialized Authentication Scheme 'negotiate'<br>2014/12/19 00:17:40.121| Startup: Initialized Authentication Scheme 'ntlm'<br>2014/12/19 00:17:40.121| Startup: Initialized Authentication.<br>2014/12/19 00:17:40.151| tools.cc(47) ProbeTransport: Detected IPv6 hybrid or v4<br>-mapping stack...<br>2014/12/19 00:17:40.151| tools.cc(61) ProbeTransport: IPv6 transport Enabled<br>2014/12/19 00:17:40.151| Config.cc(48) registerTokens: register format tokens f<br>or 'adapt'<br>2014/12/19 00:17:40.151| Config.cc(48) registerTokens: register format tokens f<br>or 'icap'<br>2014/12/19 00:17:40.151| cache_cf.cc(570) parseConfigFile:<br>2014/12/19 00:17:40.151| cf_parser.cci(4089) free_all:<br>2014/12/19 00:17:40.151| Acl.cc(396) Registered: ACL::Prototype::Registered: inv<br>oked for type src<br>2014/12/19 00:17:40.151| Acl.cc(400) Registered: ACL::Prototype::Registered:<br>yes<br>2014/12/19 00:17:40.151| Acl.cc(97) FindByName: ACL::FindByName 'all'<br>2014/12/19 00:17:40.151| Acl.cc(103) FindByName: ACL::FindByName found no match<br>2014/12/19 00:17:40.151| Acl.cc(238) ParseAclLine: aclParseAclLine: Creating ACL<br> 'all'<br>2014/12/19 00:17:40.151| Acl.cc(432) Factory: ACL::Prototype::Factory: cloning a<br>n object for type 'src'<br>2014/12/19 00:17:40.151| Ip.cc(233) FactoryParse: aclIpParseIpData: all<br>2014/12/19 00:17:40.161| Ip.cc(237) FactoryParse: aclIpParseIpData: magic 'all'<br>found.<br>2014/12/19 00:17:40.161| Acl.cc(396) Registered: ACL::Prototype::Registered: inv<br>oked for type url_regex<br>2014/12/19 00:17:40.161| Acl.cc(400) Registered: ACL::Prototype::Registered:<br>yes<br>2014/12/19 00:17:40.161| Acl.cc(97) FindByName: ACL::FindByName 'manager'<br>2014/12/19 00:17:40.161| Acl.cc(103) FindByName: ACL::FindByName found no match<br>2014/12/19 00:17:40.161| Acl.cc(238) ParseAclLine: aclParseAclLine: Creating ACL<br> 'manager'<br>2014/12/19 00:17:40.161| Acl.cc(432) Factory: ACL::Prototype::Factory: cloning a<br>n object for type 'url_regex'<br>2014/12/19 00:17:40.161| RegexData.cc(303) aclParseRegexList: aclParseRegexList:<br> new Regex line or file<br>2014/12/19 00:17:40.161| RegexData.cc(311) aclParseRegexList: aclParseRegexList:<br> buffering RE '-i'<br>2014/12/19 00:17:40.161| RegexData.cc(311) aclParseRegexList: aclParseRegexList:<br> buffering RE '^cache_object://'<br>2014/12/19 00:17:40.161| RegexData.cc(311) aclParseRegexList: aclParseRegexList:<br> buffering RE '+i'<br>2014/12/19 00:17:40.161| RegexData.cc(311) aclParseRegexList: aclParseRegexList:<br> buffering RE '^https?://[^/]+/squid-internal-mgr/'<br>2014/12/19 00:17:40.161| RegexData.cc(194) compileOptimisedREs: compileOptimised<br>REs: -i<br>2014/12/19 00:17:40.161| RegexData.cc(218) compileOptimisedREs: compileOptimised<br>REs: adding RE '^cache_object://'<br>2014/12/19 00:17:40.161| RegexData.cc(208) compileOptimisedREs: compileOptimised<br>REs: +i<br>2014/12/19 00:17:40.161| RegexData.cc(153) compileRE: compileRE: compiled '(^cac<br>he_object://)' with flags 11<br>2014/12/19 00:17:40.171| RegexData.cc(218) compileOptimisedREs: compileOptimised<br>REs: adding RE '^https?://[^/]+/squid-internal-mgr/'<br>2014/12/19 00:17:40.171| RegexData.cc(153) compileRE: compileRE: compiled '(^htt<br>ps?://[^/]+/squid-internal-mgr/)' with flags 9<br>2014/12/19 00:17:40.171| RegexData.cc(261) compileOptimisedREs: compileOptimised<br>REs: 2 REs are optimised into one RE.<br>2014/12/19 00:17:40.171| Acl.cc(396) Registered: ACL::Prototype::Registered: inv<br>oked for type src<br>2014/12/19 00:17:40.171| Acl.cc(400) Registered: ACL::Prototype::Registered:<br>yes<br>2014/12/19 00:17:40.171| Acl.cc(97) FindByName: ACL::FindByName 'localhost'<br>2014/12/19 00:17:40.171| Acl.cc(103) FindByName: ACL::FindByName found no match<br>2014/12/19 00:17:40.171| Acl.cc(238) ParseAclLine: aclParseAclLine: Creating ACL<br> 'localhost'<br>2014/12/19 00:17:40.171| Acl.cc(432) Factory: ACL::Prototype::Factory: cloning a<br>n object for type 'src'<br>2014/12/19 00:17:40.171| Ip.cc(233) FactoryParse: aclIpParseIpData: 127.0.0.1/32</em></div><div><em>2014/12/19 00:17:40.171| Ip.cc(341) FactoryParse: aclIpParseIpData: '127.0.0.1/3<br>2' matched: SCAN3-v4: %[0123456789.]/%[0123456789.]<br>2014/12/19 00:17:40.171| Address.cc(379) lookupHostIP: Given Non-IP '127.0.0.1':<br> No such host is known.<br><font style="background-color: rgb(255, 255, 0);">2014/12/19 00:17:40.171| aclIpParseIpData: unknown first address in '127.0.0.1/3<br>2'<br>2014/12/19 00:17:40.171| tools.cc(543) leave_suid: leave_suid: PID 4792 called<br>FATAL: Bungled Default Configuration line 6: acl localhost src 127.0.0.1/32 ::1<br>Squid Cache (Version 3.5.0.3-20141209-r13687): Terminated abnormally.<br>CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys<br>Maximum Resident Size: 0 KB<br>Page faults with physical i/o: 0</font></em></div><div><font style="background-color: rgb(255, 255, 0);"><br></font></div><div><font style="background-color: rgb(255, 255, 0);"><font style="background-color: rgb(255, 255, 255);">Could you please advice what I'm doing wrong or whether this is a bug? Thank you!</font></font></div><div>-e</div><font style="background-color: rgb(255, 255, 0);"><div class="T-ays" role="tooltip" aria-live="polite" style="display: none;"><div>Add to Calendar</div><div><div class="T-ays-hFsbo"><div class="T-ays-atD"></div><div class="T-ays-atC"></div></div></div></div><div> </div></font><div> </div></div>
</div></body>
</html>