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

Compile fail - clock_gettime #36

Open
drobban opened this issue Aug 20, 2024 · 0 comments
Open

Compile fail - clock_gettime #36

drobban opened this issue Aug 20, 2024 · 0 comments

Comments

@drobban
Copy link

drobban commented Aug 20, 2024

Running FreeBSD-13.3-Release p5.
Erlang/OTP 26 [erts-14.2.5.2] [source] [64-bit]
Interactive Elixir (1.16.0)

Problem - during mix compile

c_src/decoder_nif.c:141:17: error: use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
  141 |   clock_gettime(CLOCK_MONOTONIC_RAW, timestamp);

Reason;
Found in man-pages from a Debian 13 system.

CLOCK_MONOTONIC_RAW (since Linux	2.6.28;	Linux-specific)

Solution;

Sent pull request #37

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

1 participant