Opened 6 days ago

Last modified 6 days ago

#6834 new defect

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

Description

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://source.ffmpeg.org/ffmpeg.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 (1)

comment:1 Changed 6 days 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'?
 long check_MPP_DEC_GET_FREE_PACKET_SLOT_COUNT(void) { return (long) MPP_DEC_GET_FREE_PACKET_SLOT_COUNT; }
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                     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.
Note: See TracTickets for help on using tickets.