[squid-users] Problem with running squid 3.5 on windows 7

Amos Jeffries squid3 at treenet.co.nz
Fri Dec 19 13:51:49 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20/12/2014 2:35 a.m., Eldar Akchurin wrote:
> Hi Amos,
> 
> It seems it uses a posix resolver for that, because cannot find the
> native implementation.
> 
> 
> 
> 
> 
> *configure:37657: checking for getaddrinfoconfigure:37657: 
> x86_64-w64-mingw32-g++ -o conftest.exe -DWINVER=0x601
> -D_WIN32_WINNT=0x601 -fpermissive -L/usr/lib -mthreads
> -static-libgcc -static-libstdc++  -g conftest.cpp  -lpsapi
> >&5/tmp/cckciKLu.o: In function 
> `main':/usr/src/squid-3.5.0.3-**20141209-r13687/conftest.cpp:*
> 
> *204: undefined reference to `getaddrinfo'collect2: error: ld
> returned 1 exit statusconfigure:37657: $? = 1 *
> 
> 
> Is this expected? If not, I will look how I can enable the native 
> implementation.

Well, the targeted Win7 version (0x601) is supposed to supply a native
getaddrinfo() and IIRC the MinGW headers included a definition. So I
expect (more of a hope really) that the MinGW supplied version should
be detected and used with the right autoconf test.

If you are able to figure this one out it would be a great help. I'm
not able to spare any time to Windows for a few weeks at least.

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUlC10AAoJELJo5wb/XPRjRQsH+gMtH17XrfhnwDicZMS5iRlQ
aYcE7ocsX355703i1QnKi3IXtDdrxnMG8AD8xmlyvnEjvnrZKGc2tSQrl6WZNygW
VP3dt/hTWzI7x4+gYBwPmMMYojQKvLUaDwX3vTX6cpRBJY/U07NdjQF4F2OPoU6Z
DON68zCz3K/b8IABhWYNFuyT/bcAsb5U+XbPiVGSnPxH1ArH1++Uqn0+hnTUWJoD
9A8rNbj4aoJz4JnM/8v89dsQFBVFmSyGBqmPk4CpIUc1oZewyf8+BMvxK6VhwoAo
mH9n7jq+Hy/i9lOGQ1FwjbiL52pnJxszvaxqBb+pED0c8tD/N4wqkM4F331/ZQ0=
=9NMH
-----END PGP SIGNATURE-----


More information about the squid-users mailing list