zsign
zsign copied to clipboard
Build instructions for windows fail to include headers
Hello! I am following the build instructions for windows (trying on an Ubuntu 20 machine). I've prepared side-by-side folders of mman-win32, OpenSSL and zsign, and followed the instructions to make them all as stated in readme. When i run the last command to build zsign itself, it fails with these errors:
In file included from archo.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from bundle.h:2,
from bundle.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from macho.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from openssl.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from signing.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from zsign.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from common/common.cpp:1:
common/common.h:7:10: fatal error: sys/mman.h: No such file or directory
7 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
Please help me understand what i'm doing wrong! I copied the command from the readme as-is
issue #158 might help you with the error above. but i am not sure.
Hello. I've managed to compile zsign for windows based on your guide, but running it fails. Checking the even viewer i get this error:
Faulting application name: zsign.exe, version: 0.0.0.0, time stamp: 0x60f69831
Faulting module name: msvcrt.dll, version: 7.0.18362.1, time stamp: 0xf5bdefd7
Exception code: 0xc0000005
Fault offset: 0x000000000005d3ea
Faulting process id: 0x11e8
Faulting application start time: 0x01d84aab7c38d22d
Faulting application path: C:\Folder\zsign.exe
Faulting module path: C:\Windows\System32\msvcrt.dll
Report Id: b7f54893-9450-4074-b913-641cb30703d5
Faulting package full name:
Faulting package-relative application ID:
Hello. I've managed to compile zsign for windows based on your guide, but running it fails.
Checking the even viewer i get this error:
Faulting application name: zsign.exe, version: 0.0.0.0, time stamp: 0x60f69831 Faulting module name: msvcrt.dll, version: 7.0.18362.1, time stamp: 0xf5bdefd7 Exception code: 0xc0000005 Fault offset: 0x000000000005d3ea Faulting process id: 0x11e8 Faulting application start time: 0x01d84aab7c38d22d Faulting application path: C:\Folder\zsign.exe Faulting module path: C:\Windows\System32\msvcrt.dll Report Id: b7f54893-9450-4074-b913-641cb30703d5 Faulting package full name: Faulting package-relative application ID:
Sorry! i do not know a fix for this one.
@s-glatshtein have a look at #250 which is supposed to resolve this crash.
@s-glatshtein a specific issue #251 has been created regarding this crash caused by Segmentation Fault exception. Solution seems to at #250 as @mstrelex has already mentioned above.