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

No clock_gettime on macs #21

Open
shayneoAtNorwood opened this issue Jun 27, 2016 · 2 comments
Open

No clock_gettime on macs #21

shayneoAtNorwood opened this issue Jun 27, 2016 · 2 comments

Comments

@shayneoAtNorwood
Copy link

Tested on two separate osx machines (Both yosemite), attempts to run b2bua produce the following error;-

$ b2bua_simple -f
('192.168.0.102', 5060)
Traceback (most recent call last):
  File "/usr/local/bin/b2bua_simple", line 9, in <module>
    load_entry_point('sippy==1.1.dev0', 'console_scripts', 'b2bua_simple')()
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/b2bua_simple.py", line 146, in main_func
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/SipTransactionManager.py", line 236, in __init__
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/SipTransactionManager.py", line 124, in __init__
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/Udp_server.py", line 38, in <module>
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/Time/MonoTime.py", line 29, in <module>
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/Time/clock_dtime.py", line 68, in <module>
  File "build/bdist.macosx-10.11-x86_64/egg/sippy/Time/clock_dtime.py", line 66, in find_symbol
Exception: Bah, clock_gettime cannot be found in libs ('c', 'rt') in the paths ('/usr/lib', '/lib')

Looking arround it appears clock_gettime does not exist on the mac, although there are other monotonic hight precision counters around, I'm not sure personally of how to fix it in a portable manner.

@shayneoAtNorwood
Copy link
Author

Ah well..

@sergani
Copy link

sergani commented Feb 24, 2019

Hi there, did you get past this point?

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

2 participants