[Home]

Summary:ASTERISK-09096: cannot compile with DONT_OPTMIZE
Reporter:jmls (jmls)Labels:
Date Opened:2007-03-25 02:20:40Date Closed:2007-03-26 12:56:56
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If I have this flag set in make menuselect->complier flags, then the compilation fails. Uncheck the flag, and the system compiles.

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

Error is:
menuselect/menuselect --check-deps   menuselect.makeopts
  [LD] aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o -> aelparse
aelparse.o(.text+0x1d05): In function `ael_yylex':
/usr/src/asterisk-1.4/utils/ael.flex:417: undefined reference to `ast_copy_string'
ast_expr2f.o(.text+0x2d03): In function `ast_expr':
/usr/src/asterisk-1.4/utils/ast_expr2.fl:248: undefined reference to `ast_copy_string'
collect2: ld returned 1 exit status
make[1]: *** [aelparse] Error 1
make: *** [utils] Error 2
Comments:By: jmls (jmls) 2007-03-25 06:24:21

as mentioned by file on irc, this is caused by the 59145 patch. If I remove the changess, the system compiles just fine.

Murf: over to you :)

By: Joshua C. Colp (jcolp) 2007-03-26 10:22:38

Fixed in 1.4 as of revision 59200 and trunk as of revision 59201.

By: Steve Murphy (murf) 2007-03-26 12:56:56

Changed the flex input files for ast_expr2 and ael.flex, as well as the output, and committed to 1.4 via r. 59206
      and  to trunk via r. 59210