[asterisk-bugs] [JIRA] (ASTERISK-24458) chan_phone fails to build on big endian systems
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Wed Oct 29 09:46:30 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-24458:
---------------------------------------
Assignee: Matt Jordan (was: Tzafrir Cohen)
Status: Triage (was: Waiting for Feedback)
> chan_phone fails to build on big endian systems
> -----------------------------------------------
>
> Key: ASTERISK-24458
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24458
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_phone
> Affects Versions: 13.0.0-beta3
> Reporter: Tzafrir Cohen
> Assignee: Matt Jordan
> Severity: Critical
>
> See build log in https://buildd.debian.org/status/fetch.php?pkg=asterisk&arch=powerpc&ver=1%3A13.0.0~dfsg-1&stamp=1414362167
> Short version:
> if (frame->subclass.format.id == AST_FORMAT_SLINEAR)
> ^
> chan_phone.c:830:37: note: each undeclared identifier is reported only once for each function it appears in
> make[3]: *** [chan_phone.o] Error 1
> Same happens on powerpc, sparc and s390x.
> Code in question:
> #if __BYTE_ORDER == __BIG_ENDIAN
> if (frame->subclass.format.id == AST_FORMAT_SLINEAR)
> swap = 1; /* Swap big-endian samples to little-endian as we copy */
> #endif
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list