[Home]

Summary:ASTERISK-10800: Failed compile pbx_ael on solaris
Reporter:snuffy (snuffy)Labels:
Date Opened:2007-11-18 18:54:02.000-0600Date Closed:2007-12-20 16:25:21.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_ael
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 11287.diff
( 1) 11287-v2.diff
( 2) build-opts.diff
Description: [CC] pbx_ael.c -> pbx_ael.o
pbx_ael.c:240:9: invalid suffix "x" on integer constant
pbx_ael.c:236: error: `n' undeclared here (not in a function)
pbx_ael.c:236: error: initializer element is not constant
pbx_ael.c:236: error: (near initialization for `__mod_info.buildopt_sum[0]')
pbx_ael.c:240:9: invalid suffix "x" on integer constant
pbx_ael.c:236: error: initializer element is not constant
pbx_ael.c:236: error: (near initialization for `__mod_info.buildopt_sum[1]')
pbx_ael.c:240:9: invalid suffix "x" on integer constant
pbx_ael.c:236: error: initializer element is not constant
pbx_ael.c:236: error: (near initialization for `__mod_info.buildopt_sum[2]')
pbx_ael.c:240:9: invalid suffix "x" on integer constant
pbx_ael.c:236: error: initializer element is not constant
pbx_ael.c:236: error: (near initialization for `__mod_info.buildopt_sum[3]')
pbx_ael.c:236: error: initializer element is not constant
pbx_ael.c:236: error: (near initialization for `__mod_info.buildopt_sum')
gmake[1]: *** [pbx_ael.o] Error 1
gmake: *** [utils] Error 2
Comments:By: Russell Bryant (russell) 2007-11-18 20:48:02.000-0600

Can you try again, and also post the AST_BUILDOPTS_SUM line from include/asterisk/buildopts.h ?

By: snuffy (snuffy) 2007-11-18 21:49:11.000-0600

Same error. config/compile from scratch
AST_BUILDOPT_SUM is the following value:
#define AST_BUILDOPT_SUM { 0x-n, 0x, 0x, 0x }

By: snuffy (snuffy) 2007-11-19 01:51:25.000-0600

mmm.. By default Solaris 10 / OpenSolaris does not have md5 command per say...
I will upload patch shortly



By: snuffy (snuffy) 2007-11-19 02:31:37.000-0600

This patch will now correctly produce the same output as a linux machine



By: Digium Subversion (svnbot) 2007-12-20 16:25:21.000-0600

Repository: asterisk
Revision: 94319

U   trunk/build_tools/make_buildopts_h

------------------------------------------------------------------------
r94319 | murf | 2007-12-20 16:25:20 -0600 (Thu, 20 Dec 2007) | 1 line

closes issue ASTERISK-10800; thanks to snuffy for this fix, which will surely make all solaris owners shout praises to his name.
------------------------------------------------------------------------

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