Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on windows failed #112

Open
lionfood opened this issue Mar 14, 2023 · 0 comments
Open

Build on windows failed #112

lionfood opened this issue Mar 14, 2023 · 0 comments

Comments

@lionfood
Copy link

Describe the bug
When trying to build neon according to the instruction in INSTALL.win32 the c compiler returns with an error and the build failed.

Environment

  • neon version: 0.32.5
  • OS: Microsoft Windows 10 (Version 21H2)

To Reproduce
When running nmake /f neon.mak i got the following output:

Microsoft (R) Program Maintenance Utility, Version 14.29.30146.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

        cl.exe @C:\Users\EW\AppData\Local\Temp\nmC368.tmp
ne_alloc.c
ne_auth.c
src\ne_auth.c(370): error C2146: Syntaxfehler: Fehlendes ")" vor Bezeichner "NE_FMT_TIME_T"
ne_basic.c
ne_compress.c
ne_dates.c
ne_i18n.c
ne_md5.c
ne_pkcs11.c
ne_redirect.c
ne_request.c
ne_session.c
ne_socket.c
src\ne_socket.c(1442): warning C4133: "Funktion": Inkompatible Typen - von "int *" zu "const char *"
src\ne_socket.c(1567): warning C4133: "Funktion": Inkompatible Typen - von "int *" zu "const char *"
ne_socks.c
ne_sspi.c
src\ne_sspi.c(358): warning C4090: "return": Unterschiedliche "const"-Qualifizierer
ne_string.c
ne_uri.c
ne_utils.c
ne_stubssl.c
Code wird generiert...
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\cl.exe"": Rückgabe-Code "0x2"
Stop.

The error here seems to be in the file src\ne_auth.c, in line 370: The compiler expects a closing parenthesis before the identifier NE_FMT_TIME_T.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant