Summary:ASTERISK-18102: Asterisk does not start when compiled and loaded in a Cygwin environment
Reporter:feyfre (feyfre)Labels:
Date Opened:2011-07-08 08:26:22Date Closed:2017-12-19 06:42:50.000-0600
Versions:1.8.4 Frequency of
is the original version of this clone:ASTERISK-18261 CLONE -asterisk does not starts
Environment:CYGWIN_NT-5.1Attachments:( 0) ASTERISK-18102-1_ff.diff.gz
Description:When starting asterisk.exe, it exits.with message "could not load Asterisk, No error"
The problem is: asterisk.exe load Astersik core - asterisk.dll and requires exported symbol main, but asterisk.dll does not exports it.
I have managed to fix it editing on fly main/asterisk.exports but it should be automatically fixed by configurator (in asterisk.exports.in).
Comments:By: Leif Madsen (lmadsen) 2011-07-11 13:44:21.884-0500

The cygwin environment is not supported. Please file an issue with the party responsible for supporting your environment.

By: Leif Madsen (lmadsen) 2011-07-11 13:44:55.652-0500

Reopening based on feedback from Russell.

By: Leif Madsen (lmadsen) 2011-07-11 13:45:14.024-0500

As you've indicated you know how to resolve this issue, could you please provide a patch?  Thanks!

By: feyfre (feyfre) 2011-07-11 14:27:23.012-0500

Patch is trivial, but I not sure if it doesn't have side-effects on other platforms

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

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