Summary:ASTERISK-16491: chan_misdn fails to build
Reporter:Jeffrey C. Ollie (jcollie)Labels:
Date Opened:2010-08-02 15:51:21Date Closed:2011-06-07 14:04:56
Versions:Frequency of
Description:I'm having problems compiling chan_misdn, and I think that they may be related to a change that allowed voicemail dates to be announced with different locales:

gcc -o misdn/isdn_msg_parser.o -c misdn/isdn_msg_parser.c -MD -MT misdn/isdn_msg_parser.o -MF .misdn_isdn_msg_parser.o.d -MP -
pthread -I/builddir/build/BUILD/asterisk-1.8.0-beta2/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-p
rotector --param=ssp-buffer-size=4 -m64 -mtune=generic -Werror-implicit-function-declaration -I/usr/include/libxml2 -Wstrict-
prototypes -Wmissing-prototypes -Wmissing-declarations -march=k8 -fPIC -DAST_MODULE=\"chan_misdn\" -O2 -g -pipe -Wall -
Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Werror-implicit-function-
In file included from misdn/ie.c:34:0,
                from misdn/isdn_msg_parser.c:26:
/builddir/build/BUILD/asterisk-1.8.0-beta2/include/asterisk/localtime.h:32:16: error: conflicting types for 'locale_t'
/usr/include/xlocale.h:43:20: note: previous declaration of 'locale_t' was here

Everything else compiles correctly.
Comments:By: Tilghman Lesher (tilghman) 2010-08-03 03:32:06

Please upload your autoconfig.h and config.log file.

Also, please revert all patches and submit the build log from a clean compile.

By: Paul Belanger (pabelanger) 2010-08-18 07:53:38

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines