Skip to content

cd media-server/test && make后报错 #242

Closed
@wangwenqiangGitHub

Description

make -j4
In file included from ../librtsp/test/media/mp4-file-reader.h:6,
from ../librtsp/test/media/mp4-file-reader.cpp:1:
../../avcodec/avbsf/include/avpktutil.h: In function ‘int avpktutil_input(avpktutil_t*, avstream_t*, const void*, size_t, int64_t, int64_t, int, avpacket_t**)’:
../../avcodec/avbsf/include/avpktutil.h:73:24: error: ‘ERROR’ was not declared in this scope
73 | if (!pkt) return -(ERROR + ENOMEM);
| ^~~~~~~~~
-e CXX vod-file-source.o

系统
uname -a
Linux ubuntu2204 5.15.0-47-generic #51-Ubuntu SMP Fri Aug 12 08:18:32 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
按照这个文档编译:

https://github.com/ireader/media-server/blob/master/compile.cn.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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