Advertisement
Guest User

Untitled

a guest
May 10th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. In file included from /home/camden/hadk/kernel/google/marlin/arch/arm64/include/asm/dma-iommu.h:12:0,
  2. from /home/camden/hadk/kernel/google/marlin/arch/arm64/mm/dma-mapping.c:33:
  3. /home/camden/hadk/kernel/google/marlin/include/linux/dma-mapping-fast.h:41:15: error: 'struct dma_iommu_mapping' declared inside parameter list [-Werror]
  4. struct dma_iommu_mapping *mapping);
  5. ^
  6. /home/camden/hadk/kernel/google/marlin/include/linux/dma-mapping-fast.h:41:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
  7. /home/camden/hadk/kernel/google/marlin/include/linux/dma-mapping-fast.h:43:16: error: 'struct dma_iommu_mapping' declared inside parameter list [-Werror]
  8. struct dma_iommu_mapping *mapping);
  9.  
  10. In file included from /home/camden/hadk/kernel/google/marlin/kernel/sched/cputime.c:1:0:
  11. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:662:26: error: 'struct pid_namespace' declared inside parameter list [-Werror]
  12. struct pid *pid, struct task_struct *p);
  13. ^
  14. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:662:26: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
  15. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:664:52: error: 'struct pid_namespace' declared inside parameter list [-Werror]
  16. struct pid_namespace *ns, struct pid *pid, struct task_struct *p);
  17. ^
  18. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:666:52: error: 'struct pid_namespace' declared inside parameter list [-Werror]
  19. struct pid_namespace *ns, struct pid *pid, struct task_struct *p);
  20. ^
  21. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:667:63: error: 'struct inode' declared inside parameter list [-Werror]
  22. int single_uid_time_in_state_open(struct inode *inode, struct file *file);
  23. ^
  24. CC kernel/time/hrtimer.o
  25. CC kernel/profile.o
  26. CC kernel/stacktrace.o
  27. cc1: all warnings being treated as errors
  28. make[3]: *** [/home/camden/hadk/kernel/google/marlin/scripts/Makefile.build:257: kernel/sched/cputime.o] Error 1
  29. make[3]: *** Waiting for unfinished jobs....
  30. CC kernel/futex.o
  31. CC mm/mremap.o
  32. CC kernel/irq/devres.o
  33. CC mm/msync.o
  34. CC kernel/smp.o
  35. CC kernel/trace/trace_stat.o
  36. CC kernel/trace/trace_printk.o
  37. /home/camden/hadk/kernel/google/marlin/kernel/smp.c: In function 'nrcpus':
  38. /home/camden/hadk/kernel/google/marlin/kernel/smp.c:518:14: error: lvalue required as left operand of assignment
  39. nr_cpu_ids = nr_cpus;
  40. ^
  41. In file included from /home/camden/hadk/kernel/google/marlin/arch/arm64/include/asm/smp.h:22:0,
  42. from /home/camden/hadk/kernel/google/marlin/arch/arm64/include/asm/irq_work.h:4,
  43. from /home/camden/hadk/kernel/google/marlin/include/linux/irq_work.h:46,
  44. from /home/camden/hadk/kernel/google/marlin/kernel/smp.c:6:
  45. /home/camden/hadk/kernel/google/marlin/kernel/smp.c: At top level:
  46. /home/camden/hadk/kernel/google/marlin/include/linux/cpumask.h:34:21: error: expected identifier or '(' before numeric constant
  47. #define nr_cpu_ids 1
  48. ^
  49. /home/camden/hadk/kernel/google/marlin/kernel/smp.c:550:5: note: in expansion of macro 'nr_cpu_ids'
  50. int nr_cpu_ids __read_mostly = NR_CPUS;
  51. ^
  52. In file included from /home/camden/hadk/kernel/google/marlin/include/linux/linkage.h:6:0,
  53. from /home/camden/hadk/kernel/google/marlin/include/linux/kernel.h:6,
  54. from /home/camden/hadk/kernel/google/marlin/include/linux/llist.h:58,
  55. from /home/camden/hadk/kernel/google/marlin/include/linux/irq_work.h:4,
  56. from /home/camden/hadk/kernel/google/marlin/kernel/smp.c:6:
  57. /home/camden/hadk/kernel/google/marlin/include/linux/cpumask.h:34:21: error: expected identifier or '(' before numeric constant
  58. #define nr_cpu_ids 1
  59. ^
  60. /home/camden/hadk/kernel/google/marlin/include/linux/export.h:57:21: note: in definition of macro '__EXPORT_SYMBOL'
  61. extern typeof(sym) sym; \
  62. ^
  63. /home/camden/hadk/kernel/google/marlin/kernel/smp.c:551:1: note: in expansion of macro 'EXPORT_SYMBOL'
  64. EXPORT_SYMBOL(nr_cpu_ids);
  65. ^
  66. /home/camden/hadk/kernel/google/marlin/kernel/smp.c:551:15: note: in expansion of macro 'nr_cpu_ids'
  67. EXPORT_SYMBOL(nr_cpu_ids);
  68. ^
  69. /home/camden/hadk/kernel/google/marlin/include/linux/export.h:66:21: error: lvalue required as unary '&' operand
  70. = { (unsigned long)&sym, __kstrtab_##sym }
  71. ^
  72. /home/camden/hadk/kernel/google/marlin/include/linux/export.h:69:2: note: in expansion of macro '__EXPORT_SYMBOL'
  73. __EXPORT_SYMBOL(sym, "")
  74. ^
  75. /home/camden/hadk/kernel/google/marlin/kernel/smp.c:551:1: note: in expansion of macro 'EXPORT_SYMBOL'
  76. EXPORT_SYMBOL(nr_cpu_ids);
  77. ^
  78. /home/camden/hadk/kernel/google/marlin/kernel/smp.c: In function 'setup_nr_cpu_ids':
  79. /home/camden/hadk/kernel/google/marlin/kernel/smp.c:556:13: error: lvalue required as left operand of assignment
  80. nr_cpu_ids = find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) + 1;
  81. ^
  82. make[2]: *** [/home/camden/hadk/kernel/google/marlin/scripts/Makefile.build:257: kernel/smp.o] Error 1
  83. make[2]: *** Waiting for unfinished jobs....
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91. In file included from /home/camden/hadk/kernel/google/marlin/fs/proc/uid.c:5:0:
  92. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:662:26: error: 'struct pid_namespace' declared inside parameter list [-Werror]
  93. struct pid *pid, struct task_struct *p);
  94. ^
  95. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:662:26: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
  96. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:664:52: error: 'struct pid_namespace' declared inside parameter list [-Werror]
  97. struct pid_namespace *ns, struct pid *pid, struct task_struct *p);
  98. ^
  99. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:666:52: error: 'struct pid_namespace' declared inside parameter list [-Werror]
  100. struct pid_namespace *ns, struct pid *pid, struct task_struct *p);
  101. ^
  102. /home/camden/hadk/kernel/google/marlin/include/linux/cpufreq.h:667:63: error: 'struct inode' declared inside parameter list [-Werror]
  103. int single_uid_time_in_state_open(struct inode *inode, struct file *file);
  104. ^
  105. CC fs/proc/proc_sysctl.o
  106. CC fs/proc/proc_net.o
  107. /home/camden/hadk/kernel/google/marlin/fs/proc/uid.c:84:2: error: initialization from incompatible pointer type [-Werror]
  108. .open = single_uid_time_in_state_open,
  109. ^
  110. /home/camden/hadk/kernel/google/marlin/fs/proc/uid.c:84:2: error: (near initialization for 'proc_uid_time_in_state_operations.open') [-Werror]
  111. CC fs/coredump.o
  112. CC fs/drop_caches.o
  113. CC fs/proc/kmsg.o
  114. CC fs/sdcardfs/packagelist.o
  115. cc1: all warnings being treated as errors
  116. CC fs/proc/page.o
  117. make[3]: *** [/home/camden/hadk/kernel/google/marlin/scripts/Makefile.build:258: fs/proc/uid.o] Error 1
  118. make[3]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement