usr/include/sys/wait.h:43:7: note: expected `_wait_status_ptr_t' but argument Ratproxy.c:1635:5: error: incompatible type for argument 2 of `waitpid'
#Install socat cygwin install#
Cygwin is a free and open source software with tons of optional packages which lets you run and execute the age-old Unix-like commands right in your Windows system. cd socat./configure make A socat binary will be in the root of the socat repo Optional make install (will install socat into your path) Windows: Install Cygwin with the following additional packages: gcc-g++ gcc-core cygwin32-gcc-g++ cygwin32-gcc-core make Using Cygwin, clone or download the zip for this repo git clone.
#Install socat cygwin how to#
Let us see how to install and configure Cygwin in the Windows environment. ratproxy-report.sh ratlog >reportname.html However, if you have the need to use a terminal, Cygwin is the best tool for you. Once you have the log to generate a nice looking pretty report:īash$. ?ĭo not forget to dos2unix the ratproxy-report.sh otherwise you will get some errors with ‘\r’ and some other random stuff when you run the report generator shell scripts.Ĭ:\tools\ratproxy>ratproxy.exe -p 8000 -v c:\testdir -w ratlog -d -extifscfjmXCk 2.3 click on the double-circle-arrow sign of a package, 2.4 change from skip to install (if they are already installed, the options will be keep, reinstall or uninstall) and then. I also replaced $(CC) with gcc just because I felt like it. 2.1 type in git in the search bar in Cygwin installation window, 2.2 click on the + sign to show details of all found packages, then.
So my Makefile’s CFLAGS line looks like: CFLAGS = -Wall -O3 -D_GNU_SOURCE Cygwin is free software that provides a Unix-like environment and software toolset to users of any modern x86 32-bit and 64-bit versions of Microsoft Windows. Cygwin may allow some, but as programs are not installed on Windows as packages apt-get will not work. If you have the gcc, make, openssl, openssl-dev packages installed on cygwin, all you need to do is remove the -Wno-pointer flag from the CFLAGS entry from the Makefile. Here are some related contents: How to view installed packages in Cygwin in Windows, how to configure Kerberos for Ansible Authentication, and how to determine Cygwin version. But it seems that the makefile that comes with ratproxy is not really compatible with cygwin. I have used Michal Zalewski’s Ratproxy on Google code.