[asterisk-bugs] [JIRA] (ASTERISK-26225) Failed to compile

Claudiu Olteanu (JIRA) noreply at issues.asterisk.org
Thu Jul 21 20:25:56 CDT 2016


Claudiu Olteanu created ASTERISK-26225:
------------------------------------------

             Summary: Failed to compile
                 Key: ASTERISK-26225
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26225
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Tests/testsuite
    Affects Versions: 13.10.0
         Environment: RedHat 7.2 x86_64
gcc version 4.8.5
            Reporter: Claudiu Olteanu


Hi there,

I just downloaded the latest version  (13.10.0)  and when I try to compile it i get the following error:

```
[root at srv01 asterisk-13.10.0]# make
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/asterisk-13.10.0/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/src/asterisk-13.10.0/menuselect'
   [CC] test_res_pjsip_scheduler.c -> test_res_pjsip_scheduler.o
test_res_pjsip_scheduler.c: In function ‘scheduler’:
test_res_pjsip_scheduler.c:112:2: warning: implicit declaration of function ‘ast_test_validate’ [-Wimplicit-function-declaration]
  ast_test_validate(test, test_data1 != NULL);
  ^
test_res_pjsip_scheduler.c: In function ‘scheduler_cleanup’:
test_res_pjsip_scheduler.c:265:38: error: ‘res’ undeclared (first use in this function)
  ast_test_validate(test, (when < 0), res, error);
                                      ^
test_res_pjsip_scheduler.c:265:38: note: each undeclared identifier is reported only once for each function it appears in
test_res_pjsip_scheduler.c:265:43: error: ‘error’ undeclared (first use in this function)
  ast_test_validate(test, (when < 0), res, error);
                                           ^
make[1]: *** [test_res_pjsip_scheduler.o] Error 1
make: *** [tests] Error 2
```



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



More information about the asterisk-bugs mailing list