This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

CLOCK_THREAD_CPUTIME_ID undeclared

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 Answered by Daniel Bartholomew in this comment.

I would report a bug to the developers.

See Reporting Bugs for instructions (or just go to https://bugs.launchpad.net/maria , click on "report a bug" and follow the prompts).

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.