[asterisk-bugs] [Asterisk 0015325]: res_agi.c:2299: error: '__WORDSIZE' undeclared
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jun 15 10:02:24 CDT 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=15325
======================================================================
Reported By: smw420
Assigned To: mmichelson
======================================================================
Project: Asterisk
Issue ID: 15325
Category: Resources/res_agi
Reproducibility: always
Severity: block
Priority: normal
Status: closed
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-06-14 18:40 CDT
Last Modified: 2009-06-15 10:02 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
======================================================================
----------------------------------------------------------------------
(0106400) mmichelson (administrator) - 2009-06-15 10:02
https://issues.asterisk.org/view.php?id=15325#c106400
----------------------------------------------------------------------
This has already been fixed in the 1.4 branch of Asterisk by replacing
__WORDSIZE with sizeof(void *).
Issue History
Date Modified Username Field Change
======================================================================
2009-06-15 10:02 mmichelson Note Added: 0106400
2009-06-15 10:02 mmichelson Status new => resolved
2009-06-15 10:02 mmichelson Resolution open => fixed
2009-06-15 10:02 mmichelson Assigned To => mmichelson
2009-06-15 10:02 mmichelson Status resolved => closed
======================================================================
More information about the asterisk-bugs
mailing list