[asterisk-bugs] [Asterisk 0013417]: Asterisk stopped compiling on Open Solaris [revision 140974]
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 8 11:22:51 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 11:22 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
======================================================================
----------------------------------------------------------------------
(0092176) dougm (reporter) - 2008-09-08 11:22
http://bugs.digium.com/view.php?id=13417#c92176
----------------------------------------------------------------------
Sorry for the delay. I was out of town without Internet access.
The patch clears up the build issues. The only thing I see now are some
warnings which may exist with Linux as well. The warning list is:
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]: Leaving directory `/export/home/dougm/asterisk/menuselect'
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'
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" gmake -C menuselect
CONFIGURE_
SILENT="--silent" menuselect
gmake[1]: Entering directory `/export/home/dougm/asterisk/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c
menuselect.c: In function `process_deps':
menuselect.c:482: warning: implicit declaration of function `strsep'
menuselect.c: In function `process_prev_failed_deps':
menuselect.c:793: warning: assignment makes pointer from integer without a
cast
menuselect.c:794: warning: assignment makes pointer from integer without a
cast
menuselect.c: In function `parse_existing_config':
menuselect.c:858: warning: assignment makes pointer from integer without a
cast
menuselect.c:871: warning: assignment makes pointer from integer without a
cast
menuselect.c: In function `generate_makeopts_file':
menuselect.c:1023: warning: assignment makes pointer from integer without
a cast
menuselect.c:1025: warning: assignment makes pointer from integer without
a cast
menuselect.c:1033: warning: assignment makes pointer from integer without
a cast
menuselect.c:1035: warning: assignment makes pointer from integer without
a cast
gcc -g -c -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c
strcompat.c: In function `strcasestr':
strcompat.c:107: warning: implicit declaration of function `alloca'
strcompat.c: In function `strtoq':
strcompat.c:278: warning: integer constant is too large for "long" type
strcompat.c:278: warning: integer constant is too large for "long" type
strcompat.c:278: warning: integer constant is too large for "long" type
strcompat.c:278: warning: integer constant is too large for "long" type
strcompat.c:301: warning: integer constant is too large for "long" type
strcompat.c:301: warning: integer constant is too large for "long" type
Issue History
Date Modified Username Field Change
======================================================================
2008-09-08 11:22 dougm Note Added: 0092176
======================================================================
More information about the asterisk-bugs
mailing list