[asterisk-bugs] [JIRA] (ASTERISK-27171) Asterisk 15.0.0-Beta1 does not compile
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Wed Aug 2 15:41:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237915#comment-237915 ]
Corey Farrell commented on ASTERISK-27171:
------------------------------------------
Close, you'll need to add {{-Np1}} to the command:
| patch -i 0001-Fix-compile-error-for-old-versions-of-GCC.patch -Np1
You should run this from the folder with the extracted Asterisk sources, the same directory where you run {{./configure}}. No need to modify the file, it should apply as is.
> Asterisk 15.0.0-Beta1 does not compile
> --------------------------------------
>
> Key: ASTERISK-27171
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27171
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_voicemail
> Affects Versions: 15.0.0-beta1
> Environment: Centos 5 or 6 32 bit
> uname -r returns 2.6.18-419.el5
> just went out of support
> If you need more info, just ask and I'll get it.
> Reporter: Ira Emus
> Attachments: 0001-Fix-compile-error-for-old-versions-of-GCC.patch
>
>
> Trying to compile 15 Beta 1 fails with:
> > * [CC] app_voicemail.c -> app_voicemail.o cc1: error: unrecognized
> > command line option "-Wno-format-truncation" make[1]: ***
> > [app_voicemail.o] Error 1 make: *** [apps] Error 2
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list