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

Private Name (JIRA) noreply at issues.asterisk.org
Fri Aug 28 15:58:33 CDT 2015


Private Name created ASTERISK-25354:
---------------------------------------

             Summary: 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


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