We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I know it not that active repo, still if someone could take a look at it. It would be nice to have a working version for MobaXterm. It is now:
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/_psutil_cygwin.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_cygwin.o In file included from /usr/include/w32api/iprtrmib.h:9:0, from psutil/_psutil_cygwin.c:5: /usr/include/w32api/mprapi.h:865:3: error: unknown type name ‘CERT_NAME_BLOB’ CERT_NAME_BLOB *certificateNames; ^~~~~~~~~~~~~~ /usr/include/w32api/mprapi.h:887:3: error: unknown type name ‘CRYPT_HASH_BLOB’ CRYPT_HASH_BLOB certBlob; ^~~~~~~~~~~~~~~ error: command 'gcc' failed with exit status 1
Python 3.6.8 cygcheck (cygwin) 3.0.4
I'm not a C++ programmer, yet I tried to put #include <wincrypt.h> according to this issue. After ir was much better (ot not) but eventually no luck:
running build running build_py running build_ext building 'psutil._psutil_cygwin' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_common.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/_psutil_posix.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_posix.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/_psutil_cygwin.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_cygwin.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/arch/windows/disk.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/disk.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/arch/windows/net.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/net.o psutil/arch/windows/net.c: In function ‘psutil_net_if_addrs’: psutil/arch/windows/net.c:189:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < (int) pCurrAddresses->PhysicalAddressLength; i++) { ^ psutil/arch/windows/net.c: In function ‘psutil_net_if_stats’: psutil/arch/windows/net.c:384:32: warning: pointer targets in passing argument 2 of ‘lstrcmpA’ differ in signedness [-Wpointer-sign] if (lstrcmp(descr, pIfRow->bDescr) == 0) { ^~~~~~ In file included from /usr/include/w32api/windows.h:70:0, from psutil/arch/windows/net.c:11: /usr/include/w32api/winbase.h:1396:25: note: expected ‘LPCSTR {aka const char *}’ but argument is of type ‘BYTE * {aka unsigned char *}’ WINBASEAPI int WINAPI lstrcmpA (LPCSTR lpString1, LPCSTR lpString2); ^~~~~~~~ psutil/arch/windows/net.c:438:9: warning: ‘pIfTable’ may be used uninitialized in this function [-Wmaybe-uninitialized] free(pIfTable); ^~~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/arch/windows/process_utils.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/process_utils.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.i686/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_CYGWIN=1 -D_WIN32_WINNT=0x01000 -D__USE_W32_SOCKETS -I/usr/include/python3.6m -c psutil/arch/windows/socks.c -o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/socks.o psutil/arch/windows/socks.c: In function ‘psutil_net_connections’: psutil/arch/windows/socks.c:160:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pid != -1) { ^~ psutil/arch/windows/socks.c:193:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pid != -1) { ^~ psutil/arch/windows/socks.c:264:38: warning: the comparison will always evaluate as ‘true’ for the address of ‘RtlIpv6AddressToStringA’ will never be NULL [-Waddress] (RtlIpv6AddressToStringA != NULL)) ^~ psutil/arch/windows/socks.c:277:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pid != -1) { ^~ psutil/arch/windows/socks.c:360:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pid != -1) { ^~ psutil/arch/windows/socks.c:409:38: warning: the comparison will always evaluate as ‘true’ for the address of ‘RtlIpv6AddressToStringA’ will never be NULL [-Waddress] (RtlIpv6AddressToStringA != NULL)) ^~ psutil/arch/windows/socks.c:420:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pid != -1) { ^~ gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_common.o build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_posix.o build/temp.cygwin-3.0.4-i686-3.6/psutil/_psutil_cygwin.o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/disk.o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/net.o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/process_utils.o build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/socks.o -L. -L/usr/lib -liphlpapi -lntdll -lpython3.6m -o build/lib.cygwin-3.0.4-i686-3.6/psutil/_psutil_cygwin.cpython-36m-i386-cygwin.dll build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/net.o: In function `psutil_net_if_addrs': /var/tmp/psutil/psutil/arch/windows/net.c:252: undefined reference to `_imp__inet_ntop@16' /var/tmp/psutil/psutil/arch/windows/net.c:233: undefined reference to `_imp__inet_ntop@16' build/temp.cygwin-3.0.4-i686-3.6/psutil/arch/windows/process_utils.o: In function `psutil_get_pids': /var/tmp/psutil/psutil/arch/windows/process_utils.c:42: undefined reference to `EnumProcesses@12' collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I know it not that active repo, still if someone could take a look at it. It would be nice to have a working version for MobaXterm.
It is now:
Python 3.6.8
cygcheck (cygwin) 3.0.4
I'm not a C++ programmer, yet I tried to put #include <wincrypt.h> according to this issue. After ir was much better (ot not) but eventually no luck:
The text was updated successfully, but these errors were encountered: