[Home]

Summary:ASTERISK-13038: [patch] 1.6.1 beta2 does not build on PPC
Reporter:Jeffrey C. Ollie (jcollie)Labels:
Date Opened:2008-11-07 16:00:17.000-0600Date Closed:2008-11-25 10:26:59.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 0008-sys-io.h-is-not-available-on-PPC-systems.patch
( 1) 0009-Define-missing-variable-when-compiling-on-PPC.patch
Description:1.6.1 beta 2 does not build on PPC:

1) glibc on PPC does not have <sys/io.h>.  It doesn't even seem necessary on other platforms.
2) A section of code inside a #ifdef PPC was missing a variable declararion.

Patches will be attached.
Comments:By: Terry Wilson (twilson) 2008-11-24 22:12:44.000-0600

app_rpt uses ioperm, which comes from glibc sys/io.h on my system, anyway.  might check that you have app_rpt set to build as by default it is unchecked on the other platforms you test against.

By: Digium Subversion (svnbot) 2008-11-24 22:49:56.000-0600

Repository: asterisk
Revision: 159025

U   branches/1.4/apps/app_rpt.c
U   branches/1.4/configure
U   branches/1.4/configure.ac
U   branches/1.4/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r159025 | tilghman | 2008-11-24 22:49:56 -0600 (Mon, 24 Nov 2008) | 3 lines

System call ioperm is non-portable, so check for its existence in autoconf.
(Closes issue ASTERISK-13038)

------------------------------------------------------------------------

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

By: Terry Wilson (twilson) 2008-11-25 10:26:59.000-0600

I went ahead and added the missing fix for app_festival as well.