[asterisk-bugs] [JIRA] (ASTERISK-28848) app_fax: Compile.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Wed Apr 22 12:36:25 CDT 2020
Alexander Traud created ASTERISK-28848:
------------------------------------------
Summary: 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: 17.3.0, 16.9.0
Reporter: Alexander Traud
Severity: Minor
{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