In file included from /tmp/SBo/ZoneMinder-1.32.2/src/zm_image.h:35:0, from /tmp/SBo/ZoneMinder-1.32.2/src/zm_camera.h:26, from /tmp/SBo/ZoneMinder-1.32.2/src/zm_camera.cpp:21: /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:298:29: error: missing binary operator before token "(" #if LIBAVCODEC_VERSION_CHECK(57, 64, 0, 64, 0) ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:302:29: error: missing binary operator before token "(" #if LIBAVCODEC_VERSION_CHECK(56, 8, 0, 60, 100) ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:309:29: error: missing binary operator before token "(" #if LIBAVCODEC_VERSION_CHECK(52, 23, 0, 23, 0) ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:315:29: error: missing binary operator before token "(" #if LIBAVCODEC_VERSION_CHECK(55, 28, 1, 45, 101) ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:321:31: error: missing binary operator before token "(" #if ! LIBAVCODEC_VERSION_CHECK(55, 28, 1, 45, 101) ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:41: error: ‘AVFormatContext’ was not declared in this scope int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:59: error: ‘avctx’ was not declared in this scope int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:66: error: ‘AVOutputFormat’ was not declared in this scope int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:82: error: ‘oformat’ was not declared in this scope int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:91: error: expected primary-expression before ‘const’ int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:111: error: expected primary-expression before ‘const’ int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:267:131: error: expression list treated as compound expression in initializer [-fpermissive] int hacked_up_context2_for_older_ffmpeg(AVFormatContext **avctx, AVOutputFormat *oformat, const char *format, const char *filename); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:26: error: ‘AVRational’ was not declared in this scope int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:52: error: expected primary-expression before ‘in_ts’ int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:60: error: ‘AVRational’ was not declared in this scope int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:78: error: expected primary-expression before ‘int’ int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:100: error: expected primary-expression before ‘*’ token int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:101: error: ‘last’ was not declared in this scope int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:107: error: ‘AVRational’ was not declared in this scope int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:275:124: error: expression list treated as compound expression in initializer [-fpermissive] int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:286:8: error: ‘av_always_inline’ does not name a type static av_always_inline av_const int64_t av_clip64_c(int64_t a, int64_t amin, int64_t amax) ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:296:28: error: variable or field ‘zm_dump_stream_format’ declared void void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:296:28: error: ‘AVFormatContext’ was not declared in this scope /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:296:45: error: ‘ic’ was not declared in this scope void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:296:49: error: expected primary-expression before ‘int’ void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:296:56: error: expected primary-expression before ‘int’ void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:296:67: error: expected primary-expression before ‘int’ void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:297:28: error: ‘AVCodecContext’ does not name a type void zm_dump_codec ( const AVCodecContext *codec ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:306:36: error: ‘AVPacket’ was not declared in this scope unsigned int zm_av_packet_ref( AVPacket *dst, AVPacket *src ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:306:46: error: ‘dst’ was not declared in this scope unsigned int zm_av_packet_ref( AVPacket *dst, AVPacket *src ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:306:51: error: ‘AVPacket’ was not declared in this scope unsigned int zm_av_packet_ref( AVPacket *dst, AVPacket *src ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:306:61: error: ‘src’ was not declared in this scope unsigned int zm_av_packet_ref( AVPacket *dst, AVPacket *src ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:306:65: error: expression list treated as compound expression in initializer [-fpermissive] unsigned int zm_av_packet_ref( AVPacket *dst, AVPacket *src ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:325:22: error: ‘AVCodec’ was not declared in this scope int check_sample_fmt(AVCodec *codec, enum AVSampleFormat sample_fmt); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:325:31: error: ‘codec’ was not declared in this scope int check_sample_fmt(AVCodec *codec, enum AVSampleFormat sample_fmt); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:325:38: error: expected primary-expression before ‘enum’ int check_sample_fmt(AVCodec *codec, enum AVSampleFormat sample_fmt); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:325:68: error: expression list treated as compound expression in initializer [-fpermissive] int check_sample_fmt(AVCodec *codec, enum AVSampleFormat sample_fmt); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:327:23: error: ‘AVStream’ was not declared in this scope bool is_video_stream( AVStream * stream ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:327:34: error: ‘stream’ was not declared in this scope bool is_video_stream( AVStream * stream ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:328:23: error: ‘AVStream’ was not declared in this scope bool is_audio_stream( AVStream * stream ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:328:34: error: ‘stream’ was not declared in this scope bool is_audio_stream( AVStream * stream ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:23: error: ‘AVCodecContext’ was not declared in this scope int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:39: error: ‘context’ was not declared in this scope int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:48: error: ‘AVFrame’ was not declared in this scope int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:57: error: ‘frame’ was not declared in this scope int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:64: error: ‘AVPacket’ was not declared in this scope int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:74: error: ‘packet’ was not declared in this scope int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:329:81: error: expression list treated as compound expression in initializer [-fpermissive] int zm_receive_frame( AVCodecContext *context, AVFrame *frame, AVPacket &packet ); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:330:17: error: variable or field ‘dumpPacket’ declared void void dumpPacket(AVPacket *,const char *text="DEBUG"); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:330:17: error: ‘AVPacket’ was not declared in this scope /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:330:27: error: expected primary-expression before ‘,’ token void dumpPacket(AVPacket *,const char *text="DEBUG"); ^ /tmp/SBo/ZoneMinder-1.32.2/src/zm_ffmpeg.h:330:28: error: expected primary-expression before ‘const’ void dumpPacket(AVPacket *,const char *text="DEBUG"); ^ In file included from /tmp/SBo/ZoneMinder-1.32.2/src/zm_camera.h:26:0, from /tmp/SBo/ZoneMinder-1.32.2/src/zm_camera.cpp:21: /tmp/SBo/ZoneMinder-1.32.2/src/zm_image.h:158:25: error: ‘AVFrame’ does not name a type explicit Image( const AVFrame *frame );