Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[ 71% 80216/112867] target C++: libOmxVenc <= hardware/qcom-caf/msm8996/media/m
FAILED: out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates
/src/omx_video_encoder.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r353983c1
/bin/clang++ -I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc/inc -
I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/common/inc -I hardware/qcom
-caf/msm8996/media/mm-core/inc -I hardware/qcom-caf/msm8996/media/libstagefright
hw -I out/target/product/santoni/obj/include/qcom/display -I out/target/product/
santoni/obj/include/adreno -I hardware/qcom-caf/msm8996/media/libc2dcolorconvert
-I hardware/qcom-caf/msm8996/media/hypv-intercept -I out/target/product/santoni
/obj/include/libvqzip -I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc
-I out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates -I
out/target/product/santoni/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libn
ativehelper/include_jni \$(cat out/target/product/santoni/obj/SHARED_LIBRARIES/l
ibOmxVenc_intermediates/import_includes) -I system/core/include -I system/media
/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/in
clude -I hardware/ril/include -I frameworks/native/include -I frameworks/native/
opengl/include -I frameworks/av/include -isystem out/target/product/santoni/obj/
include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem b
ionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isyst
em bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DA
NDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-c
anonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-st
rict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin
_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-
id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnost
ics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function
-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections
-fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_F
ORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor
-Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-securit
y -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bp
rebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/b
in -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-n
egative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17 -fno-r
tti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\
(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBU
G_LOW -UENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFE
R_LOG -USINGLE_ENCODER_INSTANCE -Werror -D_ANDROID_ICS_ -D_MSM8974_ -DMAX_RES_10
80P -DMAX_RES_1080P_EBI -D_DISABLE_TEMPORAL_LAYER_ -DUSE_ION -DUSE_NATIVE_HANDLE
_SOURCE -DSUPPORT_CONFIG_INTRA_REFRESH -DUSE_CAMERA_METABUFFER_UTILS -DMAX_H264_
LEVEL_4 -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -We
rror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-t
autological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautologi
cal-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++9
8-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF out/target/product/sa
ntoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_encoder.d -o o
ut/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_
video_encoder.o hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc/src/omx_
video_encoder.cpp"
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cp
p:2761:14: error: use of undeclared identifier 'VEN_MSG_FLUSH_OUPUT_DONE'
case VEN_MSG_FLUSH_OUPUT_DONE:
^
1 error generated.
[ 71% 80220/112867] target C++: libOmxVenc <= hardware/qcom-caf/msm8996/media/m
FAILED: out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates
/src/video_encoder_device_v4l2.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r353983c1
/bin/clang++ -I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc/inc -
I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/common/inc -I hardware/qcom
-caf/msm8996/media/mm-core/inc -I hardware/qcom-caf/msm8996/media/libstagefright
hw -I out/target/product/santoni/obj/include/qcom/display -I out/target/product/
santoni/obj/include/adreno -I hardware/qcom-caf/msm8996/media/libc2dcolorconvert
-I hardware/qcom-caf/msm8996/media/hypv-intercept -I out/target/product/santoni
/obj/include/libvqzip -I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc
-I out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates -I
out/target/product/santoni/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libn
ativehelper/include_jni \$(cat out/target/product/santoni/obj/SHARED_LIBRARIES/l
ibOmxVenc_intermediates/import_includes) -I system/core/include -I system/media
/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/in
clude -I hardware/ril/include -I frameworks/native/include -I frameworks/native/
opengl/include -I frameworks/av/include -isystem out/target/product/santoni/obj/
include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem b
ionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isyst
em bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DA
NDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-c
anonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-st
rict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin
_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-
id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnost
ics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function
-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections
-fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_F
ORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor
-Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-securit
y -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bp
rebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/b
in -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-n
egative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17 -fno-r
tti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\
(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBU
G_LOW -UENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFE
R_LOG -USINGLE_ENCODER_INSTANCE -Werror -D_ANDROID_ICS_ -D_MSM8974_ -DMAX_RES_10
80P -DMAX_RES_1080P_EBI -D_DISABLE_TEMPORAL_LAYER_ -DUSE_ION -DUSE_NATIVE_HANDLE
_SOURCE -DSUPPORT_CONFIG_INTRA_REFRESH -DUSE_CAMERA_METABUFFER_UTILS -DMAX_H264_
LEVEL_4 -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -We
rror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-t
autological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautologi
cal-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++9
8-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF out/target/product/sa
ntoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device_v4l
2.d -o out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/
src/video_encoder_device_v4l2.o hardware/qcom-caf/msm8996/media/mm-video-v4l2/vi
dc/venc/src/video_encoder_device_v4l2.cpp"
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc/src/video_encoder_device
_v4l2.cpp:500:36: error: use of undeclared identifier 'VEN_MSG_FLUSH_OUPUT_DONE'
venc_msg.msgcode = VEN_MSG_FLUSH_OUPUT_DONE;
^
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/venc/src/video_encoder_device
_v4l2.cpp:3769:15: error: use of undeclared identifier 'V4L2_ENC_QCOM_CMD_FLUSH'
enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH;
^
2 errors generated.
[ 71% 80224/112867] target C++: libOmxVdec <= hardware/qcom-caf/msm8996/media/m
FAILED: out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermediates
/src/omx_vdec_v4l2.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r353983c1
/bin/clang++ -I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/vdec/inc -
I hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/common/inc -I hardware/qcom
-caf/msm8996/media/mm-core/inc -I out/target/product/santoni/obj/include/qcom/di
splay -I out/target/product/santoni/obj/include/adreno -I hardware/qcom-caf/msm8
996/media/libc2dcolorconvert -I hardware/qcom-caf/msm8996/media/hypv-intercept -
I out/target/product/santoni/obj/include/mm-video/SwVdec -I out/target/product/s
antoni/obj/include/mm-video/swvdec -I hardware/qcom-caf/msm8996/media/mm-video-v
4l2/vidc/vdec -I out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_inte
rmediates -I out/target/product/santoni/gen/SHARED_LIBRARIES/libOmxVdec_intermed
iates -I libnativehelper/include_jni \$(cat out/target/product/santoni/obj/SHARE
D_LIBRARIES/libOmxVdec_intermediates/import_includes) -I system/core/include -I
system/media/audio/include -I hardware/libhardware/include -I hardware/libhardw
are_legacy/include -I hardware/ril/include -I frameworks/native/include -I frame
works/native/opengl/include -I frameworks/av/include -isystem out/target/product
/santoni/obj/include -isystem bionic/libc/include -isystem bionic/libc/kernel/ua
pi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/androi
d/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-de
claration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointe
r-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -
O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offse
tof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -
Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fc
olor-diagnostics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defau
lted-function-deleted -Wno-inconsistent-missing-override -ffunction-sections -fd
ata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noe
xecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non
-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=f
ormat-security -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linu
x-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-li
nux-android/bin -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-th
read-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu
++17 -fno-rtti -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -
D__align=__alignx -Dinline=__inline -g -O3 -DIMAGE_APPS_PROC -D_ANDROID_ -DCDECL
-DT_ARM -DNO_ARM_CLZ -UENABLE_DEBUG_LOW -UENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERRO
R -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -Wno-parentheses -D_ANDROID_ICS_ -D_MSM
8974_ -DPROCESS_EXTRADATA_IN_OUTPUT_PORT -DMAX_RES_1080P -DMAX_RES_1080P_EBI -DU
SE_ION -D_ANDROID_O_MR1_DIVX_CHANGES -DHEVC_PROFILE_HDR10_NOT_SUPPORTED -D_QUERY
_DISP_RES_ -DADAPTIVE_PLAYBACK_SUPPORTED -DFLEXYUV_SUPPORTED -DALLOCATE_OUTPUT_N
ATIVEHANDLE -DMAX_H264_LEVEL_42 -Werror -fPIC -D_USING_LIBCXX -DANDROID_STRICT
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temp
orary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-t
ype-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological
-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++1
1 -MD -MF out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermedia
tes/src/omx_vdec_v4l2.d -o out/target/product/santoni/obj/SHARED_LIBRARIES/libOm
xVdec_intermediates/src/omx_vdec_v4l2.o hardware/qcom-caf/msm8996/media/mm-video
-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp"
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:34
03:15: error: use of undeclared identifier 'V4L2_DEC_QCOM_CMD_FLUSH'
dec.cmd = V4L2_DEC_QCOM_CMD_FLUSH;
^
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:34
13:25: error: use of undeclared identifier 'V4L2_DEC_QCOM_CMD_FLUSH_CAPTURE'
dec.flags = V4L2_DEC_QCOM_CMD_FLUSH_CAPTURE;
^
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:34
26:21: error: use of undeclared identifier 'V4L2_DEC_QCOM_CMD_FLUSH_OUTPUT'
dec.flags = V4L2_DEC_QCOM_CMD_FLUSH_OUTPUT | V4L2_DEC_QCOM_CMD_FLUSH_CAP
TURE;
^
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:34
26:54: error: use of undeclared identifier 'V4L2_DEC_QCOM_CMD_FLUSH_CAPTURE'
dec.flags = V4L2_DEC_QCOM_CMD_FLUSH_OUTPUT | V4L2_DEC_QCOM_CMD_FLUSH_CAP
TURE;
^
hardware/qcom-caf/msm8996/media/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:40
96:25: error: enumeration value 'V4L2_MPEG_VIDEO_H264_LEVEL_UNKNOWN' not handled
in switch [-Werror,-Wswitch]
switch ((enum v4l2_mpeg_video_h264_level)level_control.value) {
^
5 errors generated.
16:06:32 ninja failed with: exit status 1
#### failed to build some targets (01:28:15 (hh:mm:ss)) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment