[Home]

Summary:ASTERISK-17516: Weird -o parameter for flex
Reporter:Paul Dugas (pdugas)Labels:
Date Opened:2011-03-04 15:25:54.000-0600Date Closed:2011-03-06 18:59:29.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:flex-2.5.4a on my 32-bit CentOS-5.5 machine doesn't like a space between the -o command-line parameter the the output file name.  I ended up editing the configure script to remove the space so this:

 ${FLEX} -o ${tmp}/test.c ${tmp}/test.fl

became this:

 ${FLEX} -o${tmp}/test.c ${tmp}/test.fl

While this worked for me, it seems like a bug in flex to not accept the space.  I'd not have my feeling hurt if this report were marked "will not fix".  Figured it couldn't hurt to get it noted somewhere in case someone else runs into it.

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

I found this after having trouble compiling ast_expr2f.c.

    [CC] ast_expr2f.c -> ast_expr2f.o
 ast_expr2.fl: In function ‘ast_yylex’:
 ast_expr2.fl:240: error: expected expression before ‘do’

PS: I would have attached an "svn diff" for this but configure is has a "svn:mime-type" property set to "application/octet-stream" and SVN refuses to compare the version.  I'm not sure that's the correct value for that property.
Comments:By: SIP:ian@txrx.ca (weezey) 2011-03-05 16:41:06.000-0600

This prevented me from compiling as well, thanks for the fix.

By: Tilghman Lesher (tilghman) 2011-03-06 18:59:29.000-0600

This change has been reverted, so this fix is not needed, either.