[asterisk-bugs] [JIRA] (ASTERISK-28848) app_fax: Compile.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu May 28 07:31:31 CDT 2020


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

Asterisk Team updated ASTERISK-28848:
-------------------------------------

    Target Release Version/s: 17.5.0

> app_fax: Compile.
> -----------------
>
>                 Key: ASTERISK-28848
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28848
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_fax
>    Affects Versions: 16.9.0, 17.3.0
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>              Labels: fax
>      Target Release: 16.11.0, 17.5.0
>
>
> {code}In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:94:37: error: called object type '<dependent type>' is not a function or function pointer
>     if ((fir->history = (int16_t *) malloc(taps*sizeof(int16_t))))
>                                     ^
> include/asterisk/astmm.h:160:41: note: expanded from macro 'malloc'
>         Do_not_use_malloc__use_ast_malloc->fail(a)
>                                                ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:113:5: error: use of undeclared identifier 'Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory'
>     free(fir->history);
>     ^
> include/asterisk/astmm.h:162:2: note: expanded from macro 'free'
>         Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
>         ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:213:32: error: called object type '<dependent type>' is not a function or function pointer
>     fir->history = (int16_t *) malloc(taps*sizeof(int16_t));
>                                ^
> include/asterisk/astmm.h:160:41: note: expanded from macro 'malloc'
>         Do_not_use_malloc__use_ast_malloc->fail(a)
>                                                ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:228:5: error: use of undeclared identifier 'Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory'
>     free(fir->history);
>     ^
> include/asterisk/astmm.h:162:2: note: expanded from macro 'free'
>         Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
>         ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:261:30: error: called object type '<dependent type>' is not a function or function pointer
>     fir->history = (float *) malloc(taps*sizeof(float));
>                              ^
> include/asterisk/astmm.h:160:41: note: expanded from macro 'malloc'
>         Do_not_use_malloc__use_ast_malloc->fail(a)
>                                                ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:270:5: error: use of undeclared identifier 'Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory'
>     free(fir->history);
>     ^
> include/asterisk/astmm.h:162:2: note: expanded from macro 'free'
>         Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
>         ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:94:37: error: use of undeclared identifier 'Do_not_use_malloc__use_ast_malloc'
>     if ((fir->history = (int16_t *) malloc(taps*sizeof(int16_t))))
>                                     ^
> include/asterisk/astmm.h:160:2: note: expanded from macro 'malloc'
>         Do_not_use_malloc__use_ast_malloc->fail(a)
>         ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:213:32: error: use of undeclared identifier 'Do_not_use_malloc__use_ast_malloc'
>     fir->history = (int16_t *) malloc(taps*sizeof(int16_t));
>                                ^
> include/asterisk/astmm.h:160:2: note: expanded from macro 'malloc'
>         Do_not_use_malloc__use_ast_malloc->fail(a)
>         ^
> In file included from app_fax.c:34:
> In file included from /usr/include/x86_64-linux-gnu/spandsp.h:62:
> /usr/include/spandsp/fir.h:261:30: error: use of undeclared identifier 'Do_not_use_malloc__use_ast_malloc'
>     fir->history = (float *) malloc(taps*sizeof(float));
>                              ^
> include/asterisk/astmm.h:160:2: note: expanded from macro 'malloc'
>         Do_not_use_malloc__use_ast_malloc->fail(a)
>         ^{code}



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



More information about the asterisk-bugs mailing list