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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Jul 22 04:39:56 CDT 2016


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

Joshua Colp updated ASTERISK-26225:
-----------------------------------

    Assignee: Claudiu Olteanu
      Status: Waiting for Feedback  (was: Triage)

Those modules don't get enabled by default and the dependency on that specific one is indeed correct... what is your menuselect.makeopts? What options did you pass to configure? What did you turn on in menuselect?

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