[asterisk-bugs] [Asterisk 0015325]: res_agi.c:2299: error: '__WORDSIZE' undeclared

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jun 14 18:40:19 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15325 
====================================================================== 
Reported By:                smw420
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15325
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.26-rc2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-14 18:40 CDT
Last Modified:              2009-06-14 18:40 CDT
====================================================================== 
Summary:                    res_agi.c:2299: error: '__WORDSIZE' undeclared
Description: 
On FreeBSD 7.2 x64, I get the following compilation error...

sdev# gmake
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
gmake[1]: Entering directory `/root/asterisk-1.4.26-rc2/utils'
   [CC] astman.c -> astman.o
   [CC] md5.c -> md5.o
   [LD] astman.o md5.o -> astman
   [CC] smsq.c -> smsq.o
   [CC] strcompat.c -> strcompat.o
   [LD] smsq.o strcompat.o -> smsq
   [CC] stereorize.c -> stereorize.o
   [CC] frame.c -> frame.o
   [LD] stereorize.o frame.o -> stereorize
   [CC] streamplayer.c -> streamplayer.o
   [LD] streamplayer.o -> streamplayer
   [CC] muted.c -> muted.o
   [LD] muted.o -> muted
gmake[1]: Leaving directory `/root/asterisk-1.4.26-rc2/utils'
gmake[1]: Entering directory `/root/asterisk-1.4.26-rc2/agi'
   [CC] eagi-test.c -> eagi-test.o
   [CC] strcompat.c -> strcompat.o
   [LD] eagi-test.o strcompat.o -> eagi-test
   [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o
   [LD] eagi-sphinx-test.o -> eagi-sphinx-test
gmake[1]: Leaving directory `/root/asterisk-1.4.26-rc2/agi'
gmake[1]: Entering directory `/root/asterisk-1.4.26-rc2/res'
   [CC] res_adsi.c -> res_adsi.o
   [LD] res_adsi.o -> res_adsi.so
   [CC] res_agi.c -> res_agi.o
res_agi.c: In function 'load_module':
res_agi.c:2299: error: '__WORDSIZE' undeclared (first use in this
function)
res_agi.c:2299: error: (Each undeclared identifier is reported only once
res_agi.c:2299: error: for each function it appears in.)
gmake[1]: *** [res_agi.o] Error 1
gmake[1]: Leaving directory `/root/asterisk-1.4.26-rc2/res'
gmake: *** [res] Error 2
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-14 18:40 smw420         New Issue                                    
2009-06-14 18:40 smw420         Asterisk Version          => 1.4.26-rc2      
2009-06-14 18:40 smw420         Regression                => No              
2009-06-14 18:40 smw420         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list