make menuconfig 失败,v4l

make[4]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0'
make all-recursive
make[5]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0'
Making all in v4l-utils-po
make[6]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/v4l-utils-po'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/v4l-utils-po'
Making all in libdvbv5-po
make[6]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/libdvbv5-po'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/libdvbv5-po'
Making all in lib
make[6]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib'
Making all in libv4lconvert
make[7]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4lconvert'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4lconvert'
Making all in libv4l2
make[7]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4l2'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4l2'
Making all in libv4l1
make[7]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4l1'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4l1'
Making all in libv4l2rds
make[7]: Entering directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4l2rds'
CC libv4l2rds_la-libv4l2rds.lo
libv4l2rds.c: In function 'rds_add_tmc_station':
libv4l2rds.c:256:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < tuning->station_cnt; i++) {
^
libv4l2rds.c:256:2: note: use option -std=c99 or -std=gnu99 to compile your code
libv4l2rds.c: In function 'rds_add_tmc_af':
libv4l2rds.c:290:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < afi->af_size; i++) {
^
libv4l2rds.c:321:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < afi->mapped_af_size; i++) {
^
libv4l2rds.c: In function 'rds_tmc_decode_additional':
libv4l2rds.c:375:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < label_len; i++) {
^
libv4l2rds.c:383:12: error: redefinition of 'i'
for (int i = 0; i < len; i++) {
^
libv4l2rds.c:375:12: note: previous definition of 'i' was here
for (int i = 0; i < label_len; i++) {
^
libv4l2rds.c:383:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < len; i++) {
^
libv4l2rds.c: In function 'rds_decode_tmc_multi_group':
libv4l2rds.c:524:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 27; i >= 0; i--) {
^
libv4l2rds.c:542:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 27; i >= 0; i--) {
^
libv4l2rds.c: In function 'rds_add_oda':
libv4l2rds.c:621:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < handle->rds_oda.size; i++) {
^
libv4l2rds.c: In function 'rds_add_af_to_list':
libv4l2rds.c:648:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < af_set->size; i++) {
^
libv4l2rds.c: In function 'rds_add_ps':
libv4l2rds.c:719:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < 8; i++)
^
libv4l2rds.c: In function 'rds_add_eon_entry':
libv4l2rds.c:735:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < handle->rds_eon.size; i++) {
^
libv4l2rds.c: In function 'rds_check_eon_entry':
libv4l2rds.c:755:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i <= handle->rds_eon.size; i++) {
^
libv4l2rds.c: In function 'rds_decode_group2':
libv4l2rds.c:960:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < 64; i++) {
^
libv4l2rds.c: In function 'rds_decode_group10':
libv4l2rds.c:1183:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < 4; i++)
^
libv4l2rds.c:1190:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < 4; i++) {
^
Makefile:550: recipe for target 'libv4l2rds_la-libv4l2rds.lo' failed
make[7]: *** [libv4l2rds_la-libv4l2rds.lo] Error 1
make[7]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib/libv4l2rds'
Makefile:447: recipe for target 'all-recursive' failed
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/lib'
Makefile:561: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0'
Makefile:490: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0'
Makefile:115: recipe for target '/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/.built' failed
make[3]: *** [/home/shine/openwrt-wrtnode/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/v4l-utils-1.10.0/.built] Error 2
make[3]: Leaving directory '/home/shine/openwrt-wrtnode/feeds/packages/libs/libv4l'
package/Makefile:191: recipe for target 'package/feeds/packages/libv4l/compile' failed
make[2]: *** [package/feeds/packages/libv4l/compile] Error 2
make[2]: Leaving directory '/home/shine/openwrt-wrtnode'
package/Makefile:188: recipe for target '/home/shine/openwrt-wrtnode/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/shine/openwrt-wrtnode/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/shine/openwrt-wrtnode'
/home/shine/openwrt-wrtnode/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
已邀请:

xzmu - 10w

赞同来自:

更新你的sdk版本后,重新编译即可

rxydiy

赞同来自:

楼主你解决了没有?我 也遇到同样问题,求解决方法,楼上的不管用

要回复问题请先登录注册