Skip to content
New issue

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

Cannot compile 10.3 VM on Manjaro #839

Open
gcotelli opened this issue Jul 31, 2024 · 1 comment
Open

Cannot compile 10.3 VM on Manjaro #839

gcotelli opened this issue Jul 31, 2024 · 1 comment

Comments

@gcotelli
Copy link
Member

gcotelli commented Jul 31, 2024

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

image

I'm following the instructions in the wiki, which are

  • Cloned the repo
  • cmake -S . -B build
  • cmake --build build --target install

Am I missing something obvious?

@guillep
Copy link
Member

guillep commented Aug 12, 2024

Hmm, I wonder if we should not use siginfo_t instead of struct __siginfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants