Advertisement
Guest User

Untitled

a guest
May 19th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.30 KB | None | 0 0
  1. # make module
  2. cd SOURCE/module; make --jobs=56
  3. make[1]: Entering directory `/root/diagnose-tools/SOURCE/module'
  4. make CFLAGS_MODULE="-DMODULE " -C /lib/modules/4.18.0-2.3.7.kwai.x86_64/build M=/root/diagnose-tools/SOURCE/module modules
  5. make[2]: Entering directory `/usr/src/kernels/4.18.0-2.3.7.kwai.x86_64'
  6.   CC [M]  /root/diagnose-tools/SOURCE/module/pub/stack.o
  7.   CC [M]  /root/diagnose-tools/SOURCE/module/kernel/mutex.o
  8.   CC [M]  /root/diagnose-tools/SOURCE/module/kernel/sched_delay.o
  9.   CC [M]  /root/diagnose-tools/SOURCE/module/kernel/sig_info.o
  10.   CC [M]  /root/diagnose-tools/SOURCE/module/kernel/task_monitor.o
  11.   CC [M]  /root/diagnose-tools/SOURCE/module/kernel/rw_sem.o
  12.   CC [M]  /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.o
  13.   CC [M]  /root/diagnose-tools/SOURCE/module/mm/mm_entry.o
  14.   CC [M]  /root/diagnose-tools/SOURCE/module/mm/alloc_page.o
  15.   CC [M]  /root/diagnose-tools/SOURCE/module/mm/alloc_top.o
  16.   CC [M]  /root/diagnose-tools/SOURCE/module/mm/high_order.o
  17.   CC [M]  /root/diagnose-tools/SOURCE/module/mm/rss_monitor.o
  18.   CC [M]  /root/diagnose-tools/SOURCE/module/mm/memcg_stats.o
  19.   CC [M]  /root/diagnose-tools/SOURCE/module/io/io_entry.o
  20.   CC [M]  /root/diagnose-tools/SOURCE/module/fs/fs_entry.o
  21.   CC [M]  /root/diagnose-tools/SOURCE/module/fs/orphan.o
  22.   CC [M]  /root/diagnose-tools/SOURCE/module/fs/shm.o
  23.   CC [M]  /root/diagnose-tools/SOURCE/module/fs/rw_top.o
  24.   CC [M]  /root/diagnose-tools/SOURCE/module/net/net_entry.o
  25.   CC [M]  /root/diagnose-tools/SOURCE/module/net/tcp_retrans.o
  26.   CC [M]  /root/diagnose-tools/SOURCE/module/net/drop_packet.o
  27.   CC [M]  /root/diagnose-tools/SOURCE/module/net/ping_delay.o
  28.   CC [M]  /root/diagnose-tools/SOURCE/module/net/ping_delay6.o
  29. /root/diagnose-tools/SOURCE/module/pub/stack.c: In function ‘copy_stack_frame’:
  30. /root/diagnose-tools/SOURCE/module/pub/stack.c:546:48: error: macro "access_ok" passed 3 arguments, but takes just 2
  31.   if (!access_ok(VERIFY_READ, fp, sizeof(*frame)))
  32.                                                 ^
  33. /root/diagnose-tools/SOURCE/module/pub/stack.c:546:7: error: ‘access_ok’ undeclared (first use in this function)
  34.   if (!access_ok(VERIFY_READ, fp, sizeof(*frame)))
  35.        ^
  36. /root/diagnose-tools/SOURCE/module/pub/stack.c:546:7: note: each undeclared identifier is reported only once for each function it appears in
  37.   CC [M]  /root/diagnose-tools/SOURCE/module/net/net_bandwidth.o
  38. make[3]: *** [/root/diagnose-tools/SOURCE/module/pub/stack.o] Error 1
  39. make[3]: *** Waiting for unfinished jobs....
  40. /root/diagnose-tools/SOURCE/module/kernel/mutex.c:98:24: fatal error: asm/mutex.h: No such file or directory
  41.  # include <asm/mutex.h>
  42.                         ^
  43. compilation terminated.
  44. /root/diagnose-tools/SOURCE/module/mm/memcg_stats.c: In function ‘diag_memcg_dump_inode_stats’:
  45. /root/diagnose-tools/SOURCE/module/mm/memcg_stats.c:230:4: error: implicit declaration of function ‘radix_tree_iter_next’ [-Werror=implicit-function-declaration]
  46.     slot = radix_tree_iter_next(&iter);
  47.     ^
  48. /root/diagnose-tools/SOURCE/module/mm/memcg_stats.c:230:9: warning: assignment makes pointer from integer without a cast [enabled by default]
  49.     slot = radix_tree_iter_next(&iter);
  50.          ^
  51. cc1: some warnings being treated as errors
  52. make[3]: *** [/root/diagnose-tools/SOURCE/module/mm/memcg_stats.o] Error 1
  53. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c: In function ‘get_last_dequeued_addr’:
  54. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:74:11: error: ‘struct task_struct’ has no member named ‘ali_reserved3’
  55.   return &p->diag_last_dequeued;
  56.            ^
  57. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c: At top level:
  58. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:157:9: error: expected specifier-qualifier-list before ‘ALI_HOTFIX_RESERVE’
  59.          ALI_HOTFIX_RESERVE(1)
  60.          ^
  61. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:259:9: error: expected specifier-qualifier-list before ‘ALI_HOTFIX_RESERVE’
  62.          ALI_HOTFIX_RESERVE(1)
  63.          ^
  64. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:511:9: error: expected specifier-qualifier-list before ‘ALI_HOTFIX_RESERVE’
  65.          ALI_HOTFIX_RESERVE(1)
  66.          ^
  67. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c: In function ‘get_last_dequeued_addr’:
  68. /root/diagnose-tools/SOURCE/module/kernel/throttle_delay.c:75:1: warning: control reaches end of non-void function [-Wreturn-type]
  69.  }
  70.  ^
  71. make[3]: *** [/root/diagnose-tools/SOURCE/module/kernel/throttle_delay.o] Error 1
  72. /root/diagnose-tools/SOURCE/module/kernel/sched_delay.c: In function ‘get_last_queued_addr’:
  73. /root/diagnose-tools/SOURCE/module/kernel/sched_delay.c:81:11: error: ‘struct task_struct’ has no member named ‘ali_reserved3’
  74.   return &p->diag_last_queued;
  75.            ^
  76. /root/diagnose-tools/SOURCE/module/kernel/sched_delay.c:82:1: warning: control reaches end of non-void function [-Wreturn-type]
  77.  }
  78.  ^
  79. make[3]: *** [/root/diagnose-tools/SOURCE/module/kernel/sched_delay.o] Error 1
  80. /root/diagnose-tools/SOURCE/module/net/tcp_retrans.c:94:35: warning: ‘tcp_retrans_variant_buffer’ defined but not used [-Wunused-variable]
  81.  static struct diag_variant_buffer tcp_retrans_variant_buffer;
  82.                                    ^
  83. /root/diagnose-tools/SOURCE/module/net/drop_packet.c: In function ‘diag_napi_gro_complete’:
  84. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1377:31: error: ‘offload_base’ undeclared (first use in this function)
  85.      struct list_head *head = &offload_base;
  86.                                ^
  87. /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
  88. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1410:5: error: implicit declaration of function ‘netif_receive_skb_internal’ [-Werror=implicit-function-declaration]
  89.      return netif_receive_skb_internal(skb);
  90.      ^
  91. /root/diagnose-tools/SOURCE/module/net/drop_packet.c: In function ‘diag__netif_receive_skb’:
  92. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1577:3: error: implicit declaration of function ‘memalloc_noreclaim_save’ [-Werror=implicit-function-declaration]
  93.    noreclaim_flag = memalloc_noreclaim_save();
  94.    ^
  95. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1579:3: error: implicit declaration of function ‘memalloc_noreclaim_restore’ [-Werror=implicit-function-declaration]
  96.    memalloc_noreclaim_restore(noreclaim_flag);
  97.    ^
  98. /root/diagnose-tools/SOURCE/module/net/drop_packet.c: At top level:
  99. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1413:12: warning: ‘new_napi_gro_complete’ defined but not used [-Wunused-function]
  100.  static int new_napi_gro_complete(struct sk_buff *skb)
  101.             ^
  102. In file included from /root/diagnose-tools/SOURCE/module/net/drop_packet.c:51:0:
  103. /root/diagnose-tools/SOURCE/module/internal.h:226:23: warning: ‘e9___netif_receive_skb’ defined but not used [-Wunused-variable]
  104.   static unsigned char e9_##name[RELATIVEJUMP_SIZE];    \
  105.                        ^
  106. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1559:1: note: in expansion of macro ‘DEFINE_ORIG_FUNC’
  107.  DEFINE_ORIG_FUNC(int, __netif_receive_skb, 1, struct sk_buff *, skb);
  108.  ^
  109. /root/diagnose-tools/SOURCE/module/internal.h:227:23: warning: ‘inst___netif_receive_skb’ defined but not used [-Wunused-variable]
  110.   static unsigned char inst_##name[RELATIVEJUMP_SIZE];    \
  111.                        ^
  112. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1559:1: note: in expansion of macro ‘DEFINE_ORIG_FUNC’
  113.  DEFINE_ORIG_FUNC(int, __netif_receive_skb, 1, struct sk_buff *, skb);
  114.  ^
  115. /root/diagnose-tools/SOURCE/module/net/drop_packet.c:1593:12: warning: ‘new___netif_receive_skb’ defined but not used [-Wunused-function]
  116.  static int new___netif_receive_skb(struct sk_buff *skb)
  117.             ^
  118. cc1: some warnings being treated as errors
  119. make[3]: *** [/root/diagnose-tools/SOURCE/module/net/drop_packet.o] Error 1
  120. make[3]: *** [/root/diagnose-tools/SOURCE/module/kernel/mutex.o] Error 1
  121. make[3]: *** wait: No child processes.  Stop.
  122. make[2]: *** [_module_/root/diagnose-tools/SOURCE/module] Error 2
  123. make[2]: Leaving directory `/usr/src/kernels/4.18.0-2.3.7.kwai.x86_64'
  124. make[1]: *** [default] Error 2
  125. make[1]: Leaving directory `/root/diagnose-tools/SOURCE/module'
  126. make: *** [module] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement