I have cloned the nagioscore git repository and checked out the nagios-4.5.9 release
Then I do ./configure that runs without any problems, but make all stops on
Code: Select all
make[2]: Entering directory '/staff/morten/nagios/nagioscore/lib'
gcc -Wall -I.. -I. -I../lib -I../include -I../include -I.. -std=c99 -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c worke
r.c -o worker.o
In file included from ../include/config.h:316,
from worker.c:11:
/usr/include/wchar.h:476:27: error: unknown type name ‘locale_t’
476 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:480:49: error: unknown type name ‘locale_t’
480 | int __base, locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:485:45: error: unknown type name ‘locale_t’
485 | int __base, locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:490:55: error: unknown type name ‘locale_t’
490 | int __base, locale_t __loc)
| ^~~~~~~~
/usr/include/wchar.h:494:56: error: unknown type name ‘locale_t’
494 | wchar_t **__restrict __endptr, locale_t __loc)
| ^~~~~~~~
/usr/include/wchar.h:498:55: error: unknown type name ‘locale_t’
498 | wchar_t **__restrict __endptr, locale_t __loc)
| ^~~~~~~~
/usr/include/wchar.h:503:31: error: unknown type name ‘locale_t’
503 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:514:29: error: unknown type name ‘locale_t’
514 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:520:29: error: unknown type name ‘locale_t’
520 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:526:31: error: unknown type name ‘locale_t’
526 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:532:31: error: unknown type name ‘locale_t’
532 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:538:31: error: unknown type name ‘locale_t’
538 | locale_t __loc) __THROW;
| ^~~~~~~~
/usr/include/wchar.h:862:27: error: unknown type name ‘locale_t’
862 | locale_t __loc) __THROW;
| ^~~~~~~~
worker.c: In function ‘exit_worker’:
worker.c:42:26: error: storage size of ‘sig_action’ isn’t known
42 | struct sigaction sig_action;
| ^~~~~~~~~~