stillbeben / hopmod

Export of Sauerbraten hopmod Server from code.google.com/p/hopmod
3 stars 0 forks source link

Build on Mac OS X #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow instruction from wiki to install

What is the expected output? What do you see instead?
iMac-de-Daniel:release-build danielsarsi$ make
Scanning dependencies of target sauertools
[  1%] Building CXX object src/CMakeFiles/sauertools.dir/shared/tools.cpp.o
[  2%] Building CXX object src/CMakeFiles/sauertools.dir/shared/stream.cpp.o
[  3%] Building CXX object src/CMakeFiles/sauertools.dir/shared/crypto.cpp.o
[  4%] Building CXX object src/CMakeFiles/sauertools.dir/hopmod/utils.cpp.o
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp: In constructor 
‘timer::timer()’:
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:53: error: 
‘CLOCK_MONOTONIC’ was not declared in this scope
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:53: error: 
‘clock_gettime’ was not declared in this scope
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp: In member function 
‘unsigned int timer::usec_elapsed() const’:
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:59: error: 
‘CLOCK_MONOTONIC’ was not declared in this scope
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:59: error: 
‘clock_gettime’ was not declared in this scope
make[2]: *** [src/CMakeFiles/sauertools.dir/hopmod/utils.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/sauertools.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Mac OS X 10.7

Please provide any additional information below.
Something with POSIX, I guess.

Original issue reported on code.google.com by danielsa...@gmail.com on 18 Jan 2012 at 8:37

GoogleCodeExporter commented 8 years ago
fixed

Original comment by t.poecht...@gmail.com on 9 May 2013 at 1:21