I am currently trying to get MariaDB to run on a DragonflyBSD system. Both 5.2.8 and 5.3.3 fail at the same location:
my_getsystime.c: In function 'my_getcputime':
my_getsystime.c:129: error: 'CLOCK_THREAD_CPUTIME_ID' undeclared (first use in this function)
my_getsystime.c:129: error: (Each undeclared identifier is reported only once
my_getsystime.c:129: error: for each function it appears in.)
*** Error code 1
There are a few minor tweaks necessary to get there, but this one has me stymied.
What would be a practical workaround to get compilation to advance?
Answer
I would report a bug to the developers.
See [[reporting-bugs|Reporting Bugs]] for instructions (or just go to https://bugs.launchpad.net/maria , click on "report a bug" and follow the prompts).