[asterisk-bugs] [Asterisk 0013417]: Asterisk stopped compiling on Open Solaris [revision 140974]

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 8 12:03:36 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13417 
====================================================================== 
Reported By:                dougm
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   13417
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta9 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 140974 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-03 15:04 CDT
Last Modified:              2008-09-08 12:03 CDT
====================================================================== 
Summary:                    Asterisk stopped compiling on Open Solaris [revision
140974]
Description: 
Possibly a couple of issues, but mostly that ael.flex and ael_lex.c code
doesn't compile.

CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" gmake -C menuselect
CONFIGURE_
SILENT="--silent" makeopts
gmake[1]: Entering directory `/export/home/dougm/asterisk/menuselect'
gmake[1]: `makeopts' is up to date.
gmake[1]: Leaving directory `/export/home/dougm/asterisk/menuselect'
menuselect/menuselect --check-deps menuselect.makeopts  
/usr/bin/ggrep: option requires an argument -- e
Usage: ggrep [OPTION]... PATTERN [FILE]...
Try `ggrep --help' for more information.
build_tools/make_buildopts_h: MENUSELECT_CFLAGS: not found
/usr/bin/ggrep: option requires an argument -- e
Usage: ggrep [OPTION]... PATTERN [FILE]...
Try `ggrep --help' for more information.
build_tools/make_buildopts_h: MENUSELECT_BUILD_DEPS: not found
Generating embedded module rules ...
   [CC] aelparse.c -> aelparse.o
ael.flex:78:25: ael/ael.tab.h: No such file or directory
ael_lex.c:962: error: syntax error before "YYSTYPE"
ael_lex.c:962: warning: no semicolon at end of struct or union
ael_lex.c:964: warning: type defaults to `int' in declaration of
`yylloc_r'
ael_lex.c:964: warning: data definition has no type or storage class
ael_lex.c:966: error: syntax error before '}' token
ael_lex.c:1005: error: syntax error before '*' token
ael_lex.c:1005: warning: type defaults to `int' in declaration of
`ael_yyget_lva
l'
ael_lex.c:1005: warning: data definition has no type or storage class
ael_lex.c:1007: error: syntax error before '*' token
ael_lex.c:1007: warning: function declaration isn't a prototype
ael_lex.c:1009: error: syntax error before '*' token
ael_lex.c:1009: warning: type defaults to `int' in declaration of
`ael_yyget_llo
c'
ael_lex.c:1009: warning: data definition has no type or storage class
ael_lex.c:1011: error: syntax error before '*' token
ael_lex.c:1011: warning: function declaration isn't a prototype
ael_lex.c:1120: error: syntax error before '*' token
ael_lex.c:1120: warning: function declaration isn't a prototype
ael_lex.c:1142: error: syntax error before '*' token
ael_lex.c:1143: warning: function declaration isn't a prototype

====================================================================== 

---------------------------------------------------------------------- 
 (0092179) svnbot (reporter) - 2008-09-08 12:03
 http://bugs.digium.com/view.php?id=13417#c92179 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 141682

U   trunk/build_tools/make_buildopts_h

------------------------------------------------------------------------
r141682 | seanbright | 2008-09-08 12:03:35 -0500 (Mon, 08 Sep 2008) | 9
lines

Quote the arguments to grep so that sh on various platforms doesn't choke
on the special characters (like ^).

(closes issue http://bugs.digium.com/view.php?id=13417)
Reported by: dougm
Patches:
      13417.make_buildopts_h.patch uploaded by seanbright (license 71)
Tested by: dougm

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=141682 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-08 12:03 svnbot         Checkin                                      
2008-09-08 12:03 svnbot         Note Added: 0092179                          
======================================================================




More information about the asterisk-bugs mailing list