[asterisk-dev] Asterisk on Windows (Subsystem for UNIX)
dbackeberg at gmail.com
Sun Oct 5 20:16:13 CDT 2008
On Sun, Oct 5, 2008 at 4:44 PM, Alex Dubinsky <adubinsky457 at gmail.com> wrote:
> I'm trying to compile asterisk 1.4.22 on Win2k8's Subsystem for UNIX
> Applications. I wadded through a bunch of issues (I can post the list if
> anyone's interested) and finally got stuck on:
This doesn't sound like an Asterisk-dev question. The real question is
why you would take *nix code and try to run it on a non-*nix OS, which
makes it an asterisk-users question.
If you really can't be persuaded to not run linux on top of Windows,
at least try CygWin or VMWare Server with a full linux distro instead.
CygWin provides proper *nix compatible library support. If you aren't
familiar with CygWin, google it.
> res_features.c:157: error: `use_ast_mutex_t_instead_of_pthread_mutex_t'
> undeclared here (not in a function)
> I found the stuff about #include <stdio.h> but it didn't help. What confuses
> me is where does the symbol even come from? Is there some guard around it?
MS is almost definitely providing corrupt or incomplete library sets.
You've already put more time into this problem than it deserves.
Although it will be amusing the day I see a MS service pack or patch
Tuesday release to update Unix libraries ;)
More information about the asterisk-dev