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

Arduino sys/socket.h: No such file or directory #108

Closed
badre2911 opened this issue Apr 25, 2023 · 3 comments
Closed

Arduino sys/socket.h: No such file or directory #108

badre2911 opened this issue Apr 25, 2023 · 3 comments

Comments

@badre2911
Copy link

Hi,
i want to compil Zimodem on arduino 1.8.19,
board is nodemcu 8266
Arduino board version is 3.1.2 but i have this error

In file included from D:\donnees\dev\ARDUINO\sketch\ESP8266\arduino\Zimodem-master\zimodem\src\libssh2\bcrypt_pbkdf.c:21:
D:\donnees\dev\ARDUINO\sketch\ESP8266\arduino\Zimodem-master\zimodem\src\libssh2\libssh2_priv.h:108:11: fatal error: sys/socket.h: No such file or directory
  108 | # include <sys/socket.h>
      |           ^~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

on windows sys/socket.h not exist, is for linux.

Any idea ?
It's possible to compil to arduino on windows 10 ?
Thanks.

@badre2911
Copy link
Author

I found the problem, it's because 3.1.2 is not compatible with 2.7.4,
maybe one day you will upgrade the code.

@badre2911
Copy link
Author

Where can i have zimodem pre-build binary 4.0 for esp82266 ?
Thanks in advance.

@bozimmerman
Copy link
Owner

This should be fixed now.

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

2 participants