[asterisk-bugs] [Asterisk 0013374]: Aaterisk doesn't build on OpenSolaris (SVN)

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 25 14:52:55 CDT 2008


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=13374 
====================================================================== 
Reported By:                dougm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13374
Category:                   Core/Portability
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 139831 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-25 14:08 CDT
Last Modified:              2008-08-25 14:52 CDT
====================================================================== 
Summary:                    Aaterisk doesn't build on OpenSolaris (SVN)
Description: 
 gmake
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
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
gmake[2]: Entering directory
`/export/home/dougm/asterisk/menuselect/mxml'
gcc -O -Wall   -c mxml-attr.c
gcc -O -Wall   -c mxml-entity.c
gcc -O -Wall   -c mxml-file.c
gcc -O -Wall   -c mxml-index.c
gcc -O -Wall   -c mxml-node.c
gcc -O -Wall   -c mxml-search.c
gcc -O -Wall   -c mxml-set.c
gcc -O -Wall   -c mxml-private.c
gcc -O -Wall   -c mxml-string.c
/usr/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o
mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o
mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ar: writing libmxml.a
ranlib libmxml.a
gmake[2]: Leaving directory `/export/home/dougm/asterisk/menuselect/mxml'
gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o
mxml/libmxml.a 
gmake[1]: Leaving directory `/export/home/dougm/asterisk/menuselect'
Generating input for menuselect ...
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.app_adsiprog.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.cdr_adaptive_odbc.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.chan_agent.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.codec_a_mu.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.format_g723.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.func_base64.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.pbx_ael.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.res_adsi.moduleinfo] Error 2
nawk: empty regular expression
 source line number 3
 context is
	 >>> // <<<  {if (printit) print}
gmake[1]: *** [.test_dlinklists.moduleinfo] Error 2
gmake: *** [menuselect-tree] Error 2

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013373 Asterisk 1.6.0-beta9 doesn't compile un...
====================================================================== 

---------------------------------------------------------------------- 
 (0091711) seanbright (manager) - 2008-08-25 14:52
 http://bugs.digium.com/view.php?id=13374#c91711 
---------------------------------------------------------------------- 
Could you try the attached patch and see if that fixes your problem? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-25 14:52 seanbright     Note Added: 0091711                          
2008-08-25 14:52 seanbright     Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list