ptpd on the apple mac

alex alex at slab.org
Thu Sep 10 11:03:47 EDT 2009


Thanks for the responses, I had another look at this,

I got version 1.0.0 of ptpd from the tarball to compile by:
1/ downloading and using a copy of sys/timex.h from FreeBSD, which is
missing in mac os x.
2/ Adding the following to dep/constants.dep
  #define __FreeBSD__
  #include <sys/param.h>

but it doesn't link however, I get:

Undefined symbols:
  "_ntp_adjtime", referenced from:
      _adjFreq in sys.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ptpd] Error 1

I am not a mac person at all, but understand apple have their own ntp
kernel stuff with a different api.

cheers

alex

-- 
http://yaxu.org/



More information about the Ptpd mailing list