bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing socklen_t defintion on Windows 11 ARM


From: Yann Bourdeau
Subject: Missing socklen_t defintion on Windows 11 ARM
Date: Mon, 8 May 2023 21:20:38 +0000

Hi,

 

                For one of my projects, I’m trying to compile gettext 0.21 (I tried 0.21.1 and I got the same result) for Windows 11 ARM with Visual Studio 2022 community edition. I’m running on a VM on Apple Silicon M2. I have done it successfully on a Windows 10 Intel (Visual studio 2019 community) with the same recipe. I’m using the recipe defined in the INSTALL.windows text file that use Cygwin and Visual Studio. The only difference that I have done from Windows 10 is the version of Visual Studio (2022 instead of 2019), Windows 11 instead of 10 and ARM architecture ( I know it is a very different environment). Cygwin on Windows ARM is Intel only. I have used the visual studio tools to be intel X64 as host and ARM64 as target.

 

                The error occurs while compile libtextstyle:

 

checking for socklen_t... no

checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t

configure: error: ./configure failed for libtextstyle

 

I noticed the following earlier in the log:

checking for winsock2.h... (cached) no

 

However, socklent_t is defined in the Windows header files and it seems to no fin winsock2.h. I don’t know if it is related.

 

Thanks

Yann Bourdeau

yann@zorgulsoft.ca


reply via email to

[Prev in Thread] Current Thread [Next in Thread]