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

Compilation on Linux failed: unknown type name ‘sigset_t’ #8

Open
relascope opened this issue Oct 4, 2023 · 1 comment
Open

Comments

@relascope
Copy link

Compilation finished.
gcc  -O1 -g -O2 -ffile-prefix-map=/build/gambc-YYEQDb/gambc-4.9.3=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security   -Wno-unused -Wno-write-strings -Wdisabled-optimization -fwrapv -fno-strict-aliasing -fno-trapping-math -fno-math-errno -fschedule-insns2 -fomit-frame-pointer -fPIC -fno-common -mpc64   -D___SINGLE_HOST  -I"/usr/include" -c -o "midijoystick.o" -std=c11 -Wall -g -O0 midijoystick.c
In file included from midijoystick.c:452:
/usr/include/gambit.h:8493:5: error: unknown type name ‘sigset_t’
 8493 |     ___sigset_type sigset[3]; /* increase if other interrupts are added */
      |     ^~~~~~~~~~~~~~
*** ERROR IN ##main -- target compilation or link failed while compiling "/home/guru/src/MidiJoystick/midijoystick.c"
make: *** [Makefile:5: midijoystick] Error 70

Ubuntu 22.04

reproducible.

Am I missing some #defines?

@osune
Copy link
Owner

osune commented Oct 4, 2023

Hoi @relascope ,
I have written this against Gambit 4.2 and haven't got it to compile against newer versions.
I assume the cffi has changed and the glue.c/h need to be refactored to work with the new gambit versions.
Right now I do not have time to work on this.

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