JeffyCN / meta-rockchip

Yocto BSP layer for the Rockchip SOC boards
Other
119 stars 92 forks source link

gstreamer1.0-rockchip won't build on warrior, missing patches for libdrm 2.4.97 ? #2

Closed ydirson closed 4 years ago

ydirson commented 4 years ago

Build fails as follows, which seem to point to the use of upstream libdrm (and in fact there are no rockchip-support patches for sumo's libdrm_2.4.97)

| ../../../git/gst/rkximage/gstkmsutils.c:41:5: error: 'DRM_FORMAT_NV12_10' undeclared here (not in a function); did you mean 'DRM_FORMAT_NV12'?
|    { DRM_FORMAT_##fourcc,GST_VIDEO_FORMAT_##fmt }
|      ^~~~~~~~~~~
| ../../../git/gst/rkximage/gstkmsutils.c:50:3: note: in expansion of macro 'DEF_FMT'
|    DEF_FMT (NV12_10, P010_10LE),
|    ^~~~~~~
| Makefile:647: recipe for target 'libgstrkximage_la-gstkmsutils.lo' failed
JeffyCN commented 4 years ago

Thanks for noticing, fixed at: https://github.com/JeffyCN/meta-rockchip/commit/55b1542a1eb8df820a7bc7bb30d7def24474723c