Can't build squid on Windows

Larry Anselof <[email protected]> Sun, 26 May 2024 00:27:35 +0200
Newsgroups gmane.comp.web.squid.devel
Message-ID <CAPq0yh9Ep2soyScDyO7a3BjTVB9+Ng3-3eLrYrratQwjuSB+HQ@mail.gmail.com>
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

_______________________________________________
squid-dev mailing list
[email protected]
https://lists.squid-cache.org/listinfo/squid-dev
image.png (image/png, 119.5 KB) - not displayed