Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

error when make parameter_server in MacOS 10.10.4

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start with src/util/resource_usage.h, then follow the includes through src/util/common.h, src/util/file.h, and src/util/file.cc. Reproduce the parameter_server build on the reported MacOS and inspect the CLOCK_MONOTONIC_RAW failure; done means the build no longer reports this undeclared identifier on that platform.

Written by the indexing model from the issue text.

Description

error msg:
In file included from src/util/file.cc:1:
In file included from ./src/util/file.h:8:
In file included from ./src/util/common.h:42:
./src/util/resource_usage.h:35:17: error: use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
clock_gettime(CLOCK_MONOTONIC_RAW, &tv);

gcc version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

Dominant language
C++
Stars
649
Forks
233
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dmlc/parameter_server

All issues in dmlc/parameter_server

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.