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

Larry Anselof lanselof at gmail.com
Sat May 25 22:27:35 UTC 2024


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: image.png]


Will you be fixing this error, so that the Windows build can work?

Thanks &
Best Regards,
Larry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20240526/fa550848/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 122403 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20240526/fa550848/attachment-0001.png>


More information about the squid-dev mailing list