使用v853s的SDK编译libv4l出错
-
配置如下,将选项设置成y
编译结果如下:make[8]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils/media-ctl' make[7]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils/media-ctl' Making all in v4l2-ctl make[7]: Entering directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils/v4l2-ctl' sed -e '/#define MEDIA_BUS_FMT/ ! d; s/.*FMT_//; /FIXED/ d; s/\t.*//; s/.*/{ \"&\", MEDIA_BUS_FMT_& },/;' \ < ../../include/linux/media-bus-format.h > media-bus-format-names.h make all-am make[8]: Entering directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils/v4l2-ctl' CXX v4l2_ctl-v4l2-ctl.o CXX v4l2_ctl-v4l2-ctl-common.o CXX v4l2_ctl-v4l2-ctl-tuner.o CXX v4l2_ctl-v4l2-ctl-io.o CXX v4l2_ctl-v4l2-ctl-stds.o CXX v4l2_ctl-v4l2-ctl-vidcap.o CXX v4l2_ctl-v4l2-ctl-vidout.o CXX v4l2_ctl-v4l2-ctl-overlay.o CXX v4l2_ctl-v4l2-ctl-vbi.o CXX v4l2_ctl-v4l2-ctl-selection.o CXX v4l2_ctl-v4l2-ctl-misc.o CXX v4l2_ctl-v4l2-ctl-streaming.o In file included from /home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/staging_dir/target/usr/include/uClibc++/cstdlib:20:0, from v4l2-ctl-streaming.cpp:1: /home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/staging_dir/target/usr/include/uClibc++/basic_definitions:23:9: error: '#pragma' is not allowed here #pragma GCC visibility push(default) ^~~ /home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/staging_dir/target/usr/include/uClibc++/basic_definitions:57:24: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] #pragma GCC visibility pop ^~~ Makefile:889: recipe for target 'v4l2_ctl-v4l2-ctl-streaming.o' failed make[8]: *** [v4l2_ctl-v4l2-ctl-streaming.o] Error 1 make[8]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils/v4l2-ctl' Makefile:495: recipe for target 'all' failed make[7]: *** [all] Error 2 make[7]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils/v4l2-ctl' Makefile:473: recipe for target 'all-recursive' failed make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/utils' Makefile:583: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0' Makefile:510: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0' Makefile:116: recipe for target '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/.built' failed make[3]: *** [/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/compile_dir/target/v4l-utils-1.20.0/.built] Error 2 make[3]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/package/libs/libv4l' package/Makefile:192: recipe for target 'package/libs/libv4l/compile' failed make[2]: *** [package/libs/libv4l/compile] Error 2 make[2]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release' package/Makefile:189: recipe for target '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/out/v853s-perf1/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release' /home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release/build/toplevel.mk:304: recipe for target 'world' failed make: *** [world] Error 2 #### make failed to build some targets (01:30 (mm:ss)) #### hzhy@hzhy-Development:/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0806/tina-v851-release$
请问,这个该如何解决 谢谢!
-
更换工具链为glibc,不用uclibc
-
@whycanservice 是这个地方么
-
@whycanservice 把这边勾选成了glibc 但是编译出错
怎么选择glibc 谢谢。
-
-
@whycanservice 请问 如何将SDK彻底distclean一下 有这样的指令么 谢谢。
-
@hzhy1234 make distclean即可,或者删除out文件夹
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号