Ok I added the #define WIN32 thing and also, I changed Makefile to Makefile.unix and makefile.cygwin to just makefile. I remade and now my first error is: mud.h:5442: parse error before 'HANDLE' I checked the code and here is the block of code: Why isn't there a name for the struct? and here are the full of the mud.h errors here: gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG comm.c In file included from comm.c:28: mud.h:28:23: winsock.h: No such file or directory (ENOENT) In file included from comm.c:28: mud.h:30: warning: ignoring #pragma warning mud.h:5430: conflicting types for `gettimeofday' c:/djgpp/include/time.h:86: previous declaration of `gettimeofday' mud.h:5438: warning: useless keyword or type name in empty declaration mud.h:5442: parse error before 'HANDLE' mud.h:5442: warning: no semicolon at end of struct or union mud.h:5443: warning: type defaults to `int' in declaration of `Win32FindData' mud.h:5443: warning: data definition has no type or storage class mud.h:5445: `MAX_PATH' undeclared here (not in a function) mud.h:5446: parse error before '}' token mud.h:5446: warning: type defaults to `int' in declaration of `DIR' mud.h:5446: warning: data definition has no type or storage class mud.h:5449: parse error before '*' token mud.h:5449: warning: type defaults to `int' in declaration of `opendir' mud.h:5449: warning: data definition has no type or storage class mud.h:5450: parse error before '*' token mud.h:5451: parse error before '*' token |
top |
![Cygwin Sys/socket.h No Such File Cygwin Sys/socket.h No Such File](https://slideplayer.com/235912/1/images/20/Win32+Port+Host+environment+is+Cygwin.jpg)
Executing ssh on cygwin under windows 10 recently started failing, after many years of stable logins. The relevant output from ssh under a mintty from Xwindows:% ssh -tt -vvv Stack Exchange Network. No such file or directory Host key verification failed. Keep in mind Cygwin (and it's fork MSYS2) is not replacement for UNIX, it makes porting easier. However it seems to work in WSL in Windows 10 version 1703: proxychains config file found: src/proxychains.conf proxychains preloading./libproxychains4.so proxychains DLL init: proxychains-ng 4.12-git-2-g46647be Trying 224.0.0.1.