![]() |
|
|
#11 |
|
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 991 ![]() ![]() ![]() ![]() ![]() |
Хотел собрать для yohimba_buildroot AA-12.09-r36088-Y20160129.tar.gz (Kernel 3.3.8) для TP-LINK TL-WDR4300 (ar71xx), вываливается
ошибкаКод:
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.c:1142:4: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.c:1218:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.c: In function 'init_tx_hdigest': /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.c:1393:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.c: In function 'tx_padding': /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.c:1412:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scripts/Makefile.build:305: recipe for target '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.o' failed make[7]: *** [/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel/nthread.o] Error 1 Makefile:1368: recipe for target '_module_/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel' failed make[6]: *** [_module_/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst/kernel] Error 2 make[6]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8' Makefile:128: recipe for target 'mods' failed make[5]: *** [mods] Error 2 make[5]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/iscsi-scst' Makefile:287: recipe for target 'iscsi' failed make[4]: *** [iscsi] Error 2 make[4]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk' Makefile:149: recipe for target '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/.built' failed make[3]: *** [/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-trunk/.built] Error 2 make[3]: Leaving directory '/home/user/Openwrt/attitude_adjustment/package/scst' package/Makefile:119: recipe for target 'package/scst/compile' failed make[2]: *** [package/scst/compile] Error 2 make[2]: Leaving directory '/home/user/Openwrt/attitude_adjustment' package/Makefile:115: recipe for target '/home/user/Openwrt/attitude_adjustment/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile' failed make[1]: *** [/home/user/Openwrt/attitude_adjustment/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/user/Openwrt/attitude_adjustment' /home/user/Openwrt/attitude_adjustment/include/toplevel.mk:144: ошибка выполнения рецепта для цели «world» make: *** [world] Ошибка 2 user@debian:~/Openwrt/attitude_adjustment$ [свернуть] Никак не получится подрубить на AA? Буду пробовать на последнем snapshots или 18.06.4. На каком релизе Openwrt можно собрать пакет гарантировано? P.S. Склонировал git clone git://github.com/openwrt/openwrt.git -b v18.06.4, но ./scripts/feeds update -a обламывает ошибкаКод:
user@debian:~/Openwrt/Openwrt_18.06.4$ ./scripts/feeds update -a Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git^5779614d267732fc382c1684202543fdbd924b4c' ... Cloning into './feeds/packages'... fatal: unable to access 'https://git.openwrt.org/feed/packages.git/': Failed to connect to git.openwrt.org port 443: Connection timed out failed. Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git^4d6d8bc5b0d7ee71c7b29b12e7e0c2e1e86cb268' ... Cloning into './feeds/luci'... fatal: unable to access 'https://git.openwrt.org/project/luci.git/': Failed to connect to git.openwrt.org port 443: Connection timed out failed. Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git^bb156bf355b54236a52279522fabbec1e8dd7043' ... Cloning into './feeds/routing'... fatal: unable to access 'https://git.openwrt.org/feed/routing.git/': Failed to connect to git.openwrt.org port 443: Connection timed out failed. Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git^507eabe1b60458ceb1a535aec9d12c8be95706f0' ... Cloning into './feeds/telephony'... fatal: unable to access 'https://git.openwrt.org/feed/telephony.git/': Failed to connect to git.openwrt.org port 443: Connection timed out failed. user@debian:~/Openwrt/Openwrt_18.06.4$ ./scripts/feeds update -a Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git^5779614d267732fc382c1684202543fdbd924b4c' ... Cloning into './feeds/packages'... fatal: unable to access 'https://git.openwrt.org/feed/packages.git/': Could not resolve host: git.openwrt.org failed. Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git^4d6d8bc5b0d7ee71c7b29b12e7e0c2e1e86cb268' ... Cloning into './feeds/luci'... fatal: unable to access 'https://git.openwrt.org/project/luci.git/': gnutls_handshake() failed: Error in the pull function. failed. Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git^bb156bf355b54236a52279522fabbec1e8dd7043' ... Cloning into './feeds/routing'... fatal: unable to access 'https://git.openwrt.org/feed/routing.git/': gnutls_handshake() failed: Error in the pull function. failed. Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git^507eabe1b60458ceb1a535aec9d12c8be95706f0' ... Cloning into './feeds/telephony'... fatal: unable to access 'https://git.openwrt.org/feed/telephony.git/': gnutls_handshake() failed: Error in the pull function. failed. user@debian:~/Openwrt/Openwrt_18.06.4$ [свернуть] Такая Чебурашка ![]() P.S. Сделал такой feeds.conf.default, Код:
src-git packages https://github.com/openwrt/packages.git;openwrt-18.06 src-git luci https://github.com/openwrt/luci.git;openwrt-18.06 src-git telephony https://github.com/openwrt/telephony.git;openwrt-18.06 scst-3.3.xКод:
/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst/src/scst_lib.c:3641:8: note: in expansion of macro 'do_div'
rem = do_div(res, cmd->dev->block_size + (1 << SCST_DIF_TAG_SHIFT));
^~~~~~
./include/asm-generic/div64.h:198:17: note: expected 'uint64_t * {aka long long unsigned int *}' but argument is of type 'int *'
extern uint32_t __div64_32(uint64_t *dividend, uint32_t divisor);
^~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:304: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst/src/scst_lib.o' failed
make[8]: *** [/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst/src/scst_lib.o] Error 1
Makefile:1523: recipe for target '_module_/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst/src' failed
make[7]: *** [_module_/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst/src] Error 2
make[7]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.184'
Makefile:97: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst/src'
Makefile:27: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/scst'
Makefile:218: recipe for target 'scst' failed
make[4]: *** [scst] Error 2
make[4]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x'
Makefile:149: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/.built' failed
make[3]: *** [/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-3.3.x/.built] Error 2
make[3]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/package/scst'
time: package/scst/compile#3.44#0.18#3.96
package/Makefile:107: recipe for target 'package/scst/compile' failed
make[2]: *** [package/scst/compile] Error 2
make[2]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4'
package/Makefile:103: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/staging_dir/target-mips_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/user/Openwrt/Openwrt_18.06.4/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4'
/home/user/Openwrt/Openwrt_18.06.4/include/toplevel.mk:216: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 2
user@debian:~/Openwrt/Openwrt_18.06.4$
[свернуть] scst-trunkКод:
/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src/scst_lib.c: In function '__scst_update_latency_stats':
./include/asm-generic/div64.h:207:28: warning: comparison of distinct pointer types lacks a cast
(void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
^
/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src/scst_lib.c:15854:3: note: in expansion of macro 'do_div'
do_div(delta, 100);
^~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:304: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src/scst_lib.o' failed
make[8]: *** [/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src/scst_lib.o] Error 1
Makefile:1523: recipe for target '_module_/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src' failed
make[7]: *** [_module_/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src] Error 2
make[7]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.184'
Makefile:114: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst/src'
Makefile:36: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/scst'
Makefile:215: recipe for target 'scst' failed
make[4]: *** [scst] Error 2
make[4]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk'
Makefile:149: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/.built' failed
make[3]: *** [/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mips_24kc_musl/scst-trunk/.built] Error 2
make[3]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/package/scst'
time: package/scst/compile#13.67#0.67#159.42
package/Makefile:107: recipe for target 'package/scst/compile' failed
make[2]: *** [package/scst/compile] Error 2
make[2]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4'
package/Makefile:103: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/staging_dir/target-mips_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/user/Openwrt/Openwrt_18.06.4/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4'
/home/user/Openwrt/Openwrt_18.06.4/include/toplevel.mk:216: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 2
user@debian:~/Openwrt/Openwrt_18.06.4$
[свернуть] Непойму в чем дело, компилирую всё время на Debian8, проблем вроде не было. P.S.2 Попробовал до кучи MediaTek Ralink MIPS, subtarget - MT7621 - ошибка MediaTek Ralink MIPS, subtarget - MT7621Код:
/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src/scst_lib.c: In function '__scst_update_latency_stats':
./include/asm-generic/div64.h:208:28: warning: comparison of distinct pointer types lacks a cast
(void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
^
/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src/scst_lib.c:15854:3: note: in expansion of macro 'do_div'
do_div(delta, 100);
^~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:326: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src/scst_lib.o' failed
make[7]: *** [/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src/scst_lib.o] Error 1
Makefile:1532: recipe for target '_module_/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src' failed
make[6]: *** [_module_/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src] Error 2
make[6]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.14.131'
Makefile:114: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst/src'
Makefile:36: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/scst'
Makefile:215: recipe for target 'scst' failed
make[3]: *** [scst] Error 2
make[3]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk'
Makefile:149: recipe for target '/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/.built' failed
make[2]: *** [/home/user/Openwrt/Openwrt_18.06.4/build_dir/target-mipsel_24kc_musl/scst-trunk/.built] Error 2
make[2]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4/package/network/utils/scst'
time: package/network/utils/scst/compile#12.08#0.34#12.51
package/Makefile:107: recipe for target 'package/network/utils/scst/compile' failed
make[1]: *** [package/network/utils/scst/compile] Error 2
make[1]: Leaving directory '/home/user/Openwrt/Openwrt_18.06.4'
/home/user/Openwrt/Openwrt_18.06.4/include/toplevel.mk:216: ошибка выполнения рецепта для цели «package/scst/compile»
make: *** [package/scst/compile] Ошибка 2
user@debian:~/Openwrt/Openwrt_18.06.4$
[свернуть] Последний раз редактировалось sakatgg; 01.08.2019 в 22:43. |
|
|
|
| Метки |
| iscsi, scst |
| Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|