Summary:ASTERISK-18111: chan_iax2 module unbuildable in cygwin environment
Reporter:feyfre (feyfre)Labels:
Date Opened:2011-07-11 09:27:52Date Closed:2017-12-19 06:42:32.000-0600
Versions:1.8.4 Frequency of
Environment:CYGWIN_NT-5.1Attachments:( 0) asterisk.h.2.patch.gz
( 1) asterisk.h.patch.gz
( 2) chan_iax2_link_error.txt
( 3) chan_iax2.err
Description:Compiler output is attached.
Affected versions 1.8-1.8.5-rc1
Comments:By: feyfre (feyfre) 2011-07-11 09:28:36.442-0500

Compiler output

By: Paul Belanger (pabelanger) 2011-10-18 12:31:51.883-0500


By: feyfre (feyfre) 2011-10-19 17:10:55.892-0500

patch against
eliminates conflict of include/asterisk.h defines with definitions.in cygwin provided headers.
Since I did not found any usage of redefined symbols in whole asterisk codebase, I thing this patch may be applied unconditionally regardless platform (i.e. remove all #ifndef-ed by this patch lines)

By: feyfre (feyfre) 2011-10-19 17:27:33.805-0500

chan_iax2 is still unbuildable.
It cannto be linked because of undefined reference to a bunch cryptography related functions(see attached link log). As far as I understood this error is related with OPRIONAL API concept. Unfortunately cygwin environment does not support its requirements, so used trick is unusable here.
I have not enough experience and knowledge of chan_iax2 module structure and so cannot resolve this error. Core developers attention is required.

By: feyfre (feyfre) 2011-10-19 18:34:39.651-0500

Oops, previous patch was erroneous. Should be applied with -R option(patch -R) or use this new one.

By: Joshua C. Colp (jcolp) 2017-12-19 06:42:32.706-0600

The Cygwin platform is no longer supported at all in Asterisk.