Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # make module
- cd SOURCE/module; make --jobs=56
- make[1]: Entering directory `/root/diagnose-tools/SOURCE/module'
- make CFLAGS_MODULE="-DMODULE " -C /lib/modules/4.18.0-2.3.7.kwai.x86_64/build M=/root/diagnose-tools/SOURCE/module modules
- make[2]: Entering directory `/usr/src/kernels/4.18.0-2.3.7.kwai.x86_64'
- CC [M] /root/diagnose-tools/SOURCE/module/pub/stack.o
- CC [M] /root/diagnose-tools/SOURCE/module/kernel/mutex.o
- CC [M] /root/diagnose-tools/SOURCE/module/kernel/sched_delay.o
- CC [M] /root/diagnose-tools/SOURCE/module/kernel/sig_info.o
- CC [M] /root/diagnose-tools/SOURCE/module/kernel/task_monitor.o
- CC [M] /root/diagnose-tools/SOURCE/module/kernel/rw_sem.o
- CC [M] /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.o
- CC [M] /root/diagnose-tools/SOURCE/module/mm/mm_entry.o
- CC [M] /root/diagnose-tools/SOURCE/module/mm/alloc_page.o
- CC [M] /root/diagnose-tools/SOURCE/module/mm/alloc_top.o
- CC [M] /root/diagnose-tools/SOURCE/module/mm/high_order.o
- CC [M] /root/diagnose-tools/SOURCE/module/mm/rss_monitor.o
- CC [M] /root/diagnose-tools/SOURCE/module/mm/memcg_stats.o
- CC [M] /root/diagnose-tools/SOURCE/module/io/io_entry.o
- CC [M] /root/diagnose-tools/SOURCE/module/fs/fs_entry.o
- CC [M] /root/diagnose-tools/SOURCE/module/fs/orphan.o
- CC [M] /root/diagnose-tools/SOURCE/module/fs/shm.o
- CC [M] /root/diagnose-tools/SOURCE/module/fs/rw_top.o
- CC [M] /root/diagnose-tools/SOURCE/module/net/net_entry.o
- CC [M] /root/diagnose-tools/SOURCE/module/net/tcp_retrans.o
- CC [M] /root/diagnose-tools/SOURCE/module/net/drop_packet.o
- CC [M] /root/diagnose-tools/SOURCE/module/net/ping_delay.o
- CC [M] /root/diagnose-tools/SOURCE/module/net/ping_delay6.o
- /root/diagnose-tools/SOURCE/module/pub/stack.c: In function ‘copy_stack_frame’:
- /root/diagnose-tools/SOURCE/module/pub/stack.c:546:48: error: macro "access_ok" passed 3 arguments, but takes just 2
- if (!access_ok(VERIFY_READ, fp, sizeof(*frame)))
- ^
- /root/diagnose-tools/SOURCE/module/pub/stack.c:546:7: error: ‘access_ok’ undeclared (first use in this function)
- if (!access_ok(VERIFY_READ, fp, sizeof(*frame)))
- ^
- /root/diagnose-tools/SOURCE/module/pub/stack.c:546:7: note: each undeclared identifier is reported only once for each function it appears in
- CC [M] /root/diagnose-tools/SOURCE/module/net/net_bandwidth.o
- make[3]: *** [/root/diagnose-tools/SOURCE/module/pub/stack.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- /root/diagnose-tools/SOURCE/module/kernel/mutex.c:98:24: fatal error: asm/mutex.h: No such file or directory
- # include <asm/mutex.h>
- ^
- compilation terminated.
- /root/diagnose-tools/SOURCE/module/mm/memcg_stats.c: In function ‘diag_memcg_dump_inode_stats’:
- /root/diagnose-tools/SOURCE/module/mm/memcg_stats.c:230:4: error: implicit declaration of function ‘radix_tree_iter_next’ [-Werror=implicit-function-declaration]
- slot = radix_tree_iter_next(&iter);
- ^
- /root/diagnose-tools/SOURCE/module/mm/memcg_stats.c:230:9: warning: assignment makes pointer from integer without a cast [enabled by default]
- slot = radix_tree_iter_next(&iter);
- ^
- cc1: some warnings being treated as errors
- make[3]: *** [/root/diagnose-tools/SOURCE/module/mm/memcg_stats.o] Error 1
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c: In function ‘get_last_dequeued_addr’:
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:74:11: error: ‘struct task_struct’ has no member named ‘ali_reserved3’
- return &p->diag_last_dequeued;
- ^
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c: At top level:
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:157:9: error: expected specifier-qualifier-list before ‘ALI_HOTFIX_RESERVE’
- ALI_HOTFIX_RESERVE(1)
- ^
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:259:9: error: expected specifier-qualifier-list before ‘ALI_HOTFIX_RESERVE’
- ALI_HOTFIX_RESERVE(1)
- ^
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:511:9: error: expected specifier-qualifier-list before ‘ALI_HOTFIX_RESERVE’
- ALI_HOTFIX_RESERVE(1)
- ^
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c: In function ‘get_last_dequeued_addr’:
- /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:75:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- make[3]: *** [/root/diagnose-tools/SOURCE/module/kernel/throttle_delay.o] Error 1
- /root/diagnose-tools/SOURCE/module/kernel/sched_delay.c: In function ‘get_last_queued_addr’:
- /root/diagnose-tools/SOURCE/module/kernel/sched_delay.c:81:11: error: ‘struct task_struct’ has no member named ‘ali_reserved3’
- return &p->diag_last_queued;
- ^
- /root/diagnose-tools/SOURCE/module/kernel/sched_delay.c:82:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- make[3]: *** [/root/diagnose-tools/SOURCE/module/kernel/sched_delay.o] Error 1
- /root/diagnose-tools/SOURCE/module/net/tcp_retrans.c:94:35: warning: ‘tcp_retrans_variant_buffer’ defined but not used [-Wunused-variable]
- static struct diag_variant_buffer tcp_retrans_variant_buffer;
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c: In function ‘diag_napi_gro_complete’:
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1377:31: error: ‘offload_base’ undeclared (first use in this function)
- struct list_head *head = &offload_base;
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1377:31: note: each undeclared identifier is reported only once for each function it appears in
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1410:5: error: implicit declaration of function ‘netif_receive_skb_internal’ [-Werror=implicit-function-declaration]
- return netif_receive_skb_internal(skb);
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c: In function ‘diag__netif_receive_skb’:
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1577:3: error: implicit declaration of function ‘memalloc_noreclaim_save’ [-Werror=implicit-function-declaration]
- noreclaim_flag = memalloc_noreclaim_save();
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1579:3: error: implicit declaration of function ‘memalloc_noreclaim_restore’ [-Werror=implicit-function-declaration]
- memalloc_noreclaim_restore(noreclaim_flag);
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c: At top level:
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1413:12: warning: ‘new_napi_gro_complete’ defined but not used [-Wunused-function]
- static int new_napi_gro_complete(struct sk_buff *skb)
- ^
- In file included from /root/diagnose-tools/SOURCE/module/net/drop_packet.c:51:0:
- /root/diagnose-tools/SOURCE/module/internal.h:226:23: warning: ‘e9___netif_receive_skb’ defined but not used [-Wunused-variable]
- static unsigned char e9_##name[RELATIVEJUMP_SIZE]; \
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1559:1: note: in expansion of macro ‘DEFINE_ORIG_FUNC’
- DEFINE_ORIG_FUNC(int, __netif_receive_skb, 1, struct sk_buff *, skb);
- ^
- /root/diagnose-tools/SOURCE/module/internal.h:227:23: warning: ‘inst___netif_receive_skb’ defined but not used [-Wunused-variable]
- static unsigned char inst_##name[RELATIVEJUMP_SIZE]; \
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1559:1: note: in expansion of macro ‘DEFINE_ORIG_FUNC’
- DEFINE_ORIG_FUNC(int, __netif_receive_skb, 1, struct sk_buff *, skb);
- ^
- /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1593:12: warning: ‘new___netif_receive_skb’ defined but not used [-Wunused-function]
- static int new___netif_receive_skb(struct sk_buff *skb)
- ^
- cc1: some warnings being treated as errors
- make[3]: *** [/root/diagnose-tools/SOURCE/module/net/drop_packet.o] Error 1
- make[3]: *** [/root/diagnose-tools/SOURCE/module/kernel/mutex.o] Error 1
- make[3]: *** wait: No child processes. Stop.
- make[2]: *** [_module_/root/diagnose-tools/SOURCE/module] Error 2
- make[2]: Leaving directory `/usr/src/kernels/4.18.0-2.3.7.kwai.x86_64'
- make[1]: *** [default] Error 2
- make[1]: Leaving directory `/root/diagnose-tools/SOURCE/module'
- make: *** [module] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement