请问D1 SDK 的gstreamer默认可以编译成功?
-
cc1: warning: /opt/D1/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/include: No suc h file or directory [-Wmissing-include-dirs] CC libgstomx_la-gstomxmjpegenc.lo cc1: warning: /opt/D1/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/include: No suc h file or directory [-Wmissing-include-dirs] gstomxmjpegenc.c: In function 'gst_omx_mjpeg_enc_class_init': gstomxmjpegenc.c:57:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("mjpeg class init!\n"); ^~~~~~ gstomxmjpegenc.c:57:3: warning: incompatible implicit declaration of built-in function 'printf' gstomxmjpegenc.c:57:3: note: include '<stdio.h>' or provide a declaration of 'printf' gstomxmjpegenc.c:28:1: +#include <stdio.h> gstomxmjpegenc.c:57:3: printf("mjpeg class init!\n"); ^~~~~~ gstomxmjpegenc.c: In function 'gst_omx_mjpeg_enc_set_format': gstomxmjpegenc.c:111:19: warning: variable 's' set but not used [-Wunused-but-set-variable] GstStructure *s; ^ gstomxmjpegenc.c:144:1: warning: label 'unsupported_level' defined but not used [-Wunused-label] unsupported_level: ^~~~~~~~~~~~~~~~~ gstomxmjpegenc.c:139:1: warning: label 'unsupported_profile' defined but not used [-Wunused-label] unsupported_profile: ^~~~~~~~~~~~~~~~~~~ gstomxmjpegenc.c: In function 'gst_omx_mjpeg_enc_get_caps': gstomxmjpegenc.c:158:18: warning: unused variable 'level' [-Wunused-variable] guint profile, level; ^~~~~ gstomxmjpegenc.c:158:9: warning: unused variable 'profile' [-Wunused-variable] guint profile, level; ^~~~~~~ CCLD libgstomx.la gcc: error: unrecognized argument in option '-mcmodel=medany' gcc: note: valid arguments to '-mcmodel=' are: 32 kernel large medium small; did you mean 'medium'? gcc: error: unrecognized argument in option '-mabi=lp64d' gcc: note: valid arguments to '-mabi=' are: ms sysv Makefile:724: recipe for target 'libgstomx.la' failed make[6]: *** [libgstomx.la] Error 1 make[6]: Leaving directory '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3/omx' Makefile:527: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3' Makefile:459: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3' Makefile:109: recipe for target '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3/.built' failed make[3]: *** [/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3/.built] Error 2 make[3]: Leaving directory '/opt/D1/package/multimedia/gst1-omx' package/Makefile:192: recipe for target 'package/multimedia/gst1-omx/compile' failed make[2]: *** [package/multimedia/gst1-omx/compile] Error 2 make[2]: Leaving directory '/opt/D1' package/Makefile:189: recipe for target '/opt/D1/out/d1-nezha/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/opt/D1/out/d1-nezha/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/opt/D1' /opt/D1/build/toplevel.mk:304: recipe for target 'world' failed make: *** [world] Error 2 [1]+ Done $T/tools/build/buildserver --path $T #### make failed to build some targets (12:02 (mm:ss)) ####
随便勾选了几个而已 -
@memory Allwinner > Select cedarx configuration options > Add for openmax support 选上试一下
-
@memory 大佬麻烦问一下解决这个问题了吗
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号