[Home]

Summary:ASTERISK-13019: TRUNK fails to compile on MacOS
Reporter:John Todd (jtodd)Labels:
Date Opened:2008-11-05 20:11:25.000-0600Date Closed:2008-11-06 17:09:28.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Portability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) macos-fail.txt
Description:On a fresh SVN TRUNK checkout, I get this during "make":

...
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status config.h
/bin/rm -f -r autom4te*.cache
cp -f .cleancount .lastclean
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
menuselect.c: In function 'sanity_check':
menuselect.c:1266: error: nested functions are disabled, use -fnested-functions to re-enable
make[1]: *** [menuselect.o] Error 1
make: *** [menuselect/menuselect] Error 2
sh-3.2#

****** ADDITIONAL INFORMATION ******

Worked a week or so ago.  Complete output of failed compile enclosed in attachment.
Comments:By: Jason Parker (jparker) 2008-11-06 11:03:07.000-0600

Check out the -dev list..  There is a reviewboard item to remove nested functions.  It would be most helpful if you could test the patch there. :)

By: Sean Bright (seanbright) 2008-11-06 16:11:55.000-0600

Try an 'svn update' and compile again.  Of course even if you get menuselect to compile, asterisk probably won't yet :)

By: Sean Bright (seanbright) 2008-11-06 16:45:09.000-0600

Fixed in r414 of menuselect.

By: John Todd (jtodd) 2008-11-06 17:09:28.000-0600

Problem solved.  Other subsequent compile problem with ael_lex solved on irc with kpfleming (GLOB_ABORTED).