[asterisk-bugs] [Asterisk 0014038]: apps/app_festival.c does not compile for PPC target
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Feb 6 10:27:37 CST 2009
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=14038
======================================================================
Reported By: ffloimair
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 14038
Category: Applications/app_festival
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: 1.6.0.2
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2008-12-09 04:49 CST
Last Modified: 2009-02-06 10:27 CST
======================================================================
Summary: apps/app_festival.c does not compile for PPC target
Description:
When I try to cross compile Asterisk for a PowerPC based system (MPC
5200B), I get the error below.
Tested with Asterisk 1.6.0.2 and 1.6.0.3-rc1.
I identified the following lines in apps/app_festival.c
118: static int send_waveform_to_fd(char *waveform, int length, int fd)
119: {
120: int res;
121: int x;
122: #ifdef __PPC__
123: char c;
124: int x;
125: #endif
It's pretty obvious that 'int x' is declarated twice when __PPC__
evaluates to true.
======================================================================
----------------------------------------------------------------------
(0099614) file (administrator) - 2009-02-06 10:27
http://bugs.digium.com/view.php?id=14038#c99614
----------------------------------------------------------------------
I have confirmed that this has already been changed in the 1.6.0 branch, it
should be in the next release.
Issue History
Date Modified Username Field Change
======================================================================
2009-02-06 10:27 file Note Added: 0099614
2009-02-06 10:27 file Status assigned => resolved
2009-02-06 10:27 file Resolution reopened => no change
required
======================================================================
More information about the asterisk-bugs
mailing list