Open gcotelli opened 1 month ago
Hi, I'm trying to compile the latest released VM in Manjaro but getting the following error:
4439 | reapChildProcessWrapper(int sigNum, struct __siginfo * sigInfo, void * userData){ | ^~~~~~~~~ /home/gcotelli/Programming/repos/3rd-party-deps/pharo-vm/extracted/plugins/UnixOSProcessPlugin/src/common/UnixOSProcessPlugin.c: In function ‘setSigChldHandler’: /home/gcotelli/Programming/repos/3rd-party-deps/pharo-vm/extracted/plugins/UnixOSProcessPlugin/src/common/UnixOSProcessPlugin.c:4454:43: error: assignment to ‘void (*)(int, siginfo_t *, void *)’ from incompatible pointer type ‘void (*)(int, struct __siginfo *, void *)’ [-Wincompatible-pointer-types] 4454 | sigchldHandlerAction.sa_sigaction = reapChildProcessWrapper; .... make[2]: *** [CMakeFiles/UnixOSProcessPlugin.dir/build.make:76: CMakeFiles/UnixOSProcessPlugin.dir/extracted/plugins/UnixOSProcessPlugin/src/common/UnixOSProcessPlugin.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:693: CMakeFiles/UnixOSProcessPlugin.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
I'm following the instructions in the wiki, which are
cmake -S . -B build
cmake --build build --target install
Am I missing something obvious?
Hmm, I wonder if we should not use siginfo_t instead of struct __siginfo
siginfo_t
struct __siginfo
Hi, I'm trying to compile the latest released VM in Manjaro but getting the following error:
I'm following the instructions in the wiki, which are
cmake -S . -B build
cmake --build build --target install
Am I missing something obvious?