libavdevice/alsa_enc.c: In function 'audio_write_header':
libavdevice/alsa_enc.c:72:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=]
                'sample rate %d not available, nearest is %d\n',
                             ~^
                             %ld
                st->codecpar->sample_rate, sample_rate);
                ~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/act.c: In function 'read_header':
libavformat/act.c:90:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=]
         av_log(s, AV_LOG_ERROR, 'Sample rate %d is not supported.\n', st->codecpar->sample_rate);
                                              ~^                       ~~~~~~~~~~~~~~~~~~~~~~~~~
                                              %ld
libavformat/adxdec.c: In function 'adx_read_header':
libavformat/adxdec.c:117:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=]
         av_log(s, AV_LOG_ERROR, 'Invalid sample rate %d\n', par->sample_rate);
                                                      ~^     ~~~~~~~~~~~~~~~~
                                                      %ld
libavformat/avformat.c:787:6: error: conflicting types for 'avpriv_set_pts_info'
 void avpriv_set_pts_info(AVStream *st, int pts_wrap_bits,
      ^~~~~~~~~~~~~~~~~~~
In file included from libavformat/avformat.c:41:0:
libavformat/internal.h:586:6: note: previous declaration of 'avpriv_set_pts_info' was here
 void avpriv_set_pts_info(AVStream *st, int pts_wrap_bits,
      ^~~~~~~~~~~~~~~~~~~
make: *** [libavformat/avformat.o] Error 1
make: *** Waiting for unfinished jobs....