Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 130.42 KB | None | 0 0
  1. dchaverri@optimus:~/Projects/Karlstorz/dm6446-karlstorz_oct5$ make kernel
  2. Ridgerun Linux SDK
  3. Board configuration: Karlstorz Hammerhead
  4.  
  5. Processing kernel...
  6. Applying quilt patches to the kernel linux-2.6.18...
  7.  
  8. Applying patch rr-sdk-integration.patch
  9. Applying patch dcc-serial.patch
  10. Applying patch video_capture_fixes.patch
  11. Applying patch delete_hard_coded_partitions.patch
  12. Applying patch remove_hard_coded_mtd_partitions.patch
  13. Applying patch xga_support.patch
  14. Applying patch liveview_hack.patch
  15. Applying patch kst-hammerhead-support.patch
  16. Applying patch audio-driver-fixes.patch
  17. Applying patch update_1bit_ecc_routines.patch
  18. Applying patch splash-flicker.patch
  19. Applying patch adjust_rtc_address.patch
  20. Applying patch audio-issues.patch
  21. Applying patch alsa-controls.patch
  22. Applying patch spi_support.patch
  23. Applying patch add-instrumention-support.patch
  24. Applying patch reduce-interrupt-latency.patch
  25. Applying patch fix-priorities-kst.patch
  26. Applying patch vsync-ioctl.patch
  27. Applying patch disable-agc.patch
  28. Applying patch increase_VIDEO_MAX_FRAME.patch
  29. Applying patch remove-sound-source-2_6_18.patch
  30. Applying patch remove-sound-header-2_6_18.patch
  31. Applying patch add-sound-source-2_6_32.patch
  32. Applying patch add-sound-header-2_6_32.patch
  33. Applying patch linux-2.6.32-helpers.patch
  34. Applying patch asm-mach-include-backport.patch
  35. Applying patch sound-include-backport.patch
  36. Applying patch sound-dir-backport.patch
  37. Applying patch sound-core-dir-backport.patch
  38. Applying patch sound-soc-codecs-dir-backport.patch
  39. Applying patch sound-soc-davinci-dir-backport.patch
  40. Now at patch sound-soc-davinci-dir-backport.patch
  41.  
  42. drivers/video/Kconfig:1552:warning: 'select' used by config symbol 'FB_FSL_DIU' refer to undefined symbol 'PPC_LIB_RHEAP'
  43. sound/sh/Kconfig:18:warning: 'select' used by config symbol 'SND_AICA' refer to undefined symbol 'G2_DMA'
  44. sound/soc/davinci/Kconfig:40:warning: 'select' used by config symbol 'SND_DAVINCI_SOC_SFFSDR' refer to undefined symbol 'SFFSDR_FPGA'
  45. sound/soc/fsl/Kconfig:29:warning: 'select' used by config symbol 'SND_SOC_MPC5200_I2S' refer to undefined symbol 'PPC_BESTCOMM_GEN_BD'
  46. sound/soc/fsl/Kconfig:38:warning: 'select' used by config symbol 'SND_SOC_MPC5200_AC97' refer to undefined symbol 'PPC_BESTCOMM_GEN_BD'
  47. sound/soc/s3c24xx/Kconfig:4:warning: 'select' used by config symbol 'SND_S3C24XX_SOC' refer to undefined symbol 'S3C64XX_DMA'
  48. sound/soc/s3c24xx/Kconfig:25:warning: 'select' used by config symbol 'SND_S3C64XX_SOC_I2S' refer to undefined symbol 'S3C64XX_DMA'
  49. sound/soc/sh/Kconfig:26:warning: 'select' used by config symbol 'SND_SOC_SH4_FSI' refer to undefined symbol 'SH_DMA'
  50. CHK include/linux/version.h
  51. UPD include/linux/version.h
  52. SYMLINK include/asm-arm/arch -> include/asm-arm/arch-davinci
  53. CHK include/linux/utsrelease.h
  54. Generating include/asm-arm/mach-types.h
  55. UPD include/linux/utsrelease.h
  56. scripts/kallsyms.c: In function ‘read_symbol’:
  57. scripts/kallsyms.c:83: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  58. In file included from <command-line>:0:
  59. include/linux/marker.h:39:24: error: asm/marker.h: No such file or directory
  60. make[4]: *** [scripts/mod/empty.o] Error 1
  61. make[4]: *** Waiting for unfinished jobs....
  62. scripts/genksyms/lex.c:1230: warning: ‘input’ defined but not used
  63. In file included from <command-line>:0:
  64. include/linux/marker.h:39:24: error: asm/marker.h: No such file or directory
  65. In file included from include/linux/sched.h:4,
  66. from arch/arm/kernel/asm-offsets.c:13:
  67. include/linux/auxvec.h:4:24: error: asm/auxvec.h: No such file or directory
  68. make[3]: *** [scripts/mod] Error 2
  69. make[3]: *** Waiting for unfinished jobs....
  70. In file included from arch/arm/kernel/asm-offsets.c:13:
  71. include/linux/sched.h:42:36: error: asm/param.h: No such file or directory
  72. In file included from include/linux/types.h:14,
  73. from include/linux/capability.h:16,
  74. from include/linux/sched.h:44,
  75. from arch/arm/kernel/asm-offsets.c:13:
  76. include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
  77. In file included from include/linux/capability.h:16,
  78. from include/linux/sched.h:44,
  79. from arch/arm/kernel/asm-offsets.c:13:
  80. include/linux/types.h:15:23: error: asm/types.h: No such file or directory
  81. In file included from include/linux/capability.h:16,
  82. from include/linux/sched.h:44,
  83. from arch/arm/kernel/asm-offsets.c:13:
  84. include/linux/types.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’
  85. include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
  86. include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’
  87. include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
  88. include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’
  89. include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’
  90. include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’
  91. include/linux/types.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’
  92. include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’
  93. include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’
  94. include/linux/types.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’
  95. include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’
  96. include/linux/types.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’
  97. include/linux/types.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’
  98. include/linux/types.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid16_t’
  99. include/linux/types.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘old_uid_t’
  100. include/linux/types.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘old_gid_t’
  101. include/linux/types.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘loff_t’
  102. include/linux/types.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘size_t’
  103. include/linux/types.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssize_t’
  104. include/linux/types.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ptrdiff_t’
  105. include/linux/types.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘time_t’
  106. include/linux/types.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clock_t’
  107. include/linux/types.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caddr_t’
  108. include/linux/types.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int8_t’
  109. include/linux/types.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
  110. include/linux/types.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int16_t’
  111. include/linux/types.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int16_t’
  112. include/linux/types.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int32_t’
  113. include/linux/types.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
  114. include/linux/types.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint8_t’
  115. include/linux/types.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’
  116. include/linux/types.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint32_t’
  117. include/linux/types.h:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’
  118. include/linux/types.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int64_t’
  119. include/linux/types.h:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’
  120. include/linux/types.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le16’
  121. include/linux/types.h:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be16’
  122. include/linux/types.h:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le32’
  123. include/linux/types.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be32’
  124. include/linux/types.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le64’
  125. include/linux/types.h:177: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be64’
  126. include/linux/types.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resource_size_t’
  127. include/linux/types.h:192: error: expected specifier-qualifier-list before ‘__kernel_daddr_t’
  128. In file included from include/linux/sched.h:44,
  129. from arch/arm/kernel/asm-offsets.c:13:
  130. include/linux/capability.h:33: error: expected specifier-qualifier-list before ‘__u32’
  131. include/linux/capability.h:38: error: expected specifier-qualifier-list before ‘__u32’
  132. In file included from include/linux/thread_info.h:20,
  133. from include/linux/preempt.h:9,
  134. from include/linux/spinlock.h:85,
  135. from include/linux/capability.h:45,
  136. from include/linux/sched.h:44,
  137. from arch/arm/kernel/asm-offsets.c:13:
  138. include/linux/bitops.h:16:24: error: asm/bitops.h: No such file or directory
  139. In file included from include/linux/thread_info.h:20,
  140. from include/linux/preempt.h:9,
  141. from include/linux/spinlock.h:85,
  142. from include/linux/capability.h:45,
  143. from include/linux/sched.h:44,
  144. from arch/arm/kernel/asm-offsets.c:13:
  145. include/linux/bitops.h: In function ‘get_bitmask_order’:
  146. include/linux/bitops.h:22: warning: implicit declaration of function ‘fls’
  147. include/linux/bitops.h: In function ‘hweight_long’:
  148. include/linux/bitops.h:38: warning: implicit declaration of function ‘hweight32’
  149. include/linux/bitops.h:38: warning: implicit declaration of function ‘hweight64’
  150. include/linux/bitops.h: At top level:
  151. include/linux/bitops.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rol32’
  152. include/linux/bitops.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ror32’
  153. include/linux/bitops.h: In function ‘fls_long’:
  154. include/linux/bitops.h:67: warning: implicit declaration of function ‘fls64’
  155. In file included from include/linux/preempt.h:9,
  156. from include/linux/spinlock.h:85,
  157. from include/linux/capability.h:45,
  158. from include/linux/sched.h:44,
  159. from arch/arm/kernel/asm-offsets.c:13:
  160. include/linux/thread_info.h:21:29: error: asm/thread_info.h: No such file or directory
  161. In file included from include/linux/preempt.h:9,
  162. from include/linux/spinlock.h:85,
  163. from include/linux/capability.h:45,
  164. from include/linux/sched.h:44,
  165. from arch/arm/kernel/asm-offsets.c:13:
  166. include/linux/thread_info.h: At top level:
  167. include/linux/thread_info.h:30: warning: ‘struct thread_info’ declared inside parameter list
  168. include/linux/thread_info.h:30: warning: its scope is only this definition or declaration, which is probably not what you want
  169. include/linux/thread_info.h: In function ‘set_ti_thread_flag’:
  170. include/linux/thread_info.h:32: warning: implicit declaration of function ‘set_bit’
  171. include/linux/thread_info.h:32: error: dereferencing pointer to incomplete type
  172. include/linux/thread_info.h: At top level:
  173. include/linux/thread_info.h:35: warning: ‘struct thread_info’ declared inside parameter list
  174. include/linux/thread_info.h: In function ‘clear_ti_thread_flag’:
  175. include/linux/thread_info.h:37: warning: implicit declaration of function ‘clear_bit’
  176. include/linux/thread_info.h:37: error: dereferencing pointer to incomplete type
  177. include/linux/thread_info.h: At top level:
  178. include/linux/thread_info.h:40: warning: ‘struct thread_info’ declared inside parameter list
  179. include/linux/thread_info.h: In function ‘test_and_set_ti_thread_flag’:
  180. include/linux/thread_info.h:42: warning: implicit declaration of function ‘test_and_set_bit’
  181. include/linux/thread_info.h:42: error: dereferencing pointer to incomplete type
  182. include/linux/thread_info.h: At top level:
  183. include/linux/thread_info.h:45: warning: ‘struct thread_info’ declared inside parameter list
  184. include/linux/thread_info.h: In function ‘test_and_clear_ti_thread_flag’:
  185. include/linux/thread_info.h:47: warning: implicit declaration of function ‘test_and_clear_bit’
  186. include/linux/thread_info.h:47: error: dereferencing pointer to incomplete type
  187. include/linux/thread_info.h: At top level:
  188. include/linux/thread_info.h:50: warning: ‘struct thread_info’ declared inside parameter list
  189. include/linux/thread_info.h: In function ‘test_ti_thread_flag’:
  190. include/linux/thread_info.h:52: warning: implicit declaration of function ‘test_bit’
  191. include/linux/thread_info.h:52: error: dereferencing pointer to incomplete type
  192. In file included from include/linux/preempt.h:10,
  193. from include/linux/spinlock.h:85,
  194. from include/linux/capability.h:45,
  195. from include/linux/sched.h:44,
  196. from arch/arm/kernel/asm-offsets.c:13:
  197. include/linux/linkage.h:4:25: error: asm/linkage.h: No such file or directory
  198. In file included from include/linux/kernel.h:16,
  199. from include/linux/spinlock.h:89,
  200. from include/linux/capability.h:45,
  201. from include/linux/sched.h:44,
  202. from arch/arm/kernel/asm-offsets.c:13:
  203. include/linux/log2.h: At top level:
  204. include/linux/log2.h:32: error: expected ‘)’ before ‘n’
  205. include/linux/log2.h:40: error: expected ‘)’ before ‘n’
  206. In file included from include/linux/spinlock.h:89,
  207. from include/linux/capability.h:45,
  208. from include/linux/sched.h:44,
  209. from arch/arm/kernel/asm-offsets.c:13:
  210. include/linux/kernel.h:17:27: error: asm/byteorder.h: No such file or directory
  211. include/linux/kernel.h:18:21: error: asm/bug.h: No such file or directory
  212. In file included from include/linux/spinlock.h:89,
  213. from include/linux/capability.h:45,
  214. from include/linux/sched.h:44,
  215. from arch/arm/kernel/asm-offsets.c:13:
  216. include/linux/kernel.h:119: error: expected declaration specifiers or ‘...’ before ‘size_t’
  217. include/linux/kernel.h:120: error: format string argument not a string type
  218. include/linux/kernel.h:120: warning: conflicting types for built-in function ‘snprintf’
  219. include/linux/kernel.h:121: error: expected declaration specifiers or ‘...’ before ‘size_t’
  220. include/linux/kernel.h:122: error: format string argument not a string type
  221. include/linux/kernel.h:122: warning: conflicting types for built-in function ‘vsnprintf’
  222. include/linux/kernel.h:123: error: expected declaration specifiers or ‘...’ before ‘size_t’
  223. include/linux/kernel.h:124: error: format string argument not a string type
  224. include/linux/kernel.h:125: error: expected declaration specifiers or ‘...’ before ‘size_t’
  225. include/linux/kernel.h:126: error: format string argument not a string type
  226. include/linux/kernel.h:282:2: error: #error "Please fix asm/byteorder.h"
  227. In file included from include/linux/spinlock.h:90,
  228. from include/linux/capability.h:45,
  229. from include/linux/sched.h:44,
  230. from arch/arm/kernel/asm-offsets.c:13:
  231. include/linux/cache.h:5:23: error: asm/cache.h: No such file or directory
  232. In file included from include/linux/capability.h:45,
  233. from include/linux/sched.h:44,
  234. from arch/arm/kernel/asm-offsets.c:13:
  235. include/linux/spinlock.h:93:24: error: asm/system.h: No such file or directory
  236. make[2]: *** [scripts] Error 2
  237. make[2]: *** Waiting for unfinished jobs....
  238. In file included from include/linux/list.h:8,
  239. from include/linux/plist.h:77,
  240. from include/linux/rtmutex.h:16,
  241. from include/linux/rt_lock.h:13,
  242. from include/linux/spinlock.h:114,
  243. from include/linux/capability.h:45,
  244. from include/linux/sched.h:44,
  245. from arch/arm/kernel/asm-offsets.c:13:
  246. include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory
  247. In file included from include/linux/list.h:8,
  248. from include/linux/plist.h:77,
  249. from include/linux/rtmutex.h:16,
  250. from include/linux/rt_lock.h:13,
  251. from include/linux/spinlock.h:114,
  252. from include/linux/capability.h:45,
  253. from include/linux/sched.h:44,
  254. from arch/arm/kernel/asm-offsets.c:13:
  255. include/linux/prefetch.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
  256. In file included from include/linux/plist.h:77,
  257. from include/linux/rtmutex.h:16,
  258. from include/linux/rt_lock.h:13,
  259. from include/linux/spinlock.h:114,
  260. from include/linux/capability.h:45,
  261. from include/linux/sched.h:44,
  262. from arch/arm/kernel/asm-offsets.c:13:
  263. include/linux/list.h: In function ‘__list_add_rcu’:
  264. include/linux/list.h:89: warning: implicit declaration of function ‘smp_wmb’
  265. In file included from include/linux/spinlock.h:114,
  266. from include/linux/capability.h:45,
  267. from include/linux/sched.h:44,
  268. from arch/arm/kernel/asm-offsets.c:13:
  269. include/linux/rt_lock.h:14:24: error: asm/atomic.h: No such file or directory
  270. In file included from include/linux/capability.h:45,
  271. from include/linux/sched.h:44,
  272. from arch/arm/kernel/asm-offsets.c:13:
  273. include/linux/spinlock.h: At top level:
  274. include/linux/spinlock.h:163: error: expected ‘)’ before ‘*’ token
  275. include/linux/spinlock.h:569: error: expected ‘)’ before ‘*’ token
  276. include/linux/spinlock.h: In function ‘bit_spin_lock’:
  277. include/linux/spinlock.h:606: warning: implicit declaration of function ‘cpu_relax’
  278. include/linux/spinlock.h: In function ‘bit_spin_unlock’:
  279. include/linux/spinlock.h:630: warning: implicit declaration of function ‘BUG_ON’
  280. include/linux/spinlock.h:631: warning: implicit declaration of function ‘smp_mb__before_clear_bit’
  281. In file included from include/linux/sched.h:44,
  282. from arch/arm/kernel/asm-offsets.c:13:
  283. include/linux/capability.h:46:25: error: asm/current.h: No such file or directory
  284. In file included from include/linux/sched.h:44,
  285. from arch/arm/kernel/asm-offsets.c:13:
  286. include/linux/capability.h: At top level:
  287. include/linux/capability.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘kernel_cap_t’
  288. include/linux/capability.h:295: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_bset’
  289. include/linux/capability.h:323: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_combine’
  290. include/linux/capability.h:330: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_intersect’
  291. include/linux/capability.h:337: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_drop’
  292. include/linux/capability.h:344: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_invert’
  293. In file included from include/linux/time.h:7,
  294. from include/linux/timex.h:57,
  295. from include/linux/sched.h:48,
  296. from arch/arm/kernel/asm-offsets.c:13:
  297. include/linux/seqlock.h: In function ‘__write_seqlock’:
  298. include/linux/seqlock.h:88: warning: implicit declaration of function ‘current_thread_info’
  299. include/linux/seqlock.h:88: error: invalid type argument of ‘->’
  300. include/linux/seqlock.h: In function ‘__write_sequnlock’:
  301. include/linux/seqlock.h:97: error: invalid type argument of ‘->’
  302. include/linux/seqlock.h:97: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  303. include/linux/seqlock.h:97: error: (Each undeclared identifier is reported only once
  304. include/linux/seqlock.h:97: error: for each function it appears in.)
  305. include/linux/seqlock.h:97: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  306. include/linux/seqlock.h: In function ‘__write_tryseqlock’:
  307. include/linux/seqlock.h:102: error: invalid type argument of ‘->’
  308. include/linux/seqlock.h: In function ‘__read_seqbegin’:
  309. include/linux/seqlock.h:115: warning: implicit declaration of function ‘smp_rmb’
  310. include/linux/seqlock.h: In function ‘__read_seqretry’:
  311. include/linux/seqlock.h:139: warning: implicit declaration of function ‘local_irq_save’
  312. include/linux/seqlock.h:139: error: invalid type argument of ‘->’
  313. include/linux/seqlock.h:140: warning: implicit declaration of function ‘local_irq_restore’
  314. include/linux/seqlock.h:140: error: invalid type argument of ‘->’
  315. include/linux/seqlock.h:140: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  316. include/linux/seqlock.h:140: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  317. include/linux/seqlock.h: In function ‘__write_seqlock_raw’:
  318. include/linux/seqlock.h:147: error: invalid type argument of ‘->’
  319. include/linux/seqlock.h: In function ‘__write_sequnlock_raw’:
  320. include/linux/seqlock.h:156: error: invalid type argument of ‘->’
  321. include/linux/seqlock.h:156: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  322. include/linux/seqlock.h:156: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  323. include/linux/seqlock.h: In function ‘__write_tryseqlock_raw’:
  324. include/linux/seqlock.h:161: error: invalid type argument of ‘->’
  325. In file included from include/linux/timex.h:57,
  326. from include/linux/sched.h:48,
  327. from arch/arm/kernel/asm-offsets.c:13:
  328. include/linux/time.h: At top level:
  329. include/linux/time.h:13: error: expected specifier-qualifier-list before ‘time_t’
  330. include/linux/time.h:19: error: expected specifier-qualifier-list before ‘time_t’
  331. include/linux/time.h: In function ‘timespec_equal’:
  332. include/linux/time.h:41: error: ‘struct timespec’ has no member named ‘tv_sec’
  333. include/linux/time.h:41: error: ‘struct timespec’ has no member named ‘tv_sec’
  334. include/linux/time.h:41: error: ‘struct timespec’ has no member named ‘tv_nsec’
  335. include/linux/time.h:41: error: ‘struct timespec’ has no member named ‘tv_nsec’
  336. include/linux/time.h: In function ‘timespec_compare’:
  337. include/linux/time.h:51: error: ‘struct timespec’ has no member named ‘tv_sec’
  338. include/linux/time.h:51: error: ‘struct timespec’ has no member named ‘tv_sec’
  339. include/linux/time.h:53: error: ‘struct timespec’ has no member named ‘tv_sec’
  340. include/linux/time.h:53: error: ‘struct timespec’ has no member named ‘tv_sec’
  341. include/linux/time.h:55: error: ‘struct timespec’ has no member named ‘tv_nsec’
  342. include/linux/time.h:55: error: ‘struct timespec’ has no member named ‘tv_nsec’
  343. include/linux/time.h: In function ‘timeval_compare’:
  344. include/linux/time.h:60: error: ‘struct timeval’ has no member named ‘tv_sec’
  345. include/linux/time.h:60: error: ‘struct timeval’ has no member named ‘tv_sec’
  346. include/linux/time.h:62: error: ‘struct timeval’ has no member named ‘tv_sec’
  347. include/linux/time.h:62: error: ‘struct timeval’ has no member named ‘tv_sec’
  348. include/linux/time.h:64: error: ‘struct timeval’ has no member named ‘tv_usec’
  349. include/linux/time.h:64: error: ‘struct timeval’ has no member named ‘tv_usec’
  350. include/linux/time.h: At top level:
  351. include/linux/time.h:71: error: expected declaration specifiers or ‘...’ before ‘time_t’
  352. include/linux/time.h: In function ‘timespec_sub’:
  353. include/linux/time.h:80: error: ‘struct timespec’ has no member named ‘tv_sec’
  354. include/linux/time.h:80: error: ‘struct timespec’ has no member named ‘tv_sec’
  355. include/linux/time.h:81: error: ‘struct timespec’ has no member named ‘tv_nsec’
  356. include/linux/time.h:81: error: ‘struct timespec’ has no member named ‘tv_nsec’
  357. include/linux/time.h:81: error: too many arguments to function ‘set_normalized_timespec’
  358. include/linux/time.h: In function ‘get_seconds’:
  359. include/linux/time.h:100: error: ‘struct timespec’ has no member named ‘tv_sec’
  360. include/linux/time.h: At top level:
  361. include/linux/time.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timespec_to_ns’
  362. include/linux/time.h:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timeval_to_ns’
  363. include/linux/time.h:155: warning: type defaults to ‘int’ in declaration of ‘s64’
  364. include/linux/time.h:155: error: expected ‘;’, ‘,’ or ‘)’ before ‘nsec’
  365. include/linux/time.h:163: warning: type defaults to ‘int’ in declaration of ‘s64’
  366. include/linux/time.h:163: error: expected ‘;’, ‘,’ or ‘)’ before ‘nsec’
  367. include/linux/time.h:170: error: expected declaration specifiers or ‘...’ before ‘u64’
  368. include/linux/time.h: In function ‘timespec_add_ns’:
  369. include/linux/time.h:172: error: ‘ns’ undeclared (first use in this function)
  370. include/linux/time.h:172: error: ‘struct timespec’ has no member named ‘tv_nsec’
  371. include/linux/time.h:175: error: ‘struct timespec’ has no member named ‘tv_sec’
  372. include/linux/time.h:177: error: ‘struct timespec’ has no member named ‘tv_nsec’
  373. In file included from include/linux/sched.h:48,
  374. from arch/arm/kernel/asm-offsets.c:13:
  375. include/linux/timex.h:187:23: error: asm/timex.h: No such file or directory
  376. In file included from include/linux/sched.h:48,
  377. from arch/arm/kernel/asm-offsets.c:13:
  378. include/linux/timex.h: At top level:
  379. include/linux/timex.h:290: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘current_tick_length’
  380. In file included from include/linux/jiffies.h:4,
  381. from include/linux/sched.h:49,
  382. from arch/arm/kernel/asm-offsets.c:13:
  383. include/linux/calc64.h:5:23: error: asm/div64.h: No such file or directory
  384. In file included from include/linux/jiffies.h:4,
  385. from include/linux/sched.h:49,
  386. from arch/arm/kernel/asm-offsets.c:13:
  387. include/linux/calc64.h: In function ‘do_div_llr’:
  388. include/linux/calc64.h:23: error: ‘u64’ undeclared (first use in this function)
  389. include/linux/calc64.h:23: error: expected ‘;’ before ‘result’
  390. include/linux/calc64.h:25: warning: implicit declaration of function ‘do_div’
  391. include/linux/calc64.h:25: error: ‘result’ undeclared (first use in this function)
  392. In file included from include/linux/sched.h:49,
  393. from arch/arm/kernel/asm-offsets.c:13:
  394. include/linux/jiffies.h:18:5: warning: "HZ" is not defined
  395. include/linux/jiffies.h:20:7: warning: "HZ" is not defined
  396. include/linux/jiffies.h:22:7: warning: "HZ" is not defined
  397. include/linux/jiffies.h:24:7: warning: "HZ" is not defined
  398. include/linux/jiffies.h:26:7: warning: "HZ" is not defined
  399. include/linux/jiffies.h:28:7: warning: "HZ" is not defined
  400. include/linux/jiffies.h:30:7: warning: "HZ" is not defined
  401. include/linux/jiffies.h:33:3: error: #error You lose.
  402. In file included from include/linux/sched.h:49,
  403. from arch/arm/kernel/asm-offsets.c:13:
  404. include/linux/jiffies.h: At top level:
  405. include/linux/jiffies.h:81: warning: type defaults to ‘int’ in declaration of ‘u64’
  406. include/linux/jiffies.h:81: error: expected ‘,’ or ‘;’ before ‘jiffies_64’
  407. include/linux/jiffies.h:84:6: warning: "BITS_PER_LONG" is not defined
  408. include/linux/jiffies.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_jiffies_64’
  409. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  410. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  411. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  412. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  413. include/linux/jiffies.h:210:31: error: division by zero in #if
  414. include/linux/jiffies.h:210:31: error: division by zero in #if
  415. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  416. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  417. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  418. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  419. include/linux/jiffies.h:210:31: error: division by zero in #if
  420. include/linux/jiffies.h:210:31: error: division by zero in #if
  421. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  422. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  423. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  424. include/linux/jiffies.h:210:31: error: division by zero in #if
  425. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  426. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  427. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  428. include/linux/jiffies.h:210:31: error: division by zero in #if
  429. include/linux/jiffies.h:210:31: error: division by zero in #if
  430. include/linux/jiffies.h:210:31: error: division by zero in #if
  431. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  432. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  433. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  434. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  435. include/linux/jiffies.h:210:31: error: division by zero in #if
  436. include/linux/jiffies.h:210:31: error: division by zero in #if
  437. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  438. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  439. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  440. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  441. include/linux/jiffies.h:210:31: error: division by zero in #if
  442. include/linux/jiffies.h:210:31: error: division by zero in #if
  443. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  444. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  445. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  446. include/linux/jiffies.h:210:31: error: division by zero in #if
  447. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  448. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  449. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  450. include/linux/jiffies.h:210:31: error: division by zero in #if
  451. include/linux/jiffies.h:210:31: error: division by zero in #if
  452. include/linux/jiffies.h:210:31: error: division by zero in #if
  453. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  454. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  455. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  456. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  457. include/linux/jiffies.h:210:31: error: division by zero in #if
  458. include/linux/jiffies.h:210:31: error: division by zero in #if
  459. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  460. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  461. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  462. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  463. include/linux/jiffies.h:210:31: error: division by zero in #if
  464. include/linux/jiffies.h:210:31: error: division by zero in #if
  465. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  466. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  467. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  468. include/linux/jiffies.h:210:31: error: division by zero in #if
  469. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  470. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  471. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  472. include/linux/jiffies.h:210:31: error: division by zero in #if
  473. include/linux/jiffies.h:210:31: error: division by zero in #if
  474. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  475. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  476. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  477. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  478. include/linux/jiffies.h:210:31: error: division by zero in #if
  479. include/linux/jiffies.h:210:31: error: division by zero in #if
  480. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  481. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  482. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  483. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  484. include/linux/jiffies.h:210:31: error: division by zero in #if
  485. include/linux/jiffies.h:210:31: error: division by zero in #if
  486. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  487. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  488. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  489. include/linux/jiffies.h:210:31: error: division by zero in #if
  490. include/linux/jiffies.h:210:31: warning: "CLOCK_TICK_RATE" is not defined
  491. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  492. include/linux/jiffies.h:210:31: warning: "HZ" is not defined
  493. include/linux/jiffies.h:210:31: error: division by zero in #if
  494. include/linux/jiffies.h:210:31: error: division by zero in #if
  495. include/linux/jiffies.h:210:31: error: division by zero in #if
  496. include/linux/jiffies.h:210:46: warning: "SHIFT_HZ" is not defined
  497. include/linux/jiffies.h:237:5: warning: "BITS_PER_LONG" is not defined
  498. include/linux/jiffies.h:259: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jiffies_to_clock_t’
  499. include/linux/jiffies.h:261: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jiffies_64_to_clock_t’
  500. include/linux/jiffies.h:262: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nsec_to_clock_t’
  501. include/linux/jiffies.h:263: error: expected declaration specifiers or ‘...’ before ‘u64’
  502. In file included from include/linux/bitmap.h:8,
  503. from include/linux/cpumask.h:86,
  504. from include/linux/sched.h:52,
  505. from arch/arm/kernel/asm-offsets.c:13:
  506. include/linux/string.h:17: error: expected declaration specifiers or ‘...’ before ‘size_t’
  507. In file included from include/linux/bitmap.h:8,
  508. from include/linux/cpumask.h:86,
  509. from include/linux/sched.h:52,
  510. from arch/arm/kernel/asm-offsets.c:13:
  511. include/linux/string.h:22:24: error: asm/string.h: No such file or directory
  512. include/linux/string.h:28: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  513. include/linux/string.h:28: warning: conflicting types for built-in function ‘strncpy’
  514. include/linux/string.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlcpy’
  515. include/linux/string.h:37: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  516. include/linux/string.h:37: warning: conflicting types for built-in function ‘strncat’
  517. include/linux/string.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlcat’
  518. include/linux/string.h:46: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  519. include/linux/string.h:46: warning: conflicting types for built-in function ‘strncmp’
  520. include/linux/string.h:49: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  521. include/linux/string.h:55: error: expected declaration specifiers or ‘...’ before ‘size_t’
  522. include/linux/string.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’
  523. include/linux/string.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strnlen’
  524. include/linux/string.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strspn’
  525. include/linux/string.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strcspn’
  526. include/linux/string.h:84: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  527. include/linux/string.h:84: warning: conflicting types for built-in function ‘memset’
  528. include/linux/string.h:87: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  529. include/linux/string.h:87: warning: conflicting types for built-in function ‘memcpy’
  530. include/linux/string.h:90: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  531. include/linux/string.h:90: warning: conflicting types for built-in function ‘memmove’
  532. include/linux/string.h:93: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  533. include/linux/string.h:96: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  534. include/linux/string.h:96: warning: conflicting types for built-in function ‘memcmp’
  535. include/linux/string.h:99: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’
  536. include/linux/string.h:103: error: expected declaration specifiers or ‘...’ before ‘size_t’
  537. In file included from include/linux/cpumask.h:86,
  538. from include/linux/sched.h:52,
  539. from arch/arm/kernel/asm-offsets.c:13:
  540. include/linux/bitmap.h: In function ‘bitmap_zero’:
  541. include/linux/bitmap.h:131: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  542. include/linux/bitmap.h:135: error: too many arguments to function ‘memset’
  543. include/linux/bitmap.h: In function ‘bitmap_fill’:
  544. include/linux/bitmap.h:141: error: ‘size_t’ undeclared (first use in this function)
  545. include/linux/bitmap.h:141: error: expected ‘;’ before ‘nlongs’
  546. include/linux/bitmap.h:142: error: ‘nlongs’ undeclared (first use in this function)
  547. include/linux/bitmap.h:144: error: too many arguments to function ‘memset’
  548. include/linux/bitmap.h:146: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  549. include/linux/bitmap.h: In function ‘bitmap_copy’:
  550. include/linux/bitmap.h:152: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  551. include/linux/bitmap.h:156: error: too many arguments to function ‘memcpy’
  552. include/linux/bitmap.h: In function ‘bitmap_and’:
  553. include/linux/bitmap.h:163: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  554. include/linux/bitmap.h: In function ‘bitmap_or’:
  555. include/linux/bitmap.h:172: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  556. include/linux/bitmap.h: In function ‘bitmap_xor’:
  557. include/linux/bitmap.h:181: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  558. include/linux/bitmap.h: In function ‘bitmap_andnot’:
  559. include/linux/bitmap.h:190: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  560. include/linux/bitmap.h: In function ‘bitmap_complement’:
  561. include/linux/bitmap.h:199: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  562. include/linux/bitmap.h: In function ‘bitmap_equal’:
  563. include/linux/bitmap.h:208: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  564. include/linux/bitmap.h: In function ‘bitmap_intersects’:
  565. include/linux/bitmap.h:217: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  566. include/linux/bitmap.h: In function ‘bitmap_subset’:
  567. include/linux/bitmap.h:226: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  568. include/linux/bitmap.h: In function ‘bitmap_empty’:
  569. include/linux/bitmap.h:234: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  570. include/linux/bitmap.h: In function ‘bitmap_full’:
  571. include/linux/bitmap.h:242: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  572. include/linux/bitmap.h: In function ‘bitmap_weight’:
  573. include/linux/bitmap.h:250: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  574. include/linux/bitmap.h: In function ‘bitmap_shift_right’:
  575. include/linux/bitmap.h:258: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  576. include/linux/bitmap.h: In function ‘bitmap_shift_left’:
  577. include/linux/bitmap.h:267: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
  578. In file included from include/linux/sched.h:52,
  579. from arch/arm/kernel/asm-offsets.c:13:
  580. include/linux/cpumask.h: At top level:
  581. include/linux/cpumask.h:88: error: ‘BITS_PER_LONG’ undeclared here (not in a function)
  582. In file included from include/linux/sched.h:52,
  583. from arch/arm/kernel/asm-offsets.c:13:
  584. include/linux/cpumask.h:239:16: warning: "BITS_PER_LONG" is not defined
  585. In file included from include/linux/sched.h:53,
  586. from arch/arm/kernel/asm-offsets.c:13:
  587. include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
  588. In file included from include/linux/sched.h:54,
  589. from arch/arm/kernel/asm-offsets.c:13:
  590. include/linux/nodemask.h: In function ‘__first_node’:
  591. include/linux/nodemask.h:229: warning: implicit declaration of function ‘find_first_bit’
  592. include/linux/nodemask.h: In function ‘__next_node’:
  593. include/linux/nodemask.h:235: warning: implicit declaration of function ‘find_next_bit’
  594. include/linux/nodemask.h: In function ‘__first_unset_node’:
  595. include/linux/nodemask.h:253: warning: implicit declaration of function ‘find_first_zero_bit’
  596. In file included from include/linux/sched.h:54,
  597. from arch/arm/kernel/asm-offsets.c:13:
  598. include/linux/nodemask.h:259:21: warning: "BITS_PER_LONG" is not defined
  599. In file included from arch/arm/kernel/asm-offsets.c:13:
  600. include/linux/sched.h:57:27: error: asm/semaphore.h: No such file or directory
  601. include/linux/sched.h:58:22: error: asm/page.h: No such file or directory
  602. include/linux/sched.h:59:24: error: asm/ptrace.h: No such file or directory
  603. include/linux/sched.h:60:21: error: asm/mmu.h: No such file or directory
  604. include/linux/sched.h:61:25: error: asm/cputime.h: No such file or directory
  605. In file included from include/linux/sem.h:4,
  606. from include/linux/sched.h:64,
  607. from arch/arm/kernel/asm-offsets.c:13:
  608. include/linux/ipc.h: At top level:
  609. include/linux/ipc.h:12: error: expected specifier-qualifier-list before ‘__kernel_uid_t’
  610. In file included from include/linux/sem.h:4,
  611. from include/linux/sched.h:64,
  612. from arch/arm/kernel/asm-offsets.c:13:
  613. include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory
  614. include/linux/ipc.h:62: error: expected specifier-qualifier-list before ‘uid_t’
  615. In file included from include/linux/sched.h:64,
  616. from arch/arm/kernel/asm-offsets.c:13:
  617. include/linux/sem.h:28: error: expected specifier-qualifier-list before ‘__kernel_time_t’
  618. In file included from include/linux/sched.h:64,
  619. from arch/arm/kernel/asm-offsets.c:13:
  620. include/linux/sem.h:38:24: error: asm/sembuf.h: No such file or directory
  621. include/linux/sem.h:104: error: expected specifier-qualifier-list before ‘time_t’
  622. include/linux/sem.h:142: error: expected specifier-qualifier-list before ‘atomic_t’
  623. In file included from include/linux/sched.h:65,
  624. from arch/arm/kernel/asm-offsets.c:13:
  625. include/linux/signal.h:4:24: error: asm/signal.h: No such file or directory
  626. include/linux/signal.h:5:25: error: asm/siginfo.h: No such file or directory
  627. In file included from include/linux/sched.h:65,
  628. from arch/arm/kernel/asm-offsets.c:13:
  629. include/linux/signal.h:18: error: expected specifier-qualifier-list before ‘siginfo_t’
  630. include/linux/signal.h:27: error: expected specifier-qualifier-list before ‘sigset_t’
  631. include/linux/signal.h:39: error: expected ‘)’ before ‘*’ token
  632. include/linux/signal.h:48: error: expected ‘)’ before ‘*’ token
  633. include/linux/signal.h:57: error: expected ‘)’ before ‘*’ token
  634. include/linux/signal.h: In function ‘sigfindinword’:
  635. include/linux/signal.h:68: warning: implicit declaration of function ‘ffz’
  636. include/linux/signal.h: At top level:
  637. include/linux/signal.h:73: error: expected ‘)’ before ‘*’ token
  638. include/linux/signal.h:120: error: expected ‘)’ before ‘*’ token
  639. include/linux/signal.h:123: error: expected ‘)’ before ‘*’ token
  640. include/linux/signal.h:126: error: expected ‘)’ before ‘*’ token
  641. include/linux/signal.h:150: error: expected ‘)’ before ‘*’ token
  642. include/linux/signal.h:155: error: expected ‘)’ before ‘*’ token
  643. include/linux/signal.h:167: error: expected ‘)’ before ‘*’ token
  644. include/linux/signal.h:181: error: expected ‘)’ before ‘*’ token
  645. include/linux/signal.h:186: error: expected ‘)’ before ‘*’ token
  646. include/linux/signal.h:191: error: expected ‘)’ before ‘*’ token
  647. include/linux/signal.h:196: error: expected ‘)’ before ‘*’ token
  648. include/linux/signal.h:208: error: expected ‘)’ before ‘*’ token
  649. include/linux/signal.h: In function ‘init_sigpending’:
  650. include/linux/signal.h:224: warning: implicit declaration of function ‘sigemptyset’
  651. include/linux/signal.h:224: error: ‘struct sigpending’ has no member named ‘signal’
  652. include/linux/signal.h: In function ‘valid_signal’:
  653. include/linux/signal.h:233: error: ‘_NSIG’ undeclared (first use in this function)
  654. include/linux/signal.h: At top level:
  655. include/linux/signal.h:236: warning: ‘struct siginfo’ declared inside parameter list
  656. include/linux/signal.h:237: warning: ‘struct siginfo’ declared inside parameter list
  657. include/linux/signal.h:239: error: expected declaration specifiers or ‘...’ before ‘sigset_t’
  658. include/linux/signal.h:239: error: expected declaration specifiers or ‘...’ before ‘sigset_t’
  659. include/linux/signal.h:242: error: expected ‘)’ before ‘*’ token
  660. In file included from include/linux/sched.h:67,
  661. from arch/arm/kernel/asm-offsets.c:13:
  662. include/linux/fs_struct.h:8: error: expected specifier-qualifier-list before ‘atomic_t’
  663. In file included from include/linux/gfp.h:4,
  664. from include/linux/slab.h:14,
  665. from include/linux/percpu.h:4,
  666. from include/linux/rcupdate.h:41,
  667. from include/linux/pid.h:4,
  668. from include/linux/sched.h:70,
  669. from arch/arm/kernel/asm-offsets.c:13:
  670. include/linux/mmzone.h:188: error: expected specifier-qualifier-list before ‘atomic_t’
  671. In file included from include/linux/notifier.h:13,
  672. from include/linux/memory_hotplug.h:7,
  673. from include/linux/mmzone.h:339,
  674. from include/linux/gfp.h:4,
  675. from include/linux/slab.h:14,
  676. from include/linux/percpu.h:4,
  677. from include/linux/rcupdate.h:41,
  678. from include/linux/pid.h:4,
  679. from include/linux/sched.h:70,
  680. from arch/arm/kernel/asm-offsets.c:13:
  681. include/linux/mutex.h:96: error: expected specifier-qualifier-list before ‘atomic_t’
  682. include/linux/mutex.h: In function ‘mutex_is_locked’:
  683. include/linux/mutex.h:163: warning: implicit declaration of function ‘atomic_read’
  684. include/linux/mutex.h:163: error: ‘struct mutex’ has no member named ‘count’
  685. In file included from include/linux/rwsem.h:33,
  686. from include/linux/notifier.h:14,
  687. from include/linux/memory_hotplug.h:7,
  688. from include/linux/mmzone.h:339,
  689. from include/linux/gfp.h:4,
  690. from include/linux/slab.h:14,
  691. from include/linux/percpu.h:4,
  692. from include/linux/rcupdate.h:41,
  693. from include/linux/pid.h:4,
  694. from include/linux/sched.h:70,
  695. from arch/arm/kernel/asm-offsets.c:13:
  696. include/linux/rwsem-spinlock.h: At top level:
  697. include/linux/rwsem-spinlock.h:32: error: expected specifier-qualifier-list before ‘__s32’
  698. include/linux/rwsem-spinlock.h: In function ‘compat_rwsem_is_locked’:
  699. include/linux/rwsem-spinlock.h:73: error: ‘struct rw_semaphore’ has no member named ‘activity’
  700. In file included from include/linux/mmzone.h:339,
  701. from include/linux/gfp.h:4,
  702. from include/linux/slab.h:14,
  703. from include/linux/percpu.h:4,
  704. from include/linux/rcupdate.h:41,
  705. from include/linux/pid.h:4,
  706. from include/linux/sched.h:70,
  707. from arch/arm/kernel/asm-offsets.c:13:
  708. include/linux/memory_hotplug.h: In function ‘mhp_notimplemented’:
  709. include/linux/memory_hotplug.h:160: error: ‘ENOSYS’ undeclared (first use in this function)
  710. include/linux/memory_hotplug.h: In function ‘__remove_pages’:
  711. include/linux/memory_hotplug.h:169: error: ‘ENOSYS’ undeclared (first use in this function)
  712. include/linux/memory_hotplug.h: At top level:
  713. include/linux/memory_hotplug.h:172: error: expected declaration specifiers or ‘...’ before ‘u64’
  714. include/linux/memory_hotplug.h:172: error: expected declaration specifiers or ‘...’ before ‘u64’
  715. include/linux/memory_hotplug.h:173: error: expected declaration specifiers or ‘...’ before ‘u64’
  716. include/linux/memory_hotplug.h:173: error: expected declaration specifiers or ‘...’ before ‘u64’
  717. include/linux/memory_hotplug.h:174: error: expected ‘)’ before ‘start’
  718. In file included from include/linux/gfp.h:4,
  719. from include/linux/slab.h:14,
  720. from include/linux/percpu.h:4,
  721. from include/linux/rcupdate.h:41,
  722. from include/linux/pid.h:4,
  723. from include/linux/sched.h:70,
  724. from arch/arm/kernel/asm-offsets.c:13:
  725. include/linux/mmzone.h: In function ‘populated_zone’:
  726. include/linux/mmzone.h:370: error: ‘struct zone’ has no member named ‘present_pages’
  727. include/linux/mmzone.h: In function ‘is_highmem’:
  728. include/linux/mmzone.h:391: error: ‘struct zone’ has no member named ‘zone_pgdat’
  729. include/linux/mmzone.h: In function ‘is_normal’:
  730. include/linux/mmzone.h:396: error: ‘struct zone’ has no member named ‘zone_pgdat’
  731. include/linux/mmzone.h: In function ‘is_dma32’:
  732. include/linux/mmzone.h:401: error: ‘struct zone’ has no member named ‘zone_pgdat’
  733. include/linux/mmzone.h: In function ‘is_dma’:
  734. include/linux/mmzone.h:406: error: ‘struct zone’ has no member named ‘zone_pgdat’
  735. include/linux/mmzone.h: At top level:
  736. include/linux/mmzone.h:413: error: expected declaration specifiers or ‘...’ before ‘size_t’
  737. include/linux/mmzone.h:413: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  738. include/linux/mmzone.h:416: error: expected declaration specifiers or ‘...’ before ‘size_t’
  739. include/linux/mmzone.h:416: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  740. include/linux/mmzone.h:418: error: expected declaration specifiers or ‘...’ before ‘size_t’
  741. include/linux/mmzone.h:418: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  742. include/linux/mmzone.h:420: error: expected declaration specifiers or ‘...’ before ‘size_t’
  743. include/linux/mmzone.h:420: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  744. include/linux/mmzone.h:422: error: expected declaration specifiers or ‘...’ before ‘size_t’
  745. include/linux/mmzone.h:422: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  746. In file included from include/linux/mmzone.h:424,
  747. from include/linux/gfp.h:4,
  748. from include/linux/slab.h:14,
  749. from include/linux/percpu.h:4,
  750. from include/linux/rcupdate.h:41,
  751. from include/linux/pid.h:4,
  752. from include/linux/sched.h:70,
  753. from arch/arm/kernel/asm-offsets.c:13:
  754. include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory
  755. In file included from include/linux/gfp.h:4,
  756. from include/linux/slab.h:14,
  757. from include/linux/percpu.h:4,
  758. from include/linux/rcupdate.h:41,
  759. from include/linux/pid.h:4,
  760. from include/linux/sched.h:70,
  761. from arch/arm/kernel/asm-offsets.c:13:
  762. include/linux/mmzone.h:471:5: warning: "BITS_PER_LONG" is not defined
  763. include/linux/mmzone.h:478:7: warning: "BITS_PER_LONG" is not defined
  764. include/linux/mmzone.h:486:2: error: #error BITS_PER_LONG not defined
  765. In file included from include/linux/slab.h:14,
  766. from include/linux/percpu.h:4,
  767. from include/linux/rcupdate.h:41,
  768. from include/linux/pid.h:4,
  769. from include/linux/sched.h:70,
  770. from arch/arm/kernel/asm-offsets.c:13:
  771. include/linux/gfp.h:18:7: warning: "BITS_PER_LONG" is not defined
  772. In file included from include/linux/slab.h:14,
  773. from include/linux/percpu.h:4,
  774. from include/linux/rcupdate.h:41,
  775. from include/linux/pid.h:4,
  776. from include/linux/sched.h:70,
  777. from arch/arm/kernel/asm-offsets.c:13:
  778. include/linux/gfp.h: In function ‘alloc_pages_node’:
  779. include/linux/gfp.h:116: warning: implicit declaration of function ‘cpu_to_node’
  780. In file included from include/linux/percpu.h:4,
  781. from include/linux/rcupdate.h:41,
  782. from include/linux/pid.h:4,
  783. from include/linux/sched.h:70,
  784. from arch/arm/kernel/asm-offsets.c:13:
  785. include/linux/slab.h: At top level:
  786. include/linux/slab.h:60: error: expected declaration specifiers or ‘...’ before ‘size_t’
  787. include/linux/slab.h:60: error: expected declaration specifiers or ‘...’ before ‘size_t’
  788. include/linux/slab.h:70: error: expected ‘)’ before ‘size’
  789. include/linux/slab.h:74: error: expected specifier-qualifier-list before ‘size_t’
  790. include/linux/slab.h:80: error: expected ‘)’ before ‘gfp_t’
  791. include/linux/slab.h:134: error: expected ‘)’ before ‘size’
  792. In file included from include/linux/slab.h:143,
  793. from include/linux/percpu.h:4,
  794. from include/linux/rcupdate.h:41,
  795. from include/linux/pid.h:4,
  796. from include/linux/sched.h:70,
  797. from arch/arm/kernel/asm-offsets.c:13:
  798. include/linux/kmalloc_sizes.h:1:6: warning: "PAGE_SIZE" is not defined
  799. include/linux/kmalloc_sizes.h:5:5: warning: "L1_CACHE_BYTES" is not defined
  800. include/linux/kmalloc_sizes.h:9:5: warning: "L1_CACHE_BYTES" is not defined
  801. In file included from include/linux/percpu.h:4,
  802. from include/linux/rcupdate.h:41,
  803. from include/linux/pid.h:4,
  804. from include/linux/sched.h:70,
  805. from arch/arm/kernel/asm-offsets.c:13:
  806. include/linux/slab.h:157: error: expected ‘)’ before ‘gfp_t’
  807. include/linux/slab.h:164: error: expected ‘)’ before ‘size’
  808. In file included from include/linux/slab.h:173,
  809. from include/linux/percpu.h:4,
  810. from include/linux/rcupdate.h:41,
  811. from include/linux/pid.h:4,
  812. from include/linux/sched.h:70,
  813. from arch/arm/kernel/asm-offsets.c:13:
  814. include/linux/kmalloc_sizes.h:1:6: warning: "PAGE_SIZE" is not defined
  815. include/linux/kmalloc_sizes.h:5:5: warning: "L1_CACHE_BYTES" is not defined
  816. include/linux/kmalloc_sizes.h:9:5: warning: "L1_CACHE_BYTES" is not defined
  817. In file included from include/linux/percpu.h:4,
  818. from include/linux/rcupdate.h:41,
  819. from include/linux/pid.h:4,
  820. from include/linux/sched.h:70,
  821. from arch/arm/kernel/asm-offsets.c:13:
  822. include/linux/slab.h:193: error: expected ‘)’ before ‘n’
  823. include/linux/slab.h:212: error: expected ‘)’ before ‘size’
  824. include/linux/slab.h:266: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘slab_reclaim_pages’
  825. In file included from include/linux/rcupdate.h:41,
  826. from include/linux/pid.h:4,
  827. from include/linux/sched.h:70,
  828. from arch/arm/kernel/asm-offsets.c:13:
  829. include/linux/percpu.h:7:24: error: asm/percpu.h: No such file or directory
  830. In file included from include/linux/rcupdate.h:41,
  831. from include/linux/pid.h:4,
  832. from include/linux/sched.h:70,
  833. from arch/arm/kernel/asm-offsets.c:13:
  834. include/linux/percpu.h:65: error: expected ‘)’ before ‘size’
  835. In file included from include/linux/sched.h:70,
  836. from arch/arm/kernel/asm-offsets.c:13:
  837. include/linux/pid.h:44: error: expected specifier-qualifier-list before ‘atomic_t’
  838. include/linux/pid.h: In function ‘get_pid’:
  839. include/linux/pid.h:62: warning: implicit declaration of function ‘atomic_inc’
  840. include/linux/pid.h:62: error: ‘struct pid’ has no member named ‘count’
  841. In file included from include/linux/sched.h:73,
  842. from arch/arm/kernel/asm-offsets.c:13:
  843. include/linux/seccomp.h: At top level:
  844. include/linux/seccomp.h:32: warning: ‘struct thread_info’ declared inside parameter list
  845. In file included from include/linux/sched.h:75,
  846. from arch/arm/kernel/asm-offsets.c:13:
  847. include/linux/futex.h:96: error: expected ‘)’ before ‘*’ token
  848. include/linux/futex.h:100: error: expected ‘)’ before ‘*’ token
  849. In file included from include/linux/sched.h:80,
  850. from arch/arm/kernel/asm-offsets.c:13:
  851. include/linux/resource.h:70:26: error: asm/resource.h: No such file or directory
  852. In file included from include/linux/timer.h:5,
  853. from include/linux/sched.h:81,
  854. from arch/arm/kernel/asm-offsets.c:13:
  855. include/linux/ktime.h:47: error: expected specifier-qualifier-list before ‘s64’
  856. In file included from include/linux/timer.h:5,
  857. from include/linux/sched.h:81,
  858. from arch/arm/kernel/asm-offsets.c:13:
  859. include/linux/ktime.h:48:5: warning: "BITS_PER_LONG" is not defined
  860. include/linux/ktime.h:60:6: warning: "BITS_PER_LONG" is not defined
  861. include/linux/ktime.h:70:6: warning: "BITS_PER_LONG" is not defined
  862. include/linux/ktime.h: In function ‘ktime_set’:
  863. include/linux/ktime.h:144: error: unknown field ‘tv’ specified in initializer
  864. include/linux/ktime.h:144: error: extra brace group at end of initializer
  865. include/linux/ktime.h:144: error: (near initialization for ‘(anonymous)’)
  866. include/linux/ktime.h:144: warning: excess elements in union initializer
  867. include/linux/ktime.h:144: warning: (near initialization for ‘(anonymous)’)
  868. include/linux/ktime.h: In function ‘ktime_sub’:
  869. include/linux/ktime.h:158: error: ‘ktime_t’ has no member named ‘tv64’
  870. include/linux/ktime.h:158: error: ‘ktime_t’ has no member named ‘tv64’
  871. include/linux/ktime.h:158: error: ‘ktime_t’ has no member named ‘tv64’
  872. include/linux/ktime.h:159: error: ‘ktime_t’ has no member named ‘tv’
  873. include/linux/ktime.h:160: error: ‘ktime_t’ has no member named ‘tv’
  874. include/linux/ktime.h: In function ‘ktime_add’:
  875. include/linux/ktime.h:176: error: ‘ktime_t’ has no member named ‘tv64’
  876. include/linux/ktime.h:176: error: ‘ktime_t’ has no member named ‘tv64’
  877. include/linux/ktime.h:176: error: ‘ktime_t’ has no member named ‘tv64’
  878. include/linux/ktime.h:185: error: ‘ktime_t’ has no member named ‘tv’
  879. include/linux/ktime.h:186: error: ‘ktime_t’ has no member named ‘tv64’
  880. include/linux/ktime.h:186: error: ‘u32’ undeclared (first use in this function)
  881. include/linux/ktime.h: At top level:
  882. include/linux/ktime.h:198: error: expected declaration specifiers or ‘...’ before ‘u64’
  883. include/linux/ktime.h: In function ‘timespec_to_ktime’:
  884. include/linux/ktime.h:208: error: unknown field ‘tv’ specified in initializer
  885. include/linux/ktime.h:208: error: extra brace group at end of initializer
  886. include/linux/ktime.h:208: error: (near initialization for ‘(anonymous)’)
  887. include/linux/ktime.h:208: error: ‘s32’ undeclared (first use in this function)
  888. include/linux/ktime.h:208: error: expected ‘}’ before ‘ts’
  889. include/linux/ktime.h: In function ‘timeval_to_ktime’:
  890. include/linux/ktime.h:220: error: unknown field ‘tv’ specified in initializer
  891. include/linux/ktime.h:220: error: extra brace group at end of initializer
  892. include/linux/ktime.h:220: error: (near initialization for ‘(anonymous)’)
  893. include/linux/ktime.h:220: error: ‘s32’ undeclared (first use in this function)
  894. include/linux/ktime.h:220: error: expected ‘}’ before ‘tv’
  895. include/linux/ktime.h: In function ‘ktime_to_timespec’:
  896. include/linux/ktime.h:232: error: unknown field ‘tv_sec’ specified in initializer
  897. include/linux/ktime.h:232: error: ‘time_t’ undeclared (first use in this function)
  898. include/linux/ktime.h:232: warning: excess elements in struct initializer
  899. include/linux/ktime.h:232: warning: (near initialization for ‘(anonymous)’)
  900. include/linux/ktime.h:232: error: expected ‘}’ before ‘kt’
  901. include/linux/ktime.h: In function ‘ktime_to_timeval’:
  902. include/linux/ktime.h:245: error: unknown field ‘tv_sec’ specified in initializer
  903. include/linux/ktime.h:245: error: ‘time_t’ undeclared (first use in this function)
  904. include/linux/ktime.h:245: warning: excess elements in struct initializer
  905. include/linux/ktime.h:245: warning: (near initialization for ‘(anonymous)’)
  906. include/linux/ktime.h:245: error: expected ‘}’ before ‘kt’
  907. include/linux/ktime.h: At top level:
  908. include/linux/ktime.h:255: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ktime_to_ns’
  909. In file included from include/linux/sched.h:82,
  910. from arch/arm/kernel/asm-offsets.c:13:
  911. include/linux/hrtimer.h:162: error: expected specifier-qualifier-list before ‘clockid_t’
  912. include/linux/hrtimer.h: In function ‘hrtimer_cb_get_time’:
  913. include/linux/hrtimer.h:253: error: ‘struct hrtimer_clock_base’ has no member named ‘get_time’
  914. In file included from include/linux/sched.h:82,
  915. from arch/arm/kernel/asm-offsets.c:13:
  916. include/linux/hrtimer.h:292:7: warning: "BITS_PER_LONG" is not defined
  917. include/linux/hrtimer.h: At top level:
  918. include/linux/hrtimer.h:301: error: expected declaration specifiers or ‘...’ before ‘clockid_t’
  919. include/linux/hrtimer.h:324: warning: type defaults to ‘int’ in declaration of ‘clockid_t’
  920. include/linux/hrtimer.h:324: error: expected ‘;’, ‘,’ or ‘)’ before ‘which_clock’
  921. include/linux/hrtimer.h:347: warning: type defaults to ‘int’ in declaration of ‘clockid_t’
  922. include/linux/hrtimer.h:347: error: expected ‘;’, ‘,’ or ‘)’ before ‘clockid’
  923. In file included from include/linux/sched.h:107,
  924. from arch/arm/kernel/asm-offsets.c:13:
  925. include/linux/ltt-facilities.h:30: error: expected specifier-qualifier-list before ‘size_t’
  926. In file included from arch/arm/kernel/asm-offsets.c:13:
  927. include/linux/sched.h:145: error: expected declaration specifiers or ‘...’ before ‘process_counts’
  928. include/linux/sched.h:145: warning: data definition has no type or storage class
  929. include/linux/sched.h:145: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’
  930. In file included from include/linux/aio.h:6,
  931. from include/linux/sched.h:394,
  932. from arch/arm/kernel/asm-offsets.c:13:
  933. include/linux/aio_abi.h:48: error: expected specifier-qualifier-list before ‘__u64’
  934. In file included from include/linux/aio.h:6,
  935. from include/linux/sched.h:394,
  936. from arch/arm/kernel/asm-offsets.c:13:
  937. include/linux/aio_abi.h:59:2: error: #error edit for your odd byteorder.
  938. include/linux/aio_abi.h:70: error: expected specifier-qualifier-list before ‘__u64’
  939. In file included from include/linux/sched.h:394,
  940. from arch/arm/kernel/asm-offsets.c:13:
  941. include/linux/aio.h:94: error: expected specifier-qualifier-list before ‘ssize_t’
  942. include/linux/aio.h:172: error: expected specifier-qualifier-list before ‘atomic_t’
  943. include/linux/aio.h:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wait_on_sync_kiocb’
  944. include/linux/aio.h: In function ‘list_kiocb’:
  945. include/linux/aio.h:243: error: ‘struct kiocb’ has no member named ‘ki_list’
  946. include/linux/aio.h:243: warning: type defaults to ‘int’ in declaration of ‘__mptr’
  947. include/linux/aio.h:243: warning: initialization from incompatible pointer type
  948. include/linux/aio.h:243: error: ‘struct kiocb’ has no member named ‘ki_list’
  949. In file included from arch/arm/kernel/asm-offsets.c:13:
  950. include/linux/sched.h: At top level:
  951. include/linux/sched.h:456: error: expected specifier-qualifier-list before ‘pgd_t’
  952. include/linux/sched.h:508: error: expected specifier-qualifier-list before ‘atomic_t’
  953. include/linux/sched.h:517: error: expected specifier-qualifier-list before ‘cputime_t’
  954. include/linux/sched.h:529: error: expected specifier-qualifier-list before ‘atomic_t’
  955. include/linux/sched.h:663: error: expected specifier-qualifier-list before ‘atomic_t’
  956. include/linux/sched.h:685: warning: parameter names (without types) in function declaration
  957. include/linux/sched.h:868: error: expected specifier-qualifier-list before ‘atomic_t’
  958. include/linux/sched.h:892: error: expected declaration specifiers or ‘...’ before ‘gid_t’
  959. include/linux/sched.h:919: error: expected specifier-qualifier-list before ‘atomic_t’
  960. include/linux/sched.h:1187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘process_group’
  961. include/linux/sched.h: In function ‘pid_alive’:
  962. include/linux/sched.h:1202: error: ‘struct task_struct’ has no member named ‘pids’
  963. include/linux/sched.h: In function ‘put_task_struct’:
  964. include/linux/sched.h:1221: warning: implicit declaration of function ‘atomic_dec_and_test’
  965. include/linux/sched.h:1221: error: ‘struct task_struct’ has no member named ‘usage’
  966. include/linux/sched.h: In function ‘set_cpus_allowed’:
  967. include/linux/sched.h:1290: error: ‘EINVAL’ undeclared (first use in this function)
  968. include/linux/sched.h: At top level:
  969. include/linux/sched.h:1347: error: field ‘thread_info’ has incomplete type
  970. include/linux/sched.h:1348: error: ‘THREAD_SIZE’ undeclared here (not in a function)
  971. include/linux/sched.h:1368: error: expected ‘)’ before ‘session’
  972. include/linux/sched.h:1369: error: expected ‘)’ before ‘session’
  973. include/linux/sched.h:1372: warning: parameter names (without types) in function declaration
  974. include/linux/sched.h: In function ‘get_uid’:
  975. include/linux/sched.h:1375: error: ‘struct user_struct’ has no member named ‘__count’
  976. include/linux/sched.h: At top level:
  977. include/linux/sched.h:1400: warning: parameter names (without types) in function declaration
  978. include/linux/sched.h:1401: warning: parameter names (without types) in function declaration
  979. include/linux/sched.h:1406: error: expected declaration specifiers or ‘...’ before ‘sigset_t’
  980. include/linux/sched.h:1406: error: expected declaration specifiers or ‘...’ before ‘siginfo_t’
  981. include/linux/sched.h:1408: error: expected declaration specifiers or ‘...’ before ‘sigset_t’
  982. include/linux/sched.h:1408: error: expected declaration specifiers or ‘...’ before ‘siginfo_t’
  983. include/linux/sched.h: In function ‘dequeue_signal_lock’:
  984. include/linux/sched.h:1413: error: ‘struct task_struct’ has no member named ‘sighand’
  985. include/linux/sched.h:1413: warning: type defaults to ‘int’ in declaration of ‘type name’
  986. include/linux/sched.h:1413: error: invalid type argument of ‘->’
  987. include/linux/sched.h:1413: error: ‘struct task_struct’ has no member named ‘sighand’
  988. include/linux/sched.h:1413: error: ‘struct task_struct’ has no member named ‘sighand’
  989. include/linux/sched.h:1413: warning: type defaults to ‘int’ in declaration of ‘type name’
  990. include/linux/sched.h:1413: error: ‘struct task_struct’ has no member named ‘sighand’
  991. include/linux/sched.h:1414: error: ‘mask’ undeclared (first use in this function)
  992. include/linux/sched.h:1414: error: ‘info’ undeclared (first use in this function)
  993. include/linux/sched.h:1414: error: too many arguments to function ‘dequeue_signal’
  994. include/linux/sched.h:1415: error: ‘struct task_struct’ has no member named ‘sighand’
  995. include/linux/sched.h:1415: warning: type defaults to ‘int’ in declaration of ‘type name’
  996. include/linux/sched.h:1415: error: invalid type argument of ‘->’
  997. include/linux/sched.h:1415: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  998. include/linux/sched.h:1415: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  999. include/linux/sched.h:1415: error: ‘struct task_struct’ has no member named ‘sighand’
  1000. include/linux/sched.h:1415: error: ‘struct task_struct’ has no member named ‘sighand’
  1001. include/linux/sched.h:1415: warning: type defaults to ‘int’ in declaration of ‘type name’
  1002. include/linux/sched.h: At top level:
  1003. include/linux/sched.h:1421: error: expected declaration specifiers or ‘...’ before ‘sigset_t’
  1004. include/linux/sched.h:1424: warning: ‘struct siginfo’ declared inside parameter list
  1005. include/linux/sched.h:1425: warning: ‘struct siginfo’ declared inside parameter list
  1006. include/linux/sched.h:1427: warning: ‘struct siginfo’ declared inside parameter list
  1007. include/linux/sched.h:1428: error: expected declaration specifiers or ‘...’ before ‘pid_t’
  1008. include/linux/sched.h:1428: warning: ‘struct siginfo’ declared inside parameter list
  1009. include/linux/sched.h:1429: error: expected declaration specifiers or ‘...’ before ‘pid_t’
  1010. include/linux/sched.h:1429: warning: ‘struct siginfo’ declared inside parameter list
  1011. include/linux/sched.h:1430: error: expected declaration specifiers or ‘...’ before ‘pid_t’
  1012. include/linux/sched.h:1430: warning: ‘struct siginfo’ declared inside parameter list
  1013. include/linux/sched.h:1431: error: expected declaration specifiers or ‘...’ before ‘pid_t’
  1014. include/linux/sched.h:1431: error: expected declaration specifiers or ‘...’ before ‘uid_t’
  1015. include/linux/sched.h:1431: error: expected declaration specifiers or ‘...’ before ‘uid_t’
  1016. include/linux/sched.h:1431: error: expected declaration specifiers or ‘...’ before ‘u32’
  1017. include/linux/sched.h:1431: warning: ‘struct siginfo’ declared inside parameter list
  1018. include/linux/sched.h:1437: error: expected ‘)’ before ‘int’
  1019. include/linux/sched.h:1438: error: expected ‘)’ before ‘int’
  1020. include/linux/sched.h:1443: warning: ‘struct k_sigaction’ declared inside parameter list
  1021. include/linux/sched.h:1444: warning: type defaults to ‘int’ in declaration of ‘stack_t’
  1022. include/linux/sched.h:1444: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  1023. include/linux/sched.h:1451: warning: ‘struct siginfo’ declared inside parameter list
  1024. include/linux/sched.h: In function ‘on_sig_stack’:
  1025. include/linux/sched.h:1460: error: ‘current’ undeclared (first use in this function)
  1026. include/linux/sched.h: In function ‘sas_ss_flags’:
  1027. include/linux/sched.h:1465: error: ‘current’ undeclared (first use in this function)
  1028. include/linux/sched.h:1465: error: ‘SS_DISABLE’ undeclared (first use in this function)
  1029. include/linux/sched.h:1466: error: ‘SS_ONSTACK’ undeclared (first use in this function)
  1030. include/linux/sched.h: In function ‘mmdrop’:
  1031. include/linux/sched.h:1480: error: ‘struct mm_struct’ has no member named ‘mm_count’
  1032. include/linux/sched.h: In function ‘mmdrop_delayed’:
  1033. include/linux/sched.h:1486: error: ‘struct mm_struct’ has no member named ‘mm_count’
  1034. include/linux/sched.h: In function ‘next_thread’:
  1035. include/linux/sched.h:1549: error: ‘struct task_struct’ has no member named ‘thread_group’
  1036. include/linux/sched.h:1549: warning: type defaults to ‘int’ in declaration of ‘__mptr’
  1037. include/linux/sched.h:1549: error: ‘const struct task_struct’ has no member named ‘thread_group’
  1038. include/linux/sched.h:1549: warning: type defaults to ‘int’ in declaration of ‘_________p1’
  1039. include/linux/sched.h:1549: error: ‘const struct task_struct’ has no member named ‘thread_group’
  1040. include/linux/sched.h:1549: warning: implicit declaration of function ‘smp_read_barrier_depends’
  1041. include/linux/sched.h:1549: warning: initialization makes pointer from integer without a cast
  1042. include/linux/sched.h:1549: error: ‘struct task_struct’ has no member named ‘thread_group’
  1043. include/linux/sched.h: In function ‘thread_group_empty’:
  1044. include/linux/sched.h:1555: error: ‘struct task_struct’ has no member named ‘thread_group’
  1045. include/linux/sched.h: In function ‘task_lock’:
  1046. include/linux/sched.h:1572: error: ‘struct task_struct’ has no member named ‘alloc_lock’
  1047. include/linux/sched.h:1572: warning: type defaults to ‘int’ in declaration of ‘type name’
  1048. include/linux/sched.h:1572: error: invalid type argument of ‘->’
  1049. include/linux/sched.h:1572: error: ‘struct task_struct’ has no member named ‘alloc_lock’
  1050. include/linux/sched.h:1572: error: ‘struct task_struct’ has no member named ‘alloc_lock’
  1051. include/linux/sched.h:1572: warning: type defaults to ‘int’ in declaration of ‘type name’
  1052. include/linux/sched.h: In function ‘task_unlock’:
  1053. include/linux/sched.h:1577: error: ‘struct task_struct’ has no member named ‘alloc_lock’
  1054. include/linux/sched.h:1577: warning: type defaults to ‘int’ in declaration of ‘type name’
  1055. include/linux/sched.h:1577: error: invalid type argument of ‘->’
  1056. include/linux/sched.h:1577: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1057. include/linux/sched.h:1577: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1058. include/linux/sched.h:1577: error: ‘struct task_struct’ has no member named ‘alloc_lock’
  1059. include/linux/sched.h:1577: error: ‘struct task_struct’ has no member named ‘alloc_lock’
  1060. include/linux/sched.h:1577: warning: type defaults to ‘int’ in declaration of ‘type name’
  1061. include/linux/sched.h: In function ‘unlock_task_sighand’:
  1062. include/linux/sched.h:1586: error: ‘struct task_struct’ has no member named ‘sighand’
  1063. include/linux/sched.h:1586: warning: type defaults to ‘int’ in declaration of ‘type name’
  1064. include/linux/sched.h:1586: error: invalid type argument of ‘->’
  1065. include/linux/sched.h:1586: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1066. include/linux/sched.h:1586: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1067. include/linux/sched.h:1586: error: ‘struct task_struct’ has no member named ‘sighand’
  1068. include/linux/sched.h:1586: error: ‘struct task_struct’ has no member named ‘sighand’
  1069. include/linux/sched.h:1586: warning: type defaults to ‘int’ in declaration of ‘type name’
  1070. include/linux/sched.h: In function ‘setup_thread_stack’:
  1071. include/linux/sched.h:1596: error: dereferencing pointer to incomplete type
  1072. include/linux/sched.h:1596: error: dereferencing pointer to incomplete type
  1073. include/linux/sched.h:1597: error: dereferencing pointer to incomplete type
  1074. include/linux/sched.h: In function ‘end_of_stack’:
  1075. include/linux/sched.h:1602: error: invalid use of undefined type ‘struct thread_info’
  1076. include/linux/sched.h: In function ‘set_tsk_thread_flag’:
  1077. include/linux/sched.h:1612: warning: passing argument 1 of ‘set_ti_thread_flag’ from incompatible pointer type
  1078. include/linux/sched.h: In function ‘clear_tsk_thread_flag’:
  1079. include/linux/sched.h:1617: warning: passing argument 1 of ‘clear_ti_thread_flag’ from incompatible pointer type
  1080. include/linux/sched.h: In function ‘test_and_set_tsk_thread_flag’:
  1081. include/linux/sched.h:1622: warning: passing argument 1 of ‘test_and_set_ti_thread_flag’ from incompatible pointer type
  1082. include/linux/sched.h: In function ‘test_and_clear_tsk_thread_flag’:
  1083. include/linux/sched.h:1627: warning: passing argument 1 of ‘test_and_clear_ti_thread_flag’ from incompatible pointer type
  1084. include/linux/sched.h: In function ‘test_tsk_thread_flag’:
  1085. include/linux/sched.h:1632: warning: passing argument 1 of ‘test_ti_thread_flag’ from incompatible pointer type
  1086. include/linux/sched.h: In function ‘set_tsk_need_resched’:
  1087. include/linux/sched.h:1637: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1088. include/linux/sched.h: In function ‘clear_tsk_need_resched’:
  1089. include/linux/sched.h:1642: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1090. include/linux/sched.h: In function ‘signal_pending’:
  1091. include/linux/sched.h:1647: error: ‘TIF_SIGPENDING’ undeclared (first use in this function)
  1092. include/linux/sched.h: In function ‘_need_resched’:
  1093. include/linux/sched.h:1652: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1094. include/linux/sched.h:1652: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1095. include/linux/sched.h: In function ‘set_tsk_need_resched_delayed’:
  1096. include/linux/sched.h:1663: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared (first use in this function)
  1097. include/linux/sched.h: In function ‘clear_tsk_need_resched_delayed’:
  1098. include/linux/sched.h:1668: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared (first use in this function)
  1099. include/linux/sched.h: In function ‘need_resched_delayed’:
  1100. include/linux/sched.h:1673: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared (first use in this function)
  1101. include/linux/sched.h:1673: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1102. include/linux/sched.h: In function ‘hardirq_need_resched’:
  1103. include/linux/sched.h:1708: error: ‘current’ undeclared (first use in this function)
  1104. include/linux/sched.h: In function ‘arch_pick_mmap_layout’:
  1105. include/linux/sched.h:1784: error: ‘TASK_UNMAPPED_BASE’ undeclared (first use in this function)
  1106. include/linux/sched.h: At top level:
  1107. include/linux/sched.h:1790: error: expected ‘)’ before ‘pid’
  1108. include/linux/sched.h:1791: error: expected ‘)’ before ‘pid’
  1109. In file included from include/linux/kobject.h:22,
  1110. from include/linux/sysdev.h:24,
  1111. from include/linux/sched.h:1793,
  1112. from arch/arm/kernel/asm-offsets.c:13:
  1113. include/linux/sysfs.h:21: error: expected specifier-qualifier-list before ‘mode_t’
  1114. include/linux/sysfs.h:55: error: expected specifier-qualifier-list before ‘size_t’
  1115. include/linux/sysfs.h:64: error: expected specifier-qualifier-list before ‘ssize_t’
  1116. include/linux/sysfs.h:69: error: expected specifier-qualifier-list before ‘atomic_t’
  1117. include/linux/sysfs.h:105: error: expected declaration specifiers or ‘...’ before ‘mode_t’
  1118. In file included from include/linux/kobject.h:25,
  1119. from include/linux/sysdev.h:24,
  1120. from include/linux/sched.h:1793,
  1121. from arch/arm/kernel/asm-offsets.c:13:
  1122. include/linux/kref.h:24: error: expected specifier-qualifier-list before ‘atomic_t’
  1123. In file included from include/linux/sysdev.h:24,
  1124. from include/linux/sched.h:1793,
  1125. from arch/arm/kernel/asm-offsets.c:13:
  1126. include/linux/kobject.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uevent_seqnum’
  1127. include/linux/kobject.h:257: error: expected specifier-qualifier-list before ‘ssize_t’
  1128. In file included from include/linux/sched.h:1793,
  1129. from arch/arm/kernel/asm-offsets.c:13:
  1130. include/linux/sysdev.h:42: error: expected specifier-qualifier-list before ‘ssize_t’
  1131. include/linux/sysdev.h:85: error: expected specifier-qualifier-list before ‘u32’
  1132. include/linux/sysdev.h:96: error: expected specifier-qualifier-list before ‘ssize_t’
  1133. In file included from arch/arm/kernel/asm-offsets.c:13:
  1134. include/linux/sched.h: In function ‘freeze’:
  1135. include/linux/sched.h:1870: warning: implicit declaration of function ‘BUG’
  1136. In file included from include/linux/fs.h:10,
  1137. from include/linux/mm.h:15,
  1138. from arch/arm/kernel/asm-offsets.c:14:
  1139. include/linux/ioctl.h:4:23: error: asm/ioctl.h: No such file or directory
  1140. In file included from include/linux/fs.h:228,
  1141. from include/linux/mm.h:15,
  1142. from arch/arm/kernel/asm-offsets.c:14:
  1143. include/linux/kdev_t.h: At top level:
  1144. include/linux/kdev_t.h:21: error: expected ‘)’ before ‘dev’
  1145. include/linux/kdev_t.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘old_encode_dev’
  1146. include/linux/kdev_t.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘old_decode_dev’
  1147. include/linux/kdev_t.h:36: error: expected ‘)’ before ‘dev’
  1148. include/linux/kdev_t.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘new_encode_dev’
  1149. include/linux/kdev_t.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘new_decode_dev’
  1150. include/linux/kdev_t.h:55: error: expected ‘)’ before ‘dev’
  1151. include/linux/kdev_t.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘huge_encode_dev’
  1152. include/linux/kdev_t.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘huge_decode_dev’
  1153. include/linux/kdev_t.h:70: error: expected ‘)’ before ‘dev’
  1154. include/linux/kdev_t.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sysv_encode_dev’
  1155. include/linux/kdev_t.h:80: error: expected ‘)’ before ‘dev’
  1156. include/linux/kdev_t.h:85: error: expected ‘)’ before ‘dev’
  1157. In file included from include/linux/fs.h:229,
  1158. from include/linux/mm.h:15,
  1159. from arch/arm/kernel/asm-offsets.c:14:
  1160. include/linux/dcache.h:83: error: expected specifier-qualifier-list before ‘atomic_t’
  1161. include/linux/dcache.h:135: warning: ‘struct inode’ declared inside parameter list
  1162. include/linux/dcache.h: In function ‘__d_drop’:
  1163. include/linux/dcache.h:199: error: ‘struct dentry’ has no member named ‘d_flags’
  1164. include/linux/dcache.h:200: error: ‘struct dentry’ has no member named ‘d_flags’
  1165. include/linux/dcache.h:201: error: ‘struct dentry’ has no member named ‘d_hash’
  1166. include/linux/dcache.h: In function ‘d_drop’:
  1167. include/linux/dcache.h:207: error: invalid type argument of ‘->’
  1168. include/linux/dcache.h:208: error: ‘struct dentry’ has no member named ‘d_lock’
  1169. include/linux/dcache.h:208: warning: type defaults to ‘int’ in declaration of ‘type name’
  1170. include/linux/dcache.h:208: error: invalid type argument of ‘->’
  1171. include/linux/dcache.h:208: error: ‘struct dentry’ has no member named ‘d_lock’
  1172. include/linux/dcache.h:208: error: ‘struct dentry’ has no member named ‘d_lock’
  1173. include/linux/dcache.h:208: warning: type defaults to ‘int’ in declaration of ‘type name’
  1174. include/linux/dcache.h:210: error: ‘struct dentry’ has no member named ‘d_lock’
  1175. include/linux/dcache.h:210: warning: type defaults to ‘int’ in declaration of ‘type name’
  1176. include/linux/dcache.h:210: error: invalid type argument of ‘->’
  1177. include/linux/dcache.h:210: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1178. include/linux/dcache.h:210: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1179. include/linux/dcache.h:210: error: ‘struct dentry’ has no member named ‘d_lock’
  1180. include/linux/dcache.h:210: error: ‘struct dentry’ has no member named ‘d_lock’
  1181. include/linux/dcache.h:210: warning: type defaults to ‘int’ in declaration of ‘type name’
  1182. include/linux/dcache.h:211: error: invalid type argument of ‘->’
  1183. include/linux/dcache.h:211: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1184. include/linux/dcache.h: In function ‘dname_external’:
  1185. include/linux/dcache.h:216: error: ‘struct dentry’ has no member named ‘d_name’
  1186. include/linux/dcache.h:216: error: ‘struct dentry’ has no member named ‘d_iname’
  1187. include/linux/dcache.h: At top level:
  1188. include/linux/dcache.h:222: warning: ‘struct inode’ declared inside parameter list
  1189. include/linux/dcache.h:223: warning: ‘struct inode’ declared inside parameter list
  1190. include/linux/dcache.h:228: warning: ‘struct inode’ declared inside parameter list
  1191. include/linux/dcache.h:229: warning: ‘struct inode’ declared inside parameter list
  1192. include/linux/dcache.h:230: warning: ‘struct super_block’ declared inside parameter list
  1193. include/linux/dcache.h:235: warning: ‘struct inode’ declared inside parameter list
  1194. include/linux/dcache.h:240: warning: ‘struct inode’ declared inside parameter list
  1195. include/linux/dcache.h:241: warning: ‘struct inode’ declared inside parameter list
  1196. include/linux/dcache.h:260: warning: ‘struct inode’ declared inside parameter list
  1197. include/linux/dcache.h: In function ‘d_add’:
  1198. include/linux/dcache.h:262: warning: passing argument 2 of ‘d_instantiate’ from incompatible pointer type
  1199. include/linux/dcache.h: At top level:
  1200. include/linux/dcache.h:274: warning: ‘struct inode’ declared inside parameter list
  1201. include/linux/dcache.h: In function ‘d_add_unique’:
  1202. include/linux/dcache.h:278: warning: passing argument 2 of ‘d_instantiate_unique’ from incompatible pointer type
  1203. include/linux/dcache.h: In function ‘dget’:
  1204. include/linux/dcache.h:314: error: ‘struct dentry’ has no member named ‘d_count’
  1205. include/linux/dcache.h:315: error: ‘struct dentry’ has no member named ‘d_count’
  1206. include/linux/dcache.h: In function ‘d_unhashed’:
  1207. include/linux/dcache.h:331: error: ‘struct dentry’ has no member named ‘d_flags’
  1208. include/linux/dcache.h: In function ‘dget_parent’:
  1209. include/linux/dcache.h:338: error: ‘struct dentry’ has no member named ‘d_lock’
  1210. include/linux/dcache.h:338: warning: type defaults to ‘int’ in declaration of ‘type name’
  1211. include/linux/dcache.h:338: error: invalid type argument of ‘->’
  1212. include/linux/dcache.h:338: error: ‘struct dentry’ has no member named ‘d_lock’
  1213. include/linux/dcache.h:338: error: ‘struct dentry’ has no member named ‘d_lock’
  1214. include/linux/dcache.h:338: warning: type defaults to ‘int’ in declaration of ‘type name’
  1215. include/linux/dcache.h:339: error: ‘struct dentry’ has no member named ‘d_parent’
  1216. include/linux/dcache.h:340: error: ‘struct dentry’ has no member named ‘d_lock’
  1217. include/linux/dcache.h:340: warning: type defaults to ‘int’ in declaration of ‘type name’
  1218. include/linux/dcache.h:340: error: invalid type argument of ‘->’
  1219. include/linux/dcache.h:340: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1220. include/linux/dcache.h:340: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1221. include/linux/dcache.h:340: error: ‘struct dentry’ has no member named ‘d_lock’
  1222. include/linux/dcache.h:340: error: ‘struct dentry’ has no member named ‘d_lock’
  1223. include/linux/dcache.h:340: warning: type defaults to ‘int’ in declaration of ‘type name’
  1224. include/linux/dcache.h: In function ‘d_mountpoint’:
  1225. include/linux/dcache.h:348: error: ‘struct dentry’ has no member named ‘d_mounted’
  1226. In file included from include/linux/fs.h:230,
  1227. from include/linux/mm.h:15,
  1228. from arch/arm/kernel/asm-offsets.c:14:
  1229. include/linux/stat.h:6:22: error: asm/stat.h: No such file or directory
  1230. In file included from include/linux/fs.h:230,
  1231. from include/linux/mm.h:15,
  1232. from arch/arm/kernel/asm-offsets.c:14:
  1233. include/linux/stat.h: At top level:
  1234. include/linux/stat.h:61: error: expected specifier-qualifier-list before ‘dev_t’
  1235. In file included from include/linux/fs.h:234,
  1236. from include/linux/mm.h:15,
  1237. from arch/arm/kernel/asm-offsets.c:14:
  1238. include/linux/radix-tree.h: In function ‘radix_tree_preload_end’:
  1239. include/linux/radix-tree.h:86: error: invalid type argument of ‘->’
  1240. include/linux/radix-tree.h:86: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1241. include/linux/radix-tree.h:86: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1242. In file included from include/linux/mm.h:15,
  1243. from arch/arm/kernel/asm-offsets.c:14:
  1244. include/linux/fs.h: At top level:
  1245. include/linux/fs.h:261: warning: ‘struct inode’ declared inside parameter list
  1246. include/linux/fs.h:262: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1247. include/linux/fs.h:263: error: expected declaration specifiers or ‘...’ before ‘ssize_t’
  1248. include/linux/fs.h:295: error: expected specifier-qualifier-list before ‘umode_t’
  1249. In file included from include/linux/fs.h:314,
  1250. from include/linux/mm.h:15,
  1251. from arch/arm/kernel/asm-offsets.c:14:
  1252. include/linux/quota.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qid_t’
  1253. include/linux/quota.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qsize_t’
  1254. include/linux/quota.h:106: error: expected specifier-qualifier-list before ‘__u64’
  1255. include/linux/quota.h:127: error: expected specifier-qualifier-list before ‘__u64’
  1256. In file included from include/linux/quota.h:137,
  1257. from include/linux/fs.h:314,
  1258. from include/linux/mm.h:15,
  1259. from arch/arm/kernel/asm-offsets.c:14:
  1260. include/linux/dqblk_xfs.h:51: error: expected specifier-qualifier-list before ‘__s8’
  1261. include/linux/dqblk_xfs.h:138: error: expected specifier-qualifier-list before ‘__u64’
  1262. include/linux/dqblk_xfs.h:144: error: expected specifier-qualifier-list before ‘__s8’
  1263. In file included from include/linux/fs.h:314,
  1264. from include/linux/mm.h:15,
  1265. from arch/arm/kernel/asm-offsets.c:14:
  1266. include/linux/quota.h:152: error: expected specifier-qualifier-list before ‘__u32’
  1267. include/linux/quota.h:219: error: expected specifier-qualifier-list before ‘atomic_t’
  1268. include/linux/quota.h:247: warning: ‘struct inode’ declared inside parameter list
  1269. include/linux/quota.h:248: warning: ‘struct inode’ declared inside parameter list
  1270. include/linux/quota.h:249: error: expected declaration specifiers or ‘...’ before ‘qsize_t’
  1271. include/linux/quota.h:249: warning: ‘struct inode’ declared inside parameter list
  1272. include/linux/quota.h:250: warning: ‘struct inode’ declared inside parameter list
  1273. include/linux/quota.h:251: error: expected declaration specifiers or ‘...’ before ‘qsize_t’
  1274. include/linux/quota.h:251: warning: ‘struct inode’ declared inside parameter list
  1275. include/linux/quota.h:252: warning: ‘struct inode’ declared inside parameter list
  1276. include/linux/quota.h:253: warning: ‘struct inode’ declared inside parameter list
  1277. include/linux/quota.h:268: error: expected declaration specifiers or ‘...’ before ‘qid_t’
  1278. include/linux/quota.h:269: error: expected declaration specifiers or ‘...’ before ‘qid_t’
  1279. include/linux/quota.h:272: error: expected declaration specifiers or ‘...’ before ‘qid_t’
  1280. include/linux/quota.h:273: error: expected declaration specifiers or ‘...’ before ‘qid_t’
  1281. In file included from include/linux/mm.h:15,
  1282. from arch/arm/kernel/asm-offsets.c:14:
  1283. include/linux/fs.h:378: error: expected specifier-qualifier-list before ‘ssize_t’
  1284. include/linux/fs.h:413: error: expected specifier-qualifier-list before ‘dev_t’
  1285. In file included from include/linux/mm.h:15,
  1286. from arch/arm/kernel/asm-offsets.c:14:
  1287. include/linux/fs.h:489:5: warning: "BITS_PER_LONG" is not defined
  1288. include/linux/fs.h:503: error: expected specifier-qualifier-list before ‘atomic_t’
  1289. include/linux/fs.h:594: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘i_size_read’
  1290. include/linux/fs.h:596:5: warning: "BITS_PER_LONG" is not defined
  1291. include/linux/fs.h:605:7: warning: "BITS_PER_LONG" is not defined
  1292. include/linux/fs.h:618: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1293. include/linux/fs.h:620:5: warning: "BITS_PER_LONG" is not defined
  1294. include/linux/fs.h:624:7: warning: "BITS_PER_LONG" is not defined
  1295. include/linux/fs.h: In function ‘i_size_write’:
  1296. include/linux/fs.h:629: error: ‘struct inode’ has no member named ‘i_size’
  1297. include/linux/fs.h:629: error: ‘i_size’ undeclared (first use in this function)
  1298. include/linux/fs.h: In function ‘iminor’:
  1299. include/linux/fs.h:635: error: ‘struct inode’ has no member named ‘i_rdev’
  1300. include/linux/fs.h: In function ‘imajor’:
  1301. include/linux/fs.h:640: error: ‘struct inode’ has no member named ‘i_rdev’
  1302. include/linux/fs.h: At top level:
  1303. include/linux/fs.h:648: error: expected specifier-qualifier-list before ‘uid_t’
  1304. include/linux/fs.h:683: error: expected specifier-qualifier-list before ‘atomic_t’
  1305. include/linux/fs.h:715:5: warning: "BITS_PER_LONG" is not defined
  1306. include/linux/fs.h:717:7: warning: "BITS_PER_LONG" is not defined
  1307. include/linux/fs.h:739: warning: ‘struct file_lock’ declared inside parameter list
  1308. include/linux/fs.h:740: warning: ‘struct file_lock’ declared inside parameter list
  1309. include/linux/fs.h:741: warning: ‘struct file_lock’ declared inside parameter list
  1310. include/linux/fs.h:742: warning: ‘struct file_lock’ declared inside parameter list
  1311. include/linux/fs.h:746: warning: ‘struct file_lock’ declared inside parameter list
  1312. include/linux/fs.h:747: warning: ‘struct file_lock’ declared inside parameter list
  1313. include/linux/fs.h:748: warning: ‘struct file_lock’ declared inside parameter list
  1314. include/linux/fs.h:749: warning: ‘struct file_lock’ declared inside parameter list
  1315. include/linux/fs.h:750: warning: ‘struct file_lock’ declared inside parameter list
  1316. include/linux/fs.h:751: warning: ‘struct file_lock’ declared inside parameter list
  1317. include/linux/fs.h:752: warning: ‘struct file_lock’ declared inside parameter list
  1318. In file included from include/linux/nfs.h:130,
  1319. from include/linux/nfs_fs_i.h:6,
  1320. from include/linux/fs.h:756,
  1321. from include/linux/mm.h:15,
  1322. from arch/arm/kernel/asm-offsets.c:14:
  1323. include/linux/sunrpc/msg_prot.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rpc_authflavor_t’
  1324. include/linux/sunrpc/msg_prot.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rpc_fraghdr’
  1325. In file included from include/linux/nfs_fs_i.h:6,
  1326. from include/linux/fs.h:756,
  1327. from include/linux/mm.h:15,
  1328. from arch/arm/kernel/asm-offsets.c:14:
  1329. include/linux/nfs.h: In function ‘nfs_compare_fh’:
  1330. include/linux/nfs.h:148: error: too many arguments to function ‘memcmp’
  1331. include/linux/nfs.h: In function ‘nfs_copy_fh’:
  1332. include/linux/nfs.h:154: error: too many arguments to function ‘memcpy’
  1333. In file included from include/linux/fs.h:756,
  1334. from include/linux/mm.h:15,
  1335. from arch/arm/kernel/asm-offsets.c:14:
  1336. include/linux/nfs_fs_i.h: At top level:
  1337. include/linux/nfs_fs_i.h:14: error: expected specifier-qualifier-list before ‘u32’
  1338. In file included from include/linux/mm.h:15,
  1339. from arch/arm/kernel/asm-offsets.c:14:
  1340. include/linux/fs.h:768: error: expected specifier-qualifier-list before ‘loff_t’
  1341. In file included from include/linux/fs.h:789,
  1342. from include/linux/mm.h:15,
  1343. from arch/arm/kernel/asm-offsets.c:14:
  1344. include/linux/fcntl.h:4:23: error: asm/fcntl.h: No such file or directory
  1345. include/linux/fcntl.h:40:5: warning: "BITS_PER_LONG" is not defined
  1346. In file included from include/linux/mm.h:15,
  1347. from arch/arm/kernel/asm-offsets.c:14:
  1348. include/linux/fs.h:791: warning: ‘struct flock’ declared inside parameter list
  1349. include/linux/fs.h:793: warning: ‘struct flock’ declared inside parameter list
  1350. In file included from include/linux/mm.h:15,
  1351. from arch/arm/kernel/asm-offsets.c:14:
  1352. include/linux/fs.h:795:5: warning: "BITS_PER_LONG" is not defined
  1353. include/linux/fs.h:806: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1354. include/linux/fs.h:806: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1355. include/linux/fs.h:824: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1356. include/linux/fs.h:825: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1357. include/linux/fs.h:862: error: expected specifier-qualifier-list before ‘dev_t’
  1358. include/linux/fs.h: In function ‘get_fs_excl’:
  1359. include/linux/fs.h:928: error: ‘current’ undeclared (first use in this function)
  1360. include/linux/fs.h: In function ‘put_fs_excl’:
  1361. include/linux/fs.h:933: warning: implicit declaration of function ‘atomic_dec’
  1362. include/linux/fs.h:933: error: ‘current’ undeclared (first use in this function)
  1363. include/linux/fs.h: In function ‘has_fs_excl’:
  1364. include/linux/fs.h:938: error: ‘current’ undeclared (first use in this function)
  1365. include/linux/fs.h: In function ‘lock_super’:
  1366. include/linux/fs.h:948: error: ‘struct super_block’ has no member named ‘s_lock’
  1367. include/linux/fs.h: In function ‘unlock_super’:
  1368. include/linux/fs.h:954: error: ‘struct super_block’ has no member named ‘s_lock’
  1369. include/linux/fs.h: At top level:
  1370. include/linux/fs.h:963: error: expected declaration specifiers or ‘...’ before ‘dev_t’
  1371. include/linux/fs.h:1007: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1372. include/linux/fs.h:1007: error: expected declaration specifiers or ‘...’ before ‘ino_t’
  1373. include/linux/fs.h:1016: warning: ‘struct gendisk’ declared inside parameter list
  1374. include/linux/fs.h:1017: warning: ‘struct gendisk’ declared inside parameter list
  1375. include/linux/fs.h:1032: error: expected specifier-qualifier-list before ‘size_t’
  1376. include/linux/fs.h:1056: error: expected specifier-qualifier-list before ‘loff_t’
  1377. include/linux/fs.h:1094: error: expected declaration specifiers or ‘...’ before ‘dev_t’
  1378. include/linux/fs.h:1104: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1379. include/linux/fs.h:1105: error: expected specifier-qualifier-list before ‘ssize_t’
  1380. include/linux/fs.h:1113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vfs_read’
  1381. include/linux/fs.h:1114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vfs_write’
  1382. include/linux/fs.h:1115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vfs_readv’
  1383. include/linux/fs.h:1117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vfs_writev’
  1384. include/linux/fs.h:1148: error: expected specifier-qualifier-list before ‘ssize_t’
  1385. include/linux/fs.h: In function ‘inode_inc_link_count’:
  1386. include/linux/fs.h:1178: error: ‘struct inode’ has no member named ‘i_nlink’
  1387. include/linux/fs.h: In function ‘inode_dec_link_count’:
  1388. include/linux/fs.h:1184: error: ‘struct inode’ has no member named ‘i_nlink’
  1389. include/linux/fs.h: In function ‘file_accessed’:
  1390. include/linux/fs.h:1191: error: ‘struct file’ has no member named ‘f_flags’
  1391. include/linux/fs.h:1191: error: ‘O_NOATIME’ undeclared (first use in this function)
  1392. include/linux/fs.h: At top level:
  1393. include/linux/fs.h:1284: error: expected declaration specifiers or ‘...’ before ‘__u32’
  1394. include/linux/fs.h:1287: error: expected declaration specifiers or ‘...’ before ‘__u32’
  1395. include/linux/fs.h:1380: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1396. include/linux/fs.h:1380: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1397. include/linux/fs.h: In function ‘locks_verify_locked’:
  1398. include/linux/fs.h:1391: error: ‘struct inode’ has no member named ‘i_sb’
  1399. include/linux/fs.h:1391: error: ‘struct inode’ has no member named ‘i_mode’
  1400. include/linux/fs.h: At top level:
  1401. include/linux/fs.h:1396: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1402. include/linux/fs.h:1396: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1403. include/linux/fs.h:1400: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1404. include/linux/fs.h: In function ‘locks_verify_truncate’:
  1405. include/linux/fs.h:1402: error: ‘struct inode’ has no member named ‘i_flock’
  1406. include/linux/fs.h:1402: error: ‘struct inode’ has no member named ‘i_sb’
  1407. include/linux/fs.h:1402: error: ‘struct inode’ has no member named ‘i_mode’
  1408. include/linux/fs.h:1405: error: ‘size’ undeclared (first use in this function)
  1409. include/linux/fs.h:1405: error: ‘struct inode’ has no member named ‘i_size’
  1410. include/linux/fs.h:1405: error: ‘struct inode’ has no member named ‘i_size’
  1411. include/linux/fs.h:1406: error: ‘struct inode’ has no member named ‘i_size’
  1412. include/linux/fs.h:1406: error: ‘struct inode’ has no member named ‘i_size’
  1413. include/linux/fs.h:1407: error: ‘struct inode’ has no member named ‘i_size’
  1414. include/linux/fs.h:1408: error: too many arguments to function ‘locks_mandatory_area’
  1415. include/linux/fs.h: In function ‘break_lease’:
  1416. include/linux/fs.h:1414: error: ‘struct inode’ has no member named ‘i_flock’
  1417. include/linux/fs.h: At top level:
  1418. include/linux/fs.h:1421: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1419. include/linux/fs.h:1444: warning: parameter names (without types) in function declaration
  1420. include/linux/fs.h:1445: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1421. include/linux/fs.h:1448: error: expected ‘)’ before ‘unsigned’
  1422. include/linux/fs.h:1449: error: expected ‘)’ before ‘unsigned’
  1423. include/linux/fs.h:1458: error: expected declaration specifiers or ‘...’ before ‘mode_t’
  1424. include/linux/fs.h:1464: warning: ‘struct gendisk’ declared inside parameter list
  1425. include/linux/fs.h:1465: warning: ‘struct gendisk’ declared inside parameter list
  1426. include/linux/fs.h:1473: error: expected ‘)’ before ‘*’ token
  1427. include/linux/fs.h:1474: error: expected ‘)’ before ‘unsigned’
  1428. include/linux/fs.h:1478: error: expected ‘)’ before ‘unsigned’
  1429. include/linux/fs.h:1480: error: expected declaration specifiers or ‘...’ before ‘off_t’
  1430. include/linux/fs.h:1485: error: expected ‘)’ before ‘char’
  1431. include/linux/fs.h:1490: error: expected declaration specifiers or ‘...’ before ‘off_t’
  1432. include/linux/fs.h:1492: error: expected declaration specifiers or ‘...’ before ‘umode_t’
  1433. include/linux/fs.h:1492: error: expected declaration specifiers or ‘...’ before ‘dev_t’
  1434. include/linux/fs.h:1517: warning: ‘struct gendisk’ declared inside parameter list
  1435. include/linux/fs.h: In function ‘invalidate_remote_inode’:
  1436. include/linux/fs.h:1523: error: ‘struct inode’ has no member named ‘i_mode’
  1437. include/linux/fs.h:1523: error: ‘struct inode’ has no member named ‘i_mode’
  1438. include/linux/fs.h:1524: error: ‘struct inode’ has no member named ‘i_mode’
  1439. include/linux/fs.h:1525: error: ‘struct inode’ has no member named ‘i_mapping’
  1440. include/linux/fs.h: At top level:
  1441. include/linux/fs.h:1536: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1442. include/linux/fs.h:1536: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1443. include/linux/fs.h:1540: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1444. include/linux/fs.h:1540: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1445. include/linux/fs.h: In function ‘put_write_access’:
  1446. include/linux/fs.h:1559: error: ‘struct inode’ has no member named ‘i_writecount’
  1447. include/linux/fs.h: In function ‘allow_write_access’:
  1448. include/linux/fs.h:1564: error: ‘struct dentry’ has no member named ‘d_inode’
  1449. include/linux/fs.h: At top level:
  1450. include/linux/fs.h:1579: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘find_inode_number’
  1451. In file included from include/linux/mm.h:15,
  1452. from arch/arm/kernel/asm-offsets.c:14:
  1453. include/linux/fs.h:1584: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘default_llseek’
  1454. include/linux/fs.h:1586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vfs_llseek’
  1455. include/linux/fs.h:1591: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘iunique’
  1456. include/linux/fs.h: In function ‘iget’:
  1457. include/linux/fs.h:1611: error: ‘struct inode’ has no member named ‘i_state’
  1458. include/linux/fs.h:1612: error: ‘struct super_block’ has no member named ‘s_op’
  1459. include/linux/fs.h: At top level:
  1460. include/linux/fs.h:1646: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_read’
  1461. include/linux/fs.h:1647: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1462. include/linux/fs.h:1647: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1463. include/linux/fs.h:1648: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_write’
  1464. include/linux/fs.h:1649: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_aio_read’
  1465. include/linux/fs.h:1650: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__generic_file_aio_read’
  1466. include/linux/fs.h:1651: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_aio_write’
  1467. include/linux/fs.h:1652: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_aio_write_nolock’
  1468. include/linux/fs.h:1654: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_direct_write’
  1469. include/linux/fs.h:1656: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_buffered_write’
  1470. include/linux/fs.h:1658: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_sync_read’
  1471. include/linux/fs.h:1659: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_sync_write’
  1472. include/linux/fs.h:1660: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_write_nolock’
  1473. include/linux/fs.h:1662: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_sendfile’
  1474. include/linux/fs.h:1665: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1475. include/linux/fs.h:1668: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_splice_read’
  1476. include/linux/fs.h:1670: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_splice_write’
  1477. include/linux/fs.h:1672: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_splice_sendpage’
  1478. include/linux/fs.h:1674: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1479. include/linux/fs.h:1675: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1480. include/linux/fs.h:1679: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_readv’
  1481. include/linux/fs.h:1681: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_writev’
  1482. include/linux/fs.h:1683: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘no_llseek’
  1483. include/linux/fs.h:1684: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_file_llseek’
  1484. include/linux/fs.h:1685: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘remote_llseek’
  1485. include/linux/fs.h:1690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xip_file_read’
  1486. include/linux/fs.h:1692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xip_file_sendfile’
  1487. include/linux/fs.h:1696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xip_file_write’
  1488. include/linux/fs.h:1698: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1489. include/linux/fs.h:1706: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1490. include/linux/fs.h: In function ‘do_generic_file_read’:
  1491. include/linux/fs.h:1710: error: ‘struct file’ has no member named ‘f_mapping’
  1492. include/linux/fs.h:1711: error: ‘struct file’ has no member named ‘f_ra’
  1493. include/linux/fs.h:1713: error: ‘ppos’ undeclared (first use in this function)
  1494. include/linux/fs.h:1715: warning: passing argument 5 of ‘do_generic_mapping_read’ from incompatible pointer type
  1495. include/linux/fs.h:1715: error: too many arguments to function ‘do_generic_mapping_read’
  1496. include/linux/fs.h: At top level:
  1497. include/linux/fs.h:1718: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__blockdev_direct_IO’
  1498. include/linux/fs.h:1729: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘blockdev_direct_IO’
  1499. include/linux/fs.h:1738: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘blockdev_direct_IO_no_locking’
  1500. include/linux/fs.h:1747: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘blockdev_direct_IO_own_locking’
  1501. include/linux/fs.h:1772: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1502. include/linux/fs.h:1773: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1503. include/linux/fs.h:1774: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘inode_get_bytes’
  1504. include/linux/fs.h:1775: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1505. include/linux/fs.h:1789: warning: parameter names (without types) in function declaration
  1506. include/linux/fs.h:1794: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dcache_dir_lseek’
  1507. include/linux/fs.h:1811: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘generic_read_dir’
  1508. include/linux/fs.h:1820: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘simple_read_from_buffer’
  1509. include/linux/fs.h:1834: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parent_ino’
  1510. include/linux/fs.h:1854: error: expected specifier-qualifier-list before ‘ssize_t’
  1511. include/linux/fs.h:1861: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1512. include/linux/fs.h:1862: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘simple_transaction_read’
  1513. include/linux/fs.h:1866: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1514. include/linux/fs.h: In function ‘simple_transaction_set’:
  1515. include/linux/fs.h:1868: error: ‘struct file’ has no member named ‘private_data’
  1516. include/linux/fs.h:1870: error: ‘n’ undeclared (first use in this function)
  1517. include/linux/fs.h:1870: error: ‘PAGE_SIZE’ undeclared (first use in this function)
  1518. include/linux/fs.h:1876: warning: implicit declaration of function ‘smp_mb’
  1519. include/linux/fs.h:1877: error: ‘struct simple_transaction_argresp’ has no member named ‘size’
  1520. include/linux/fs.h: At top level:
  1521. include/linux/fs.h:1917: error: expected declaration specifiers or ‘...’ before ‘u64’
  1522. include/linux/fs.h:1917: error: expected declaration specifiers or ‘...’ before ‘u64’
  1523. include/linux/fs.h:1920: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘simple_attr_read’
  1524. include/linux/fs.h:1922: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘simple_attr_write’
  1525. In file included from arch/arm/kernel/asm-offsets.c:14:
  1526. include/linux/mm.h:38:25: error: asm/pgtable.h: No such file or directory
  1527. In file included from arch/arm/kernel/asm-offsets.c:14:
  1528. include/linux/mm.h:67: error: expected specifier-qualifier-list before ‘pgprot_t’
  1529. include/linux/mm.h:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘protection_map’
  1530. include/linux/mm.h:200: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
  1531. include/linux/mm.h:226: error: expected specifier-qualifier-list before ‘atomic_t’
  1532. In file included from include/linux/mm.h:279,
  1533. from arch/arm/kernel/asm-offsets.c:14:
  1534. include/linux/page-flags.h:90:6: warning: "BITS_PER_LONG" is not defined
  1535. In file included from arch/arm/kernel/asm-offsets.c:14:
  1536. include/linux/mm.h: In function ‘put_page_testzero’:
  1537. include/linux/mm.h:300: error: ‘struct page’ has no member named ‘_count’
  1538. include/linux/mm.h:301: error: ‘struct page’ has no member named ‘_count’
  1539. include/linux/mm.h: In function ‘get_page_unless_zero’:
  1540. include/linux/mm.h:310: warning: implicit declaration of function ‘atomic_inc_not_zero’
  1541. include/linux/mm.h:310: error: ‘struct page’ has no member named ‘_count’
  1542. include/linux/mm.h: In function ‘page_count’:
  1543. include/linux/mm.h:318: error: ‘struct page’ has no member named ‘private’
  1544. include/linux/mm.h:319: error: ‘struct page’ has no member named ‘_count’
  1545. include/linux/mm.h: In function ‘get_page’:
  1546. include/linux/mm.h:325: error: ‘struct page’ has no member named ‘private’
  1547. include/linux/mm.h:326: error: ‘struct page’ has no member named ‘_count’
  1548. include/linux/mm.h: In function ‘init_page_count’:
  1549. include/linux/mm.h:335: warning: implicit declaration of function ‘atomic_set’
  1550. include/linux/mm.h:335: error: ‘struct page’ has no member named ‘_count’
  1551. In file included from arch/arm/kernel/asm-offsets.c:14:
  1552. include/linux/mm.h:419:47: warning: "FLAGS_RESERVED" is not defined
  1553. include/linux/mm.h:457:46: warning: "FLAGS_RESERVED" is not defined
  1554. include/linux/mm.h:458:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > FLAGS_RESERVED
  1555. include/linux/mm.h: In function ‘page_to_nid’:
  1556. include/linux/mm.h:488: error: ‘struct zone’ has no member named ‘zone_pgdat’
  1557. In file included from include/linux/mm.h:522,
  1558. from arch/arm/kernel/asm-offsets.c:14:
  1559. include/linux/vmstat.h: At top level:
  1560. include/linux/vmstat.h:40: error: expected declaration specifiers or ‘...’ before ‘vm_event_states’
  1561. include/linux/vmstat.h:40: warning: data definition has no type or storage class
  1562. include/linux/vmstat.h:40: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’
  1563. include/linux/vmstat.h:40: error: conflicting types for ‘DECLARE_PER_CPU’
  1564. include/linux/sched.h:145: error: previous declaration of ‘DECLARE_PER_CPU’ was here
  1565. include/linux/vmstat.h: In function ‘__count_vm_event’:
  1566. include/linux/vmstat.h:48: warning: implicit declaration of function ‘__get_cpu_var’
  1567. include/linux/vmstat.h:48: error: ‘vm_event_states’ undeclared (first use in this function)
  1568. include/linux/vmstat.h:48: error: request for member ‘event’ in something not a structure or union
  1569. include/linux/vmstat.h: In function ‘count_vm_event’:
  1570. include/linux/vmstat.h:54: error: invalid type argument of ‘->’
  1571. include/linux/vmstat.h:54: error: ‘vm_event_states’ undeclared (first use in this function)
  1572. include/linux/vmstat.h:54: error: lvalue required as unary ‘&’ operand
  1573. include/linux/vmstat.h:55: error: invalid type argument of ‘->’
  1574. include/linux/vmstat.h:55: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1575. include/linux/vmstat.h:55: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1576. include/linux/vmstat.h: In function ‘__count_vm_events’:
  1577. include/linux/vmstat.h:64: error: ‘vm_event_states’ undeclared (first use in this function)
  1578. include/linux/vmstat.h:64: error: request for member ‘event’ in something not a structure or union
  1579. include/linux/vmstat.h: In function ‘count_vm_events’:
  1580. include/linux/vmstat.h:70: error: invalid type argument of ‘->’
  1581. include/linux/vmstat.h:70: error: ‘vm_event_states’ undeclared (first use in this function)
  1582. include/linux/vmstat.h:70: error: lvalue required as unary ‘&’ operand
  1583. include/linux/vmstat.h:71: error: invalid type argument of ‘->’
  1584. include/linux/vmstat.h:71: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function)
  1585. include/linux/vmstat.h:71: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast
  1586. include/linux/vmstat.h: At top level:
  1587. include/linux/vmstat.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_stat’
  1588. include/linux/vmstat.h: In function ‘zone_page_state_add’:
  1589. include/linux/vmstat.h:100: warning: implicit declaration of function ‘atomic_long_add’
  1590. include/linux/vmstat.h:100: error: ‘struct zone’ has no member named ‘vm_stat’
  1591. include/linux/vmstat.h:101: error: ‘vm_stat’ undeclared (first use in this function)
  1592. include/linux/vmstat.h: In function ‘global_page_state’:
  1593. include/linux/vmstat.h:106: warning: implicit declaration of function ‘atomic_long_read’
  1594. include/linux/vmstat.h:106: error: ‘vm_stat’ undeclared (first use in this function)
  1595. include/linux/vmstat.h: In function ‘zone_page_state’:
  1596. include/linux/vmstat.h:117: error: ‘struct zone’ has no member named ‘vm_stat’
  1597. include/linux/vmstat.h: In function ‘zap_zone_vm_stats’:
  1598. include/linux/vmstat.h:168: error: ‘struct zone’ has no member named ‘vm_stat’
  1599. include/linux/vmstat.h:168: error: ‘struct zone’ has no member named ‘vm_stat’
  1600. include/linux/vmstat.h:168: error: too many arguments to function ‘memset’
  1601. include/linux/vmstat.h: In function ‘__inc_zone_state’:
  1602. include/linux/vmstat.h:201: warning: implicit declaration of function ‘atomic_long_inc’
  1603. include/linux/vmstat.h:201: error: ‘struct zone’ has no member named ‘vm_stat’
  1604. include/linux/vmstat.h:202: error: ‘vm_stat’ undeclared (first use in this function)
  1605. include/linux/vmstat.h: In function ‘__dec_zone_page_state’:
  1606. include/linux/vmstat.h:214: warning: implicit declaration of function ‘atomic_long_dec’
  1607. include/linux/vmstat.h:214: error: ‘struct zone’ has no member named ‘vm_stat’
  1608. include/linux/vmstat.h:215: error: ‘vm_stat’ undeclared (first use in this function)
  1609. In file included from arch/arm/kernel/asm-offsets.c:14:
  1610. include/linux/mm.h: In function ‘lowmem_page_address’:
  1611. include/linux/mm.h:531: warning: implicit declaration of function ‘__va’
  1612. include/linux/mm.h:531: warning: implicit declaration of function ‘page_to_pfn’
  1613. include/linux/mm.h:531: error: ‘PAGE_SHIFT’ undeclared (first use in this function)
  1614. include/linux/mm.h:531: warning: return makes pointer from integer without a cast
  1615. include/linux/mm.h: In function ‘page_mapping’:
  1616. include/linux/mm.h:573: error: ‘struct page’ has no member named ‘mapping’
  1617. include/linux/mm.h: In function ‘PageAnon’:
  1618. include/linux/mm.h:584: error: ‘struct page’ has no member named ‘mapping’
  1619. include/linux/mm.h: In function ‘page_index’:
  1620. include/linux/mm.h:594: error: ‘struct page’ has no member named ‘private’
  1621. include/linux/mm.h:595: error: ‘struct page’ has no member named ‘index’
  1622. include/linux/mm.h: In function ‘reset_page_mapcount’:
  1623. include/linux/mm.h:605: error: ‘struct page’ has no member named ‘_mapcount’
  1624. include/linux/mm.h: In function ‘page_mapcount’:
  1625. include/linux/mm.h:610: error: ‘struct page’ has no member named ‘_mapcount’
  1626. include/linux/mm.h: In function ‘page_mapped’:
  1627. include/linux/mm.h:618: error: ‘struct page’ has no member named ‘_mapcount’
  1628. include/linux/mm.h: At top level:
  1629. include/linux/mm.h:675: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1630. include/linux/mm.h: In function ‘can_do_mlock’:
  1631. include/linux/mm.h:692: error: ‘current’ undeclared (first use in this function)
  1632. include/linux/mm.h:692: error: ‘RLIMIT_MEMLOCK’ undeclared (first use in this function)
  1633. include/linux/mm.h: At top level:
  1634. include/linux/mm.h:696: error: expected ‘)’ before ‘struct’
  1635. include/linux/mm.h:697: error: expected ‘)’ before ‘struct’
  1636. include/linux/mm.h:711: error: expected declaration specifiers or ‘...’ before ‘pte_t’
  1637. include/linux/mm.h:725: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
  1638. include/linux/mm.h:727: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1639. include/linux/mm.h:727: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1640. include/linux/mm.h:730: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1641. include/linux/mm.h:730: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1642. include/linux/mm.h: In function ‘unmap_shared_mapping_range’:
  1643. include/linux/mm.h:732: error: ‘holebegin’ undeclared (first use in this function)
  1644. include/linux/mm.h:732: error: ‘holelen’ undeclared (first use in this function)
  1645. include/linux/mm.h:732: error: too many arguments to function ‘unmap_mapping_range’
  1646. include/linux/mm.h: At top level:
  1647. include/linux/mm.h:735: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1648. include/linux/mm.h:736: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1649. include/linux/mm.h:736: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1650. include/linux/mm.h:737: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
  1651. include/linux/mm.h:738: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
  1652. include/linux/mm.h:768: error: expected declaration specifiers or ‘...’ before ‘pte_t’
  1653. include/linux/mm.h:805: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  1654. include/linux/mm.h:807: error: expected declaration specifiers or ‘...’ before ‘pgd_t’
  1655. include/linux/mm.h:808: error: expected declaration specifiers or ‘...’ before ‘pud_t’
  1656. include/linux/mm.h:809: error: expected declaration specifiers or ‘...’ before ‘pmd_t’
  1657. include/linux/mm.h:810: error: expected ‘)’ before ‘*’ token
  1658. include/linux/mm.h:817: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  1659. include/linux/mm.h:823: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  1660. include/linux/mm.h: In function ‘vma_nonlinear_insert’:
  1661. include/linux/mm.h:909: error: ‘struct vm_area_struct’ has no member named ‘shared’
  1662. include/linux/mm.h:910: error: ‘struct vm_area_struct’ has no member named ‘shared’
  1663. include/linux/mm.h: In function ‘do_mmap’:
  1664. include/linux/mm.h:943: error: ‘EINVAL’ undeclared (first use in this function)
  1665. include/linux/mm.h:944: warning: implicit declaration of function ‘PAGE_ALIGN’
  1666. include/linux/mm.h:946: error: ‘PAGE_MASK’ undeclared (first use in this function)
  1667. include/linux/mm.h:947: error: ‘PAGE_SHIFT’ undeclared (first use in this function)
  1668. include/linux/mm.h: At top level:
  1669. include/linux/mm.h:952: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1670. include/linux/mm.h:958: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1671. include/linux/mm.h:960: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1672. include/linux/mm.h:960: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1673. include/linux/mm.h:965: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
  1674. include/linux/mm.h: In function ‘vma_pages’:
  1675. include/linux/mm.h:1013: error: ‘PAGE_SHIFT’ undeclared (first use in this function)
  1676. include/linux/mm.h: At top level:
  1677. include/linux/mm.h:1020: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
  1678. include/linux/mm.h: In function ‘kernel_map_pages’:
  1679. include/linux/mm.h:1045: error: ‘PAGE_SIZE’ undeclared (first use in this function)
  1680. include/linux/mm.h: At top level:
  1681. include/linux/mm.h:1062: error: expected declaration specifiers or ‘...’ before ‘size_t’
  1682. include/linux/mm.h:1062: error: expected declaration specifiers or ‘...’ before ‘loff_t’
  1683. arch/arm/kernel/asm-offsets.c:15:27: error: asm/mach/arch.h: No such file or directory
  1684. arch/arm/kernel/asm-offsets.c:17:24: error: asm/memory.h: No such file or directory
  1685. arch/arm/kernel/asm-offsets.c: In function ‘main’:
  1686. arch/arm/kernel/asm-offsets.c:46: error: ‘struct task_struct’ has no member named ‘active_mm’
  1687. arch/arm/kernel/asm-offsets.c:48: error: invalid use of undefined type ‘struct thread_info’
  1688. arch/arm/kernel/asm-offsets.c:49: error: invalid use of undefined type ‘struct thread_info’
  1689. arch/arm/kernel/asm-offsets.c:50: error: invalid use of undefined type ‘struct thread_info’
  1690. arch/arm/kernel/asm-offsets.c:51: error: invalid use of undefined type ‘struct thread_info’
  1691. arch/arm/kernel/asm-offsets.c:52: error: invalid use of undefined type ‘struct thread_info’
  1692. arch/arm/kernel/asm-offsets.c:53: error: invalid use of undefined type ‘struct thread_info’
  1693. arch/arm/kernel/asm-offsets.c:54: error: invalid use of undefined type ‘struct thread_info’
  1694. arch/arm/kernel/asm-offsets.c:55: error: invalid use of undefined type ‘struct thread_info’
  1695. arch/arm/kernel/asm-offsets.c:56: error: invalid use of undefined type ‘struct thread_info’
  1696. arch/arm/kernel/asm-offsets.c:57: error: invalid use of undefined type ‘struct thread_info’
  1697. arch/arm/kernel/asm-offsets.c:58: error: invalid use of undefined type ‘struct thread_info’
  1698. arch/arm/kernel/asm-offsets.c:59: error: invalid use of undefined type ‘struct thread_info’
  1699. arch/arm/kernel/asm-offsets.c:67: error: invalid use of undefined type ‘struct pt_regs’
  1700. arch/arm/kernel/asm-offsets.c:68: error: invalid use of undefined type ‘struct pt_regs’
  1701. arch/arm/kernel/asm-offsets.c:69: error: invalid use of undefined type ‘struct pt_regs’
  1702. arch/arm/kernel/asm-offsets.c:70: error: invalid use of undefined type ‘struct pt_regs’
  1703. arch/arm/kernel/asm-offsets.c:71: error: invalid use of undefined type ‘struct pt_regs’
  1704. arch/arm/kernel/asm-offsets.c:72: error: invalid use of undefined type ‘struct pt_regs’
  1705. arch/arm/kernel/asm-offsets.c:73: error: invalid use of undefined type ‘struct pt_regs’
  1706. arch/arm/kernel/asm-offsets.c:74: error: invalid use of undefined type ‘struct pt_regs’
  1707. arch/arm/kernel/asm-offsets.c:75: error: invalid use of undefined type ‘struct pt_regs’
  1708. arch/arm/kernel/asm-offsets.c:76: error: invalid use of undefined type ‘struct pt_regs’
  1709. arch/arm/kernel/asm-offsets.c:77: error: invalid use of undefined type ‘struct pt_regs’
  1710. arch/arm/kernel/asm-offsets.c:78: error: invalid use of undefined type ‘struct pt_regs’
  1711. arch/arm/kernel/asm-offsets.c:79: error: invalid use of undefined type ‘struct pt_regs’
  1712. arch/arm/kernel/asm-offsets.c:80: error: invalid use of undefined type ‘struct pt_regs’
  1713. arch/arm/kernel/asm-offsets.c:81: error: invalid use of undefined type ‘struct pt_regs’
  1714. arch/arm/kernel/asm-offsets.c:82: error: invalid use of undefined type ‘struct pt_regs’
  1715. arch/arm/kernel/asm-offsets.c:83: error: invalid use of undefined type ‘struct pt_regs’
  1716. arch/arm/kernel/asm-offsets.c:84: error: invalid use of undefined type ‘struct pt_regs’
  1717. arch/arm/kernel/asm-offsets.c:85: error: invalid application of ‘sizeof’ to incomplete type ‘struct pt_regs’
  1718. arch/arm/kernel/asm-offsets.c:92: error: ‘struct vm_area_struct’ has no member named ‘vm_flags’
  1719. arch/arm/kernel/asm-offsets.c:96: error: ‘PAGE_SIZE’ undeclared (first use in this function)
  1720. arch/arm/kernel/asm-offsets.c:100: error: invalid application of ‘sizeof’ to incomplete type ‘struct machine_desc’
  1721. arch/arm/kernel/asm-offsets.c:101: error: invalid use of undefined type ‘struct machine_desc’
  1722. arch/arm/kernel/asm-offsets.c:102: error: invalid use of undefined type ‘struct machine_desc’
  1723. arch/arm/kernel/asm-offsets.c:103: error: invalid use of undefined type ‘struct machine_desc’
  1724. arch/arm/kernel/asm-offsets.c:104: error: invalid use of undefined type ‘struct machine_desc’
  1725. arch/arm/kernel/asm-offsets.c:106: error: invalid application of ‘sizeof’ to incomplete type ‘struct proc_info_list’
  1726. arch/arm/kernel/asm-offsets.c:107: error: invalid use of undefined type ‘struct proc_info_list’
  1727. arch/arm/kernel/asm-offsets.c:108: error: invalid use of undefined type ‘struct proc_info_list’
  1728. arch/arm/kernel/asm-offsets.c:109: error: invalid use of undefined type ‘struct proc_info_list’
  1729. make[3]: *** [arch/arm/kernel/asm-offsets.s] Error 1
  1730. make[2]: *** [prepare0] Error 2
  1731. make[1]: *** [build] Error 2
  1732. make: *** [kernel_build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement