Opened 3 years ago

Closed 2 years ago

#6834 closed defect (fixed)

Build error with latest rockchip-mpp version 20171107

Reported by: bermond Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


ffmpeg git master cannot recognize rockchip-mpp 20171107 (latest version at the time of writing) at build time. It gives the following error:

ERROR: Rockchip MPP is outdated, please get a more recent one.

How to reproduce:

$ git clone git://
$ cd ffmpeg
$ ./configure --enable-version3 --enable-libdrm --enable-rkmpp

It compiles fine with the previous rockchip-mpp version 20170811.

System information:
OS: Arch Linux x86_64
FFmpeg: git master
rockchip-mpp: 20171107
libdrm: 2.4.88

Change History (4)

comment:1 Changed 3 years ago by bermond

Relevant config.log section:

gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/libdrm -c -o /tmp/ffconf.pYlT0500/test.o /tmp/ffconf.pYlT0500/test.c
/tmp/ffconf.pYlT0500/test.c: In function 'check_MPP_DEC_GET_FREE_PACKET_SLOT_COUNT':
/tmp/ffconf.pYlT0500/test.c:3:69: error: 'MPP_DEC_GET_FREE_PACKET_SLOT_COUNT' undeclared (first use in this function); did you mean 'check_MPP_DEC_GET_FREE_PACKET_SLOT_COUNT'?
/tmp/ffconf.pYlT0500/test.c:3:69: note: each undeclared identifier is reported only once for each function it appears in
ERROR: Rockchip MPP is outdated, please get a more recent one.

comment:2 Changed 2 years ago by bermond

MPP_DEC_GET_FREE_PACKET_SLOT_COUNT is not defined anymore at rk_mpi_cmd.h in rockchip-mpp versions later than 20170811.

And this error occurs because configure checks for MPP_DEC_GET_FREE_PACKET_SLOT_COUNT:

{ check_func_headers rockchip/rk_mpi_cmd.h "MPP_DEC_GET_FREE_PACKET_SLOT_COUNT" ||
                                 die "ERROR: Rockchip MPP is outdated, please get a more recent one."; } &&

ffmpeg git master still not build with the current rockchip-mpp version 20171218.

comment:3 Changed 2 years ago by bermond

This is now fixed by commit c6f84106366c6f243a8b07dbffcc7880009aa904.

I can confirm that ffmpeg git master is building fine with latest rockchip-mpp version 20171218.

I would like to thank ffmpeg developers for fixing this.

This ticket can be now closed.

comment:4 Changed 2 years ago by bermond

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.