[asterisk-dev] compiling trunk under cygwin

Luigi Rizzo rizzo at icir.org
Thu Jan 10 10:53:46 CST 2008

On Thu, Jan 10, 2008 at 11:34:36AM -0500, Clod Patry wrote:
> yep, works much better with a svn co inside cygwin, however:
>    [CC] dns.c -> dns.o
> dns.c:37:48: arpa/nameser.h: No such file or directory
> dns.c:38:20: resolv.h: No such file or directory
> dns.c: In function 'ast_search_dns':
> Any idea which cygwin packages must be installed for that? Apparently, even
> bind doesnt have it.

The package you need is "minires". I meant to document the build requirements,
but evidently forgot and am a bit short of time now.
There is a set of non-default Cygwin packages that you need in order to
build asterisk on Windows. Minires is one of those, but there are
others (some fileutils things, probably db4.2, and more).

Feedback and updates to the build documentation are really welcome,
especially if you start with a minimal cygwin installation and take
notes of where asterisk complains during the build process).


More information about the asterisk-dev mailing list