Posted: Sat Nov 06, 2004 4:43 am Post subject: [Asterisk-bsd] Asterisk on OSX is broken -- Is fakepoll a vi
Some time earlier this year changes in the Asterisk source seem to
have occurred that led to building Asterisk on OSX/Darwin fail when
trying to compile sched.c ...
include/asterisk/channel.h:22: header file 'sys/poll.h' not found
I have googled for sys/poll.h and MacOSX and found that OSX doesn't
have sys/poll.h but apparently uses select() instead of poll()
In one of the google hits I found the following patch which I applied
to channel.h ...
... in the header it says "/* See LICENSE for licensing information
*/" and I am not quite sure which license this refers to since there
is none specifically for the wrapper code on that site.
Has anybody used this fakepoll wrapper before? Any pointers to a
packaged version with a dedicated license? caveats? hints?
Alternatively, does anybody know of any other methods to fix Asterisk on OSX?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum