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

Issue with make #3

Open
emo3 opened this issue Jul 31, 2017 · 4 comments
Open

Issue with make #3

emo3 opened this issue Jul 31, 2017 · 4 comments

Comments

@emo3
Copy link

emo3 commented Jul 31, 2017

$ make && make install
C:/Program Files/Git/mingw64/bin/make all-am
make[1]: Entering directory 'C:/Users/eoverton/sshpass'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c:27:22: fatal error: sys/wait.h: No such file or directory
#include <sys/wait.h>
^
compilation terminated.
make[1]: *** [Makefile:334: main.o] Error 1
make[1]: Leaving directory 'C:/Users/eoverton/sshpass'
make: *** [Makefile:228: all] Error 2

Any ideas how to get this to work?

@kevinburke
Copy link
Owner

I'm not sure. I'm guessing you'd need to find the appropriate header/library for wait.h, there are tools that will search for this file in various apt/deb packages to get what you need.

I just updated this code to v1.0.6 which may have a solution for your problem.

@emo3
Copy link
Author

emo3 commented Aug 5, 2017

Same error.

@bchanan03
Copy link

same here :(

@kevinfengcs88
Copy link

kevinfengcs88 commented Mar 30, 2024

Same problem here, might be a Windows issue for me though

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

4 participants