Guest User

Untitled

a guest
Nov 18th, 2024
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.67 KB | None | 0 0
  1.  
  2.  
  3. sudo cat /var/lib/dkms/anbox-binder/1/build/make.log
  4.  
  5. DKMS make.log for anbox-binder-1 for kernel 6.8.0-48-generic (x86_64)
  6.  
  7. 2024. nov. 18., hétfő, 10:57:59 CET
  8.  
  9. make -C /lib/modules/6.8.0-48-generic/build V=0 M=$PWD
  10.  
  11. make[1]: Entering directory '/usr/src/linux-headers-6.8.0-48-generic'
  12.  
  13. warning: the compiler differs from the one used to build the kernel
  14.  
  15.   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  16.  
  17.   You are using: gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  18.  
  19.   CC [M] /var/lib/dkms/anbox-binder/1/build/deps.o
  20.  
  21.   CC [M] /var/lib/dkms/anbox-binder/1/build/binder.o
  22.  
  23.   CC [M] /var/lib/dkms/anbox-binder/1/build/binder_alloc.o
  24.  
  25.   CC [M] /var/lib/dkms/anbox-binder/1/build/binderfs.o
  26.  
  27. In file included from ././include/linux/kconfig.h:5,
  28.  
  29.                  from <command-line>:
  30.  
  31. ./include/generated/autoconf.h:4855: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
  32.  
  33.  4855 | #define CONFIG_ANDROID_BINDER_DEVICES ""
  34.  
  35.       | 
  36.  
  37. <command-line>: note: this is the location of the previous definition
  38.  
  39. In file included from ././include/linux/kconfig.h:5,
  40.  
  41.                  from <command-line>:
  42.  
  43. ./include/generated/autoconf.h:4855: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
  44.  
  45.  4855 | #define CONFIG_ANDROID_BINDER_DEVICES ""
  46.  
  47.       | 
  48.  
  49. <command-line>: note: this is the location of the previous definition
  50.  
  51. In file included from ././include/linux/kconfig.h:5,
  52.  
  53.                  from <command-line>:
  54.  
  55. ./include/generated/autoconf.h:4855: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
  56.  
  57.  4855 | #define CONFIG_ANDROID_BINDER_DEVICES ""
  58.  
  59.       | 
  60.  
  61. <command-line>: note: this is the location of the previous definition
  62.  
  63. In file included from ././include/linux/kconfig.h:5,
  64.  
  65.                  from <command-line>:
  66.  
  67. ./include/generated/autoconf.h:4855: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
  68.  
  69.  4855 | #define CONFIG_ANDROID_BINDER_DEVICES ""
  70.  
  71.       | 
  72.  
  73. <command-line>: note: this is the location of the previous definition
  74.  
  75. /var/lib/dkms/anbox-binder/1/build/deps.c:81:14: warning: no previous prototype for ‘close_fd_get_file’ [-Wmissing-prototypes]
  76.  
  77.    81 | struct file *close_fd_get_file(unsigned int fd)
  78.  
  79.       | ^~~~~~~~~~~~~~~~~
  80.  
  81. /var/lib/dkms/anbox-binder/1/build/deps.c:122:5: warning: no previous prototype for ‘security_binder_set_context_mgr’ [-Wmissing-prototypes]
  82.  
  83.   122 | int security_binder_set_context_mgr(struct task_struct *mgr)
  84.  
  85.       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  86.  
  87. /var/lib/dkms/anbox-binder/1/build/deps.c:131:5: warning: no previous prototype for ‘security_binder_transaction’ [-Wmissing-prototypes]
  88.  
  89.   131 | int security_binder_transaction(struct task_struct *from, struct task_struct *to)
  90.  
  91.       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  92.  
  93. /var/lib/dkms/anbox-binder/1/build/deps.c:140:5: warning: no previous prototype for ‘security_binder_transfer_binder’ [-Wmissing-prototypes]
  94.  
  95.   140 | int security_binder_transfer_binder(struct task_struct *from, struct task_struct *to)
  96.  
  97.       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  98.  
  99. /var/lib/dkms/anbox-binder/1/build/deps.c:149:5: warning: no previous prototype for ‘security_binder_transfer_file’ [-Wmissing-prototypes]
  100.  
  101.   149 | int security_binder_transfer_file(struct task_struct *from, struct task_struct *to, struct file *file)
  102.  
  103.       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  104.  
  105. /var/lib/dkms/anbox-binder/1/build/binderfs.c: In function ‘binderfs_binder_device_create’:
  106.  
  107. /var/lib/dkms/anbox-binder/1/build/binderfs.c:150:16: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
  108.  
  109.   150 | inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
  110.  
  111.       | ^~~~~~~
  112.  
  113.       | __i_mtime
  114.  
  115. /var/lib/dkms/anbox-binder/1/build/binderfs.c:150:33: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
  116.  
  117.   150 | inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
  118.  
  119.       | ^~~~~~~
  120.  
  121.       | __i_atime
  122.  
  123. /var/lib/dkms/anbox-binder/1/build/binderfs.c: In function ‘binderfs_binder_ctl_create’:
  124.  
  125. /var/lib/dkms/anbox-binder/1/build/binderfs.c:461:16: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
  126.  
  127.   461 | inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
  128.  
  129.       | ^~~~~~~
  130.  
  131.       | __i_mtime
  132.  
  133. /var/lib/dkms/anbox-binder/1/build/binderfs.c:461:33: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
  134.  
  135.   461 | inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
  136.  
  137.       | ^~~~~~~
  138.  
  139.       | __i_atime
  140.  
  141. /var/lib/dkms/anbox-binder/1/build/binderfs.c: In function ‘binderfs_make_inode’:
  142.  
  143. /var/lib/dkms/anbox-binder/1/build/binderfs.c:507:22: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
  144.  
  145.   507 | ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret);
  146.  
  147.       | ^~~~~~~
  148.  
  149.       | __i_atime
  150.  
  151. /var/lib/dkms/anbox-binder/1/build/binderfs.c:507:37: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
  152.  
  153.   507 | ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret);
  154.  
  155.       | ^~~~~~~
  156.  
  157.       | __i_mtime
  158.  
  159. /var/lib/dkms/anbox-binder/1/build/binderfs.c: In function ‘binderfs_fill_super’:
  160.  
  161. /var/lib/dkms/anbox-binder/1/build/binderfs.c:734:16: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
  162.  
  163.   734 | inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
  164.  
  165.       | ^~~~~~~
  166.  
  167.       | __i_mtime
  168.  
  169. /var/lib/dkms/anbox-binder/1/build/binderfs.c:734:33: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
  170.  
  171.   734 | inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
  172.  
  173.       | ^~~~~~~
  174.  
  175.       | __i_atime
  176.  
  177. make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/anbox-binder/1/build/binderfs.o] Error 1
  178.  
  179. make[3]: *** Waiting for unfinished jobs....
  180.  
  181. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c: In function ‘binder_update_page_range’:
  182.  
  183. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c:238:34: error: too few arguments to function ‘list_lru_del’
  184.  
  185.   238 | on_lru = list_lru_del(&binder_alloc_lru, &page->lru);
  186.  
  187.       | ^~~~~~~~~~~~
  188.  
  189. In file included from ./include/linux/fs.h:13,
  190.  
  191.                  from ./include/linux/compat.h:17,
  192.  
  193.                  from ./arch/x86/include/asm/ia32.h:7,
  194.  
  195.                  from ./arch/x86/include/asm/elf.h:10,
  196.  
  197.                  from ./include/linux/elf.h:6,
  198.  
  199.                  from ./include/linux/module.h:19,
  200.  
  201.                  from /var/lib/dkms/anbox-binder/1/build/binder_alloc.c:13:
  202.  
  203. ./include/linux/list_lru.h:121:6: note: declared here
  204.  
  205.   121 | bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid,
  206.  
  207.       | ^~~~~~~~~~~~
  208.  
  209. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c:289:23: error: too few arguments to function ‘list_lru_add’
  210.  
  211.   289 | ret = list_lru_add(&binder_alloc_lru, &page->lru);
  212.  
  213.       | ^~~~~~~~~~~~
  214.  
  215. ./include/linux/list_lru.h:92:6: note: declared here
  216.  
  217.    92 | bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid,
  218.  
  219.       | ^~~~~~~~~~~~
  220.  
  221. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c: In function ‘binder_alloc_deferred_release’:
  222.  
  223. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c:849:34: error: too few arguments to function ‘list_lru_del’
  224.  
  225.   849 | on_lru = list_lru_del(&binder_alloc_lru,
  226.  
  227.       | ^~~~~~~~~~~~
  228.  
  229. ./include/linux/list_lru.h:121:6: note: declared here
  230.  
  231.   121 | bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid,
  232.  
  233.       | ^~~~~~~~~~~~
  234.  
  235. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c: In function ‘binder_alloc_shrinker_init’:
  236.  
  237. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c:1088:23: error: implicit declaration of function ‘register_shrinker’; did you mean ‘register_chrdev’? [-Werror=implicit-function-declaration]
  238.  
  239.  1088 | ret = register_shrinker(&binder_shrinker, "android-binder");
  240.  
  241.       | ^~~~~~~~~~~~~~~~~
  242.  
  243.       | register_chrdev
  244.  
  245. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c: In function ‘binder_alloc_shrinker_exit’:
  246.  
  247. /var/lib/dkms/anbox-binder/1/build/binder_alloc.c:1100:9: error: implicit declaration of function ‘unregister_shrinker’; did you mean ‘unregister_chrdev’? [-Werror=implicit-function-declaration]
  248.  
  249.  1100 | unregister_shrinker(&binder_shrinker);
  250.  
  251.       | ^~~~~~~~~~~~~~~~~~~
  252.  
  253.       | unregister_chrdev
  254.  
  255. cc1: some warnings being treated as errors
  256.  
  257. /var/lib/dkms/anbox-binder/1/build/binder.c: In function ‘binder_deferred_fd_close’:
  258.  
  259. /var/lib/dkms/anbox-binder/1/build/binder.c:2240:18: error: implicit declaration of function ‘close_fd_get_file’ [-Werror=implicit-function-declaration]
  260.  
  261.  2240 | twcb->file = close_fd_get_file(fd);
  262.  
  263.       | ^~~~~~~~~~~~~~~~~
  264.  
  265. make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/anbox-binder/1/build/binder_alloc.o] Error 1
  266.  
  267. /var/lib/dkms/anbox-binder/1/build/binder.c: In function ‘binder_transaction’:
  268.  
  269. /var/lib/dkms/anbox-binder/1/build/binder.c:3130:17: error: implicit declaration of function ‘security_task_getsecid_obj’; did you mean ‘security_task_getlsmblob_obj’? [-Werror=implicit-function-declaration]
  270.  
  271.  3130 | security_task_getsecid_obj(proc->tsk, &secid);
  272.  
  273.       | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  274.  
  275.       | security_task_getlsmblob_obj
  276.  
  277. /var/lib/dkms/anbox-binder/1/build/binder.c:3134:55: error: passing argument 2 of ‘security_secid_to_secctx’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  278.  
  279.  3134 | ret = security_secid_to_secctx(secid, &secctx, &secctx_sz);
  280.  
  281.       | ^~~~~~~
  282.  
  283.       | |
  284.  
  285.       | char **
  286.  
  287. In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
  288.  
  289. ./include/linux/security.h:543:60: note: expected ‘struct lsmcontext *’ but argument is of type ‘char **’
  290.  
  291.   543 | int security_secid_to_secctx(u32 secid, struct lsmcontext *cp);
  292.  
  293.       | ~~~~~~~~~~~~~~~~~~~^~
  294.  
  295. /var/lib/dkms/anbox-binder/1/build/binder.c:3134:23: error: too many arguments to function ‘security_secid_to_secctx’
  296.  
  297.  3134 | ret = security_secid_to_secctx(secid, &secctx, &secctx_sz);
  298.  
  299.       | ^~~~~~~~~~~~~~~~~~~~~~~~
  300.  
  301. ./include/linux/security.h:543:5: note: declared here
  302.  
  303.   543 | int security_secid_to_secctx(u32 secid, struct lsmcontext *cp);
  304.  
  305.       | ^~~~~~~~~~~~~~~~~~~~~~~~
  306.  
  307. /var/lib/dkms/anbox-binder/1/build/binder.c:3183:41: error: passing argument 1 of ‘security_release_secctx’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  308.  
  309.  3183 | security_release_secctx(secctx, secctx_sz);
  310.  
  311.       | ^~~~~~
  312.  
  313.       | |
  314.  
  315.       | char *
  316.  
  317. ./include/linux/security.h:547:49: note: expected ‘struct lsmcontext *’ but argument is of type ‘char *’
  318.  
  319.   547 | void security_release_secctx(struct lsmcontext *cp);
  320.  
  321.       | ~~~~~~~~~~~~~~~~~~~^~
  322.  
  323. /var/lib/dkms/anbox-binder/1/build/binder.c:3183:17: error: too many arguments to function ‘security_release_secctx’
  324.  
  325.  3183 | security_release_secctx(secctx, secctx_sz);
  326.  
  327.       | ^~~~~~~~~~~~~~~~~~~~~~~
  328.  
  329. ./include/linux/security.h:547:6: note: declared here
  330.  
  331.   547 | void security_release_secctx(struct lsmcontext *cp);
  332.  
  333.       | ^~~~~~~~~~~~~~~~~~~~~~~
  334.  
  335. /var/lib/dkms/anbox-binder/1/build/binder.c:3518:41: error: passing argument 1 of ‘security_release_secctx’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  336.  
  337.  3518 | security_release_secctx(secctx, secctx_sz);
  338.  
  339.       | ^~~~~~
  340.  
  341.       | |
  342.  
  343.       | char *
  344.  
  345. ./include/linux/security.h:547:49: note: expected ‘struct lsmcontext *’ but argument is of type ‘char *’
  346.  
  347.   547 | void security_release_secctx(struct lsmcontext *cp);
  348.  
  349.       | ~~~~~~~~~~~~~~~~~~~^~
  350.  
  351. /var/lib/dkms/anbox-binder/1/build/binder.c:3518:17: error: too many arguments to function ‘security_release_secctx’
  352.  
  353.  3518 | security_release_secctx(secctx, secctx_sz);
  354.  
  355.       | ^~~~~~~~~~~~~~~~~~~~~~~
  356.  
  357. ./include/linux/security.h:547:6: note: declared here
  358.  
  359.   547 | void security_release_secctx(struct lsmcontext *cp);
  360.  
  361.       | ^~~~~~~~~~~~~~~~~~~~~~~
  362.  
  363. cc1: some warnings being treated as errors
  364.  
  365. make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/anbox-binder/1/build/binder.o] Error 1
  366.  
  367. make[2]: *** [/usr/src/linux-headers-6.8.0-48-generic/Makefile:1925: /var/lib/dkms/anbox-binder/1/build] Error 2
  368.  
  369. make[1]: *** [Makefile:240: __sub-make] Error 2
  370.  
  371. make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-48-generic'
  372.  
  373. make: *** [Makefile:8: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment