Skip to content

Cannot Compile #28

@moppi79

Description

@moppi79

Hi,

the patch is working,

but is crashing while compiling

[CC] format_ogg_opus_open_source.c -> format_ogg_opus_open_source.o
In file included from format_ogg_opus_open_source.c:36:
/root/here1/asterisk-22.5.2/include/asterisk/format_cache.h:321:63: warning: ‘struct ast_codec’ declared inside parameter list will not be visible outside of this definition or declaration
321 | struct ast_format *ast_format_cache_get_by_codec(const struct ast_codec *codec);
| ^~~~~~~~~
gcc: warning: @OPUSENC_INCLUDE@: linker input file unused because linking not done
gcc: error: @OPUSENC_INCLUDE@: linker input file not found: No such file or directory
make[1]: *** [/root/here1/asterisk-22.5.2/Makefile.rules:165: format_ogg_opus_open_source.o] Error 1
make: *** [Makefile:398: formats] Error 2

arrow points on: ast_codec

i use Asterisk 22.5.2 LTS
On Debian GNU/Linux 12 (bookworm)
hardware is a Raspberry PI 5

BR
Moppi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions