![]() |
|
![]() |
#1 | |
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990 ![]() ![]() ![]() ![]() ![]() |
![]()
Dioptimize Ок, большое спасибо
![]() P.S. Цитата:
Log (2 вариант из папки 2)Код:
make -C /home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8 SCST_INC_DIR=/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/../scst/include M=/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel \ PRE_CFLAGS="-DBAD_WR_MODIFIER= -DCM_HANDLER_EVENT_MODIFIER= -DRDMA_CREATE_ID_TAKES_NET_ARG=0 -DSOCK_RECVMSG_HAS_FOUR_ARGS=0" modules make[5]: Entering directory '/home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8' CC [M] /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.o In file included from include/linux/kernel.h:17:0, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:17: include/linux/bitops.h: In function 'hweight_long': include/linux/bitops.h:55:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] In file included from include/linux/tcp.h:209:0, from include/net/tcp.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22: include/linux/skbuff.h: In function '__skb_cow': include/linux/skbuff.h:1850:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/linux/skbuff.h: In function 'skb_can_coalesce': include/linux/skbuff.h:1941:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/sock.h:50:0, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22: include/linux/netdevice.h: In function 'netif_msg_init': include/linux/netdevice.h:2342:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/rtnetlink.h:5:0, from include/net/neighbour.h:28, from include/net/dst.h:16, from include/net/sock.h:65, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22: include/net/netlink.h: In function 'nlmsg_ok': include/net/netlink.h:347:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/net/netlink.h: In function 'nlmsg_parse': include/net/netlink.h:382:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/net/netlink.h: In function 'nlmsg_validate': include/net/netlink.h:415:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/neighbour.h:28:0, from include/net/dst.h:16, from include/net/sock.h:65, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22: include/net/rtnetlink.h: In function 'rtnl_msg_family': include/net/rtnetlink.h:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/linux/tcp.h:211:0, from include/net/tcp.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22: include/net/sock.h: In function 'sk_rcvqueues_full': include/net/sock.h:674:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/inet_hashtables.h:32:0, from include/net/tcp.h:36, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22: include/net/route.h: In function 'ip_route_output': include/net/route.h:135:3: warning: initialized field overwritten [-Woverride-init] include/net/route.h:135:3: warning: (near initialization for 'fl4') [-Woverride-init] In file included from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:0: include/net/tcp.h: In function 'keepalive_intvl_when': include/net/tcp.h:1044:31: warning: signed and unsigned type in conditional expression [-Wsign-compare] include/net/tcp.h: In function 'keepalive_time_when': include/net/tcp.h:1049:30: warning: signed and unsigned type in conditional expression [-Wsign-compare] include/net/tcp.h: In function 'tcp_paws_check': include/net/tcp.h:1081:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/net/tcp.h: In function 'tcp_paws_reject': include/net/tcp.h:1111:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CC [M] /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.o In file included from include/linux/kernel.h:17:0, from include/linux/sched.h:55, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:18: include/linux/bitops.h: In function 'hweight_long': include/linux/bitops.h:55:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] In file included from include/linux/netlink.h:155:0, from include/scsi/scsi_netlink.h:25, from include/scsi/scsi_transport_fc.h:32, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/../scst/include/backport.h:45, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/../scst/include/scst.h:69, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/../include/iscsit_transport.h:11, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:26: include/linux/skbuff.h: In function '__skb_cow': include/linux/skbuff.h:1850:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/linux/skbuff.h: In function 'skb_can_coalesce': include/linux/skbuff.h:1941:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/sock.h:50:0, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29: include/linux/netdevice.h: In function 'netif_msg_init': include/linux/netdevice.h:2342:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/rtnetlink.h:5:0, from include/net/neighbour.h:28, from include/net/dst.h:16, from include/net/sock.h:65, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29: include/net/netlink.h: In function 'nlmsg_ok': include/net/netlink.h:347:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/net/netlink.h: In function 'nlmsg_parse': include/net/netlink.h:382:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] include/net/netlink.h: In function 'nlmsg_validate': include/net/netlink.h:415:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from include/net/neighbour.h:28:0, from include/net/dst.h:16, from include/net/sock.h:65, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29: include/net/rtnetlink.h: In function 'rtnl_msg_family': include/net/rtnetlink.h:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24:0, from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29: include/net/sock.h: In function 'sk_rcvqueues_full': include/net/sock.h:674:15: 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-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'trace_conn_close': /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:271:3: warning: signed and unsigned type in conditional expression [-Wsign-compare] /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'do_recv': /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:736:7: error: too few arguments to function 'sock_recvmsg' include/linux/net.h:245:17: note: declared here /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'write_data': /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1373: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-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1461: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-3.3.x-r8497/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-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1675: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-3.3.x-r8497/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-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1694: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-3.3.x-r8497/iscsi-scst/kernel/nthread.o' failed make[6]: *** [/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/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-3.3.x-r8497/iscsi-scst/kernel' failed make[5]: *** [_module_/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel] Error 2 make[5]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8' Makefile:135: recipe for target 'mods' failed make[4]: *** [mods] Error 2 make[4]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst' Makefile:290: recipe for target 'iscsi' failed make[3]: *** [iscsi] Error 2 make[3]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497' Makefile:138: recipe for target '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/.built' failed make[2]: *** [/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/.built] Error 2 make[2]: Leaving directory '/home/user/Openwrt/attitude_adjustment/package/scst' package/Makefile:105: recipe for target 'package/scst/compile' failed make[1]: *** [package/scst/compile] Error 2 make[1]: Leaving directory '/home/user/Openwrt/attitude_adjustment' /home/user/Openwrt/attitude_adjustment/include/toplevel.mk:144: ошибка выполнения рецепта для цели «package/scst/compile» make: *** [package/scst/compile] Ошибка 2 user@debian:~/Openwrt/attitude_adjustment$ [свернуть] На всякий случай приложил оба варианта, мож что не так скопировалось. P.S.2 Еще проблема на АА с luci-app-scst, скинул в /package, но в make menuconfig не появилось. На Openwrt 18.06.4 появляется нормально. Вопрос: при включении на АА DIRECT_IO + патч 900-scst-exec-req-fifo-3.3.patch - достаточно сделать make clean? Или по новой с make distclean пересобирать? Вопрос2 Сейчас лежит исходник /dl/scst-3.3.x-r8498.tar.bz2. Можно как-то в makefile отключить проверку новых ревизий, а то при каждом разе лезет проверять обновление. Инет не всегда есть. Последний раз редактировалось sakatgg; 07.08.2019 в 19:59. |
|
![]() |
![]() |
![]() |
#2 | |||
Senior Member
Регистрация: 17.02.2013
Адрес: Харьков
Сообщений: 235
Вес репутации: 690 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Цитата:
Цитата:
Например строки: Код:
--- old/block/blk-map.c 2012-03-19 23:46:01 +0000 +++ new/block/blk-map.c 2012-03-20 00:10:37 +0000 Код:
--- a/block/blk-map.c +++ b/block/blk-map.c DIRECT_IO уже писать не нужно, его нету в конфигурации ядра, достаточно применить вышеупомянутый патч. Посмотреть применился ли патч, можно зайдя по пути: openwrt\build_dir\target-<платформа>_musl\linux-<платформа>\linux-<версия ядра>\block\blk-map.c И сравнить со строками в патче, где "+" это должны были добавится эти строки в blk-map.c файл, а "-" удалится. Цитата:
Было: Код:
SVN_REVISION=r$(shell svn info $(PKG_SOURCE_URL)|grep Revision|cut -f2 -d\ ) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(SVN_REVISION) Код:
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) Последний раз редактировалось Dioptimizer; 07.08.2019 в 22:58. |
|||
![]() |
![]() |
![]() |
Метки |
iscsi, scst |
Здесь присутствуют: 2 (пользователей: 0 , гостей: 2) | |
|
|