Advertisement
Guest User

Untitled

a guest
May 30th, 2019
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.71 KB | None | 0 0
  1. tnf@tnf-VirtualBox:~/Desktop/qmk$ Make finished with errors
  2. make chibios_test/teensy_lc_onekey
  3. Making chibios_test/teensy_lc_onekey with keymap default
  4.  
  5. arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620
  6. Copyright (C) 2016 Free Software Foundation, Inc.
  7. This is free software; see the source for copying conditions. There is NO
  8. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9.  
  10. Compiling: keyboards/chibios_test/teensy_lc_onekey/matrix.c In file included from ./lib/chibios/os/rt/include/ch.h:91:0,
  11. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  12. ./lib/chibios/os/rt/include/chchecks.h:48:2: error: #error "obsolete or unknown configuration file"
  13. #error "obsolete or unknown configuration file"
  14. ^~~~~
  15. ./lib/chibios/os/rt/include/chchecks.h:61:2: error: #error "CH_CFG_INTERVALS_SIZE not defined in chconf.h"
  16. #error "CH_CFG_INTERVALS_SIZE not defined in chconf.h"
  17. ^~~~~
  18. ./lib/chibios/os/rt/include/chchecks.h:65:2: error: #error "CH_CFG_TIME_TYPES_SIZE not defined in chconf.h"
  19. #error "CH_CFG_TIME_TYPES_SIZE not defined in chconf.h"
  20. ^~~~~
  21. ./lib/chibios/os/rt/include/chchecks.h:186:2: error: #error "CH_CFG_SYSTEM_INIT_HOOK not defined in chconf.h"
  22. #error "CH_CFG_SYSTEM_INIT_HOOK not defined in chconf.h"
  23. ^~~~~
  24. ./lib/chibios/os/rt/include/chchecks.h:190:2: error: #error "CH_CFG_SYSTEM_EXTRA_FIELDS not defined in chconf.h"
  25. #error "CH_CFG_SYSTEM_EXTRA_FIELDS not defined in chconf.h"
  26. ^~~~~
  27. In file included from ./lib/chibios/os/rt/include/ch.h:108:0,
  28. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  29. ./lib/chibios/os/rt/include/chtime.h:87:2: error: #error "invalid CH_CFG_INTERVALS_SIZE specified, must be 16, 32 or 64"
  30. #error "invalid CH_CFG_INTERVALS_SIZE specified, must be 16, 32 or 64"
  31. ^~~~~
  32. ./lib/chibios/os/rt/include/chtime.h:91:2: error: #error "invalid CH_CFG_TIME_TYPES_SIZE specified, must be 16 or 32"
  33. #error "invalid CH_CFG_TIME_TYPES_SIZE specified, must be 16 or 32"
  34. ^~~~~
  35. ./lib/chibios/os/rt/include/chtime.h:95:2: error: #error "CH_CFG_INTERVALS_SIZE must be >= CH_CFG_ST_RESOLUTION"
  36. #error "CH_CFG_INTERVALS_SIZE must be >= CH_CFG_ST_RESOLUTION"
  37. ^~~~~
  38. ./lib/chibios/os/rt/include/chtime.h:308:15: error: unknown type name 'sysinterval_t'
  39. static inline sysinterval_t chTimeS2I(time_secs_t secs) {
  40. ^~~~~~~~~~~~~
  41. In file included from ./lib/chibios/os/rt/include/ch.h:107:0,
  42. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  43. ./lib/chibios/os/rt/include/chtime.h: In function 'chTimeS2I':
  44. ./lib/chibios/os/rt/include/chtime.h:60:31: error: 'sysinterval_t' undeclared (first use in this function)
  45. #define TIME_MAX_INTERVAL ((sysinterval_t)-2)
  46. ^
  47. ./lib/chibios/os/rt/include/chdebug.h:130:11: note: in definition of macro 'chDbgAssert'
  48. if (!(c)) { \
  49. ^
  50. ./lib/chibios/os/rt/include/chtime.h:313:37: note: in expansion of macro 'TIME_MAX_INTERVAL'
  51. chDbgAssert(ticks <= (time_conv_t)TIME_MAX_INTERVAL,
  52. ^~~~~~~~~~~~~~~~~
  53. ./lib/chibios/os/rt/include/chtime.h:60:31: note: each undeclared identifier is reported only once for each function it appears in
  54. #define TIME_MAX_INTERVAL ((sysinterval_t)-2)
  55. ^
  56. ./lib/chibios/os/rt/include/chdebug.h:130:11: note: in definition of macro 'chDbgAssert'
  57. if (!(c)) { \
  58. ^
  59. ./lib/chibios/os/rt/include/chtime.h:313:37: note: in expansion of macro 'TIME_MAX_INTERVAL'
  60. chDbgAssert(ticks <= (time_conv_t)TIME_MAX_INTERVAL,
  61. ^~~~~~~~~~~~~~~~~
  62. In file included from ./lib/chibios/os/rt/include/ch.h:108:0,
  63. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  64. ./lib/chibios/os/rt/include/chtime.h:316:25: error: expected ';' before 'ticks'
  65. return (sysinterval_t)ticks;
  66. ^~~~~
  67. ./lib/chibios/os/rt/include/chtime.h: At top level:
  68. ./lib/chibios/os/rt/include/chtime.h:329:15: error: unknown type name 'sysinterval_t'
  69. static inline sysinterval_t chTimeMS2I(time_msecs_t msec) {
  70. ^~~~~~~~~~~~~
  71. In file included from ./lib/chibios/os/rt/include/ch.h:107:0,
  72. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  73. ./lib/chibios/os/rt/include/chtime.h: In function 'chTimeMS2I':
  74. ./lib/chibios/os/rt/include/chtime.h:60:31: error: 'sysinterval_t' undeclared (first use in this function)
  75. #define TIME_MAX_INTERVAL ((sysinterval_t)-2)
  76. ^
  77. ./lib/chibios/os/rt/include/chdebug.h:130:11: note: in definition of macro 'chDbgAssert'
  78. if (!(c)) { \
  79. ^
  80. ./lib/chibios/os/rt/include/chtime.h:335:37: note: in expansion of macro 'TIME_MAX_INTERVAL'
  81. chDbgAssert(ticks <= (time_conv_t)TIME_MAX_INTERVAL,
  82. ^~~~~~~~~~~~~~~~~
  83. In file included from ./lib/chibios/os/rt/include/ch.h:108:0,
  84. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  85. ./lib/chibios/os/rt/include/chtime.h:338:25: error: expected ';' before 'ticks'
  86. return (sysinterval_t)ticks;
  87. ^~~~~
  88. ./lib/chibios/os/rt/include/chtime.h: At top level:
  89. ./lib/chibios/os/rt/include/chtime.h:351:15: error: unknown type name 'sysinterval_t'
  90. static inline sysinterval_t chTimeUS2I(time_usecs_t usec) {
  91. ^~~~~~~~~~~~~
  92. In file included from ./lib/chibios/os/rt/include/ch.h:107:0,
  93. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  94. ./lib/chibios/os/rt/include/chtime.h: In function 'chTimeUS2I':
  95. ./lib/chibios/os/rt/include/chtime.h:60:31: error: 'sysinterval_t' undeclared (first use in this function)
  96. #define TIME_MAX_INTERVAL ((sysinterval_t)-2)
  97. ^
  98. ./lib/chibios/os/rt/include/chdebug.h:130:11: note: in definition of macro 'chDbgAssert'
  99. if (!(c)) { \
  100. ^
  101. ./lib/chibios/os/rt/include/chtime.h:357:37: note: in expansion of macro 'TIME_MAX_INTERVAL'
  102. chDbgAssert(ticks <= (time_conv_t)TIME_MAX_INTERVAL,
  103. ^~~~~~~~~~~~~~~~~
  104. In file included from ./lib/chibios/os/rt/include/ch.h:108:0,
  105. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  106. ./lib/chibios/os/rt/include/chtime.h:360:25: error: expected ';' before 'ticks'
  107. return (sysinterval_t)ticks;
  108. ^~~~~
  109. ./lib/chibios/os/rt/include/chtime.h: At top level:
  110. ./lib/chibios/os/rt/include/chtime.h:373:37: error: unknown type name 'sysinterval_t'
  111. static inline time_secs_t chTimeI2S(sysinterval_t interval) {
  112. ^~~~~~~~~~~~~
  113. ./lib/chibios/os/rt/include/chtime.h:396:39: error: unknown type name 'sysinterval_t'
  114. static inline time_msecs_t chTimeI2MS(sysinterval_t interval) {
  115. ^~~~~~~~~~~~~
  116. ./lib/chibios/os/rt/include/chtime.h:419:39: error: unknown type name 'sysinterval_t'
  117. static inline time_usecs_t chTimeI2US(sysinterval_t interval) {
  118. ^~~~~~~~~~~~~
  119. ./lib/chibios/os/rt/include/chtime.h:442:36: error: unknown type name 'sysinterval_t'
  120. sysinterval_t interval) {
  121. ^~~~~~~~~~~~~
  122. ./lib/chibios/os/rt/include/chtime.h:460:15: error: unknown type name 'sysinterval_t'
  123. static inline sysinterval_t chTimeDiffX(systime_t start, systime_t end) {
  124. ^~~~~~~~~~~~~
  125. ./lib/chibios/os/rt/include/chtime.h: In function 'chTimeDiffX':
  126. ./lib/chibios/os/rt/include/chtime.h:464:11: error: 'sysinterval_t' undeclared (first use in this function)
  127. return (sysinterval_t)((systime_t)(end - start));
  128. ^~~~~~~~~~~~~
  129. In file included from ./lib/chibios/os/common/ports/ARMCMx/chcore.h:193:0,
  130. from ./lib/chibios/os/rt/include/ch.h:110,
  131. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  132. ./lib/chibios/os/common/ports/ARMCMx/chcore_v6m.h: At top level:
  133. ./lib/chibios/os/common/ports/ARMCMx/chcore_v6m.h:132:2: error: #warning "This compiler has a know problem with Cortex-M0, see bugs: 88167, 88656." [-Werror=cpp]
  134. #warning "This compiler has a know problem with Cortex-M0, see bugs: 88167, 88656."
  135. ^~~~~~~
  136. ./lib/chibios/os/common/ports/ARMCMx/chcore_v6m.h:133:2: error: #warning "*** Use GCC version 5 or below ***" [-Werror=cpp]
  137. #warning "*** Use GCC version 5 or below ***"
  138. ^~~~~~~
  139. In file included from ./lib/chibios/os/rt/include/ch.h:114:0,
  140. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  141. ./lib/chibios/os/rt/include/chschd.h:316:3: error: unknown type name 'sysinterval_t'
  142. sysinterval_t delta; /**< @brief Time delta before timeout. */
  143. ^~~~~~~~~~~~~
  144. ./lib/chibios/os/rt/include/chschd.h:334:3: error: unknown type name 'sysinterval_t'
  145. sysinterval_t delta; /**< @brief Must be initialized to -1. */
  146. ^~~~~~~~~~~~~
  147. ./lib/chibios/os/rt/include/chschd.h:429:3: error: expected specifier-qualifier-list before 'CH_CFG_SYSTEM_EXTRA_FIELDS'
  148. CH_CFG_SYSTEM_EXTRA_FIELDS
  149. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  150. ./lib/chibios/os/rt/include/chschd.h:468:49: error: unknown type name 'sysinterval_t'
  151. msg_t chSchGoSleepTimeoutS(tstate_t newstate, sysinterval_t timeout);
  152. ^~~~~~~~~~~~~
  153. In file included from ./lib/chibios/os/rt/include/ch.h:116:0,
  154. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  155. ./lib/chibios/os/rt/include/chvt.h:75:41: error: unknown type name 'sysinterval_t'
  156. void chVTDoSetI(virtual_timer_t *vtp, sysinterval_t delay,
  157. ^~~~~~~~~~~~~
  158. ./lib/chibios/os/rt/include/chvt.h:152:15: error: unknown type name 'sysinterval_t'
  159. static inline sysinterval_t chVTTimeElapsedSinceX(systime_t start) {
  160. ^~~~~~~~~~~~~
  161. ./lib/chibios/os/rt/include/chvt.h:209:40: error: unknown type name 'sysinterval_t'
  162. static inline bool chVTGetTimersStateI(sysinterval_t *timep) {
  163. ^~~~~~~~~~~~~
  164. ./lib/chibios/os/rt/include/chvt.h:324:51: error: unknown type name 'sysinterval_t'
  165. static inline void chVTSetI(virtual_timer_t *vtp, sysinterval_t delay,
  166. ^~~~~~~~~~~~~
  167. ./lib/chibios/os/rt/include/chvt.h:353:50: error: unknown type name 'sysinterval_t'
  168. static inline void chVTSet(virtual_timer_t *vtp, sysinterval_t delay,
  169. ^~~~~~~~~~~~~
  170. ./lib/chibios/os/rt/include/chvt.h: In function 'chVTDoTickI':
  171. ./lib/chibios/os/rt/include/chvt.h:379:38: error: 'sysinterval_t' undeclared (first use in this function)
  172. while (ch.vtlist.next->delta == (sysinterval_t)0) {
  173. ^~~~~~~~~~~~~
  174. ./lib/chibios/os/rt/include/chvt.h:379:52: error: expected ')' before numeric constant
  175. while (ch.vtlist.next->delta == (sysinterval_t)0) {
  176. ^
  177. In file included from ./lib/chibios/os/rt/include/ch.h:117:0,
  178. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  179. ./lib/chibios/os/rt/include/chthreads.h: At top level:
  180. ./lib/chibios/os/rt/include/chthreads.h:246:55: error: unknown type name 'sysinterval_t'
  181. msg_t chThdSuspendTimeoutS(thread_reference_t *trp, sysinterval_t timeout);
  182. ^~~~~~~~~~~~~
  183. ./lib/chibios/os/rt/include/chthreads.h:250:52: error: unknown type name 'sysinterval_t'
  184. msg_t chThdEnqueueTimeoutS(threads_queue_t *tqp, sysinterval_t timeout);
  185. ^~~~~~~~~~~~~
  186. ./lib/chibios/os/rt/include/chthreads.h:253:19: error: unknown type name 'sysinterval_t'
  187. void chThdSleep(sysinterval_t time);
  188. ^~~~~~~~~~~~~
  189. ./lib/chibios/os/rt/include/chthreads.h:378:32: error: unknown type name 'sysinterval_t'
  190. static inline void chThdSleepS(sysinterval_t ticks) {
  191. ^~~~~~~~~~~~~
  192. In file included from ./lib/chibios/os/rt/include/ch.h:121:0,
  193. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  194. ./lib/chibios/os/rt/include/chsem.h:96:43: error: unknown type name 'sysinterval_t'
  195. msg_t chSemWaitTimeout(semaphore_t *sp, sysinterval_t timeout);
  196. ^~~~~~~~~~~~~
  197. ./lib/chibios/os/rt/include/chsem.h:97:44: error: unknown type name 'sysinterval_t'
  198. msg_t chSemWaitTimeoutS(semaphore_t *sp, sysinterval_t timeout);
  199. ^~~~~~~~~~~~~
  200. In file included from ./lib/chibios/os/rt/include/ch.h:123:0,
  201. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  202. ./lib/chibios/os/rt/include/chcond.h:101:53: error: unknown type name 'sysinterval_t'
  203. msg_t chCondWaitTimeout(condition_variable_t *cp, sysinterval_t timeout);
  204. ^~~~~~~~~~~~~
  205. ./lib/chibios/os/rt/include/chcond.h:102:54: error: unknown type name 'sysinterval_t'
  206. msg_t chCondWaitTimeoutS(condition_variable_t *cp, sysinterval_t timeout);
  207. ^~~~~~~~~~~~~
  208. In file included from ./lib/chibios/os/rt/include/ch.h:124:0,
  209. from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:
  210. ./lib/chibios/os/rt/include/chevents.h:144:55: error: unknown type name 'sysinterval_t'
  211. eventmask_t chEvtWaitOneTimeout(eventmask_t events, sysinterval_t timeout);
  212. ^~~~~~~~~~~~~
  213. ./lib/chibios/os/rt/include/chevents.h:145:55: error: unknown type name 'sysinterval_t'
  214. eventmask_t chEvtWaitAnyTimeout(eventmask_t events, sysinterval_t timeout);
  215. ^~~~~~~~~~~~~
  216. ./lib/chibios/os/rt/include/chevents.h:146:55: error: unknown type name 'sysinterval_t'
  217. eventmask_t chEvtWaitAllTimeout(eventmask_t events, sysinterval_t timeout);
  218. ^~~~~~~~~~~~~
  219. In file included from keyboards/chibios_test/teensy_lc_onekey/matrix.c:18:0:
  220. ./lib/chibios/os/rt/include/ch.h:128:19: fatal error: chlib.h: No such file or directory
  221.  
  222. ^
  223. cc1: all warnings being treated as errors
  224. compilation terminated.
  225. [ERRORS]
  226. |
  227. |
  228. |
  229. tmk_core/rules.mk:369: recipe for target '.build/obj_chibios_test_teensy_lc_onekey_default/matrix.o' failed
  230. make[1]: *** [.build/obj_chibios_test_teensy_lc_onekey_default/matrix.o] Error 1
  231. Makefile:535: recipe for target 'chibios_test/teensy_lc_onekey' failed
  232. make: *** [chibios_test/teensy_lc_onekey] Error 1
  233. tnf@tnf-VirtualBox:~/Desktop/qmk$ Make finished with errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement