[asterisk-bugs] [JIRA] (ASTERISK-25354) Unable to compile any version

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Nov 10 18:15:33 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton closed ASTERISK-25354.
-----------------------------------

    Resolution: Cannot Reproduce

You seem to be talking about three different issues on this one issue which violates the guidelines. This issue is unclear and may even be a duplicate with ASTERISK-25503.

I'm closing this issue out to clean it up. We'll look into compilation issues on Fedora 23 in ASTERISK-25503 which appears very specific.

> Unable to compile any version
> -----------------------------
>
>                 Key: ASTERISK-25354
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25354
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Features
>    Affects Versions: 11.19.0
>         Environment: Fedora Core 22
>            Reporter: Private Name
>            Assignee: Unassigned
>         Attachments: backtrace.txt
>
>
> I get a buhch of errors when compiling. Same errors in version 12 and 1.8
> The errors come in different components.
> I download Asterisk like this:
> svn co http://svn.digium.com/svn/asterisk/branches/11 asterisk
>  gcc --version
> gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
> cat /etc/issue
> Fedora release 22 (Twenty Two)
> Kernel \r on an \m (\l)
> After downloading I see>
> Checked out external at revision 469.
> Checked out revision 1207.
> Checked out revision 434725.
> features.c: In function 'feature_interpret':
> features.c:3729:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
>                                                      ^
> features.c:3733:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
>                                                      ^
> features.c:3725:19: note: 'features' was declared here
>   struct ast_flags features;
>                    ^
> cc1: all warnings being treated as errors
> /usr/src/asterisk/Makefile.rules:103: recipe for target 'features.o' failed
> make[1]: *** [features.o] Error 1
> Makefile:387: recipe for target 'main' failed
> make: *** [main] Error 2
> CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
> make[1]: Entering directory '/usr/src/asterisk/menuselect'
> make[1]: 'makeopts' is up to date.
> make[1]: Leaving directory '/usr/src/asterisk/menuselect'
>    [CCi] features.i -> features.o
> features.c: In function 'feature_interpret':
> features.c:3729:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
>                                                      ^
> features.c:3733:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
>                                                      ^
> features.c:3725:19: note: 'features' was declared here
>   struct ast_flags features;
>                    ^
> cc1: all warnings being treated as errors
> /usr/src/asterisk/Makefile.rules:103: recipe for target 'features.o' failed
> make[1]: *** [features.o] Error 1
> Makefile:387: recipe for target 'main' failed
> make: *** [main] Error 2



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list