Hello, I’m getting the following error when doing:
~/xenomai-3/build$ make install
[… MORE OUTPUT ...]
make[3]: Entering directory '/home/gabriel/xenomai-3/build/lib/cobalt'
CC libcobalt_la-rtdm.lo
../../../lib/cobalt/rtdm.c: In function ‘__cobalt___open_2’:
../../../lib/cobalt/rtdm.c:104:2: error: implicit declaration of function
‘__OPEN_NEEDS_MODE’
[-Werror=implicit-function-declaration]
if (__OPEN_NEEDS_MODE(oflag)) {
^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:721: libcobalt_la-rtdm.lo] Error 1
make[3]: Leaving directory '/home/gabriel/xenomai-3/build/lib/cobalt'
make[2]: *** [Makefile:838: install-recursive] Error 1
make[2]: Leaving directory '/home/gabriel/xenomai-3/build/lib/cobalt'
make[1]: *** [Makefile:428: install-recursive] Error 1
make[1]: Leaving directory '/home/gabriel/xenomai-3/build/lib'
make: *** [Makefile:461: install-recursive] Error 1
~/xenomai-3/build$
What can be done in this case?