[squid-dev] Can't build squid on Windows

Alex Rousskov rousskov at measurement-factory.com
Mon May 27 14:38:44 UTC 2024


On 2024-05-25 18:27, Larry Anselof wrote:
> Hi there,
> 
> I got the source and am trying to build it.
> 
> This is the version I have: "squid-6.9-20240523-rfb0d1814dd.tar.gz".
> 
> I set up Cygwin environment on Windows and followed the instructions. 
> Midway through the `make` command, I get errors, starting with the ones 
> mentioned below:
> 
> /ext_lm_group_acl.cc:109:1: error: no previous declaration for ‘char* 
> AllocStrFromLSAStr(LSA_UNICODE_STRING)’ [-Werror=missing-declarations]
>    109 | AllocStrFromLSAStr(LSA_UNICODE_STRING LsaStr)
>        | ^~~~~~~~~~~~~~~~~~
> ext_lm_group_acl.cc:131:1: error: no previous declaration for ‘char* 
> GetDomainName()’ [-Werror=missing-declarations]
>    131 | GetDomainName(void)
>        | ^~~~~~~~~~~~~
> In file included from ../../../../compat/compat.h:104,
>                   from ../../../../include/squid.h:32,
>                   from ext_lm_group_acl.cc:78:/
> 
> The build process terminates.
> 
> Screenshot is attached below:
> image.png
> 
> 
> Will you be fixing this error, so that the Windows build can work?

This problem is being tracked as Bug 5377. Thank you for filing that bug 
report. I cannot volunteer to work on this bug right now, but I suggest 
to use that bug report for any followup by others:
https://bugs.squid-cache.org/show_bug.cgi?id=5377

Alex.



More information about the squid-dev mailing list