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

ARYGON ADRB-USB fails on MAC OS X #44

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments
Closed

ARYGON ADRB-USB fails on MAC OS X #44

GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

there seems to be a problem with delay_ms(), is this linux internal?

>nfc-list 
dyld: lazy symbol binding failed: Symbol not found: _delay_ms
  Referenced from: /usr/local/lib/libnfc.0.dylib
  Expected in: dynamic lookup

dyld: Symbol not found: _delay_ms
  Referenced from: /usr/local/lib/libnfc.0.dylib
  Expected in: dynamic lookup

Trace/BPT trap

Original issue reported on code.google.com by r...@libnfc.org on 31 Oct 2009 at 2:08

@GoogleCodeExporter
Copy link
Author

"delay_ms(X)" is a macro which is replace with "Sleep( X )" in Win32 and 
"usleep( X *
1000 )" from <unistd.h> under !win32 and !MacOS... so macro is not defined in 
apple
environment. How to produce delay in milliseconds under MacOS ? (have a look in 
top
of dev_arygon.c)

Original comment by romu...@libnfc.org on 2 Nov 2009 at 9:09

  • Added labels: Milestone-1.3.0

@GoogleCodeExporter
Copy link
Author

According to
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/m
an3/usleep.3.html
usleep() can also be used under MacOS. r162 should fixed this issue.

Original comment by romu...@libnfc.org on 2 Nov 2009 at 11:51

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant