Advertisement
Guest User

Errors

a guest
Apr 28th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.54 KB | None | 0 0
  1. Makefile:1489: warning: overriding recipe for target 'lib_a-mbtowc_r.o'
  2. Makefile:827: warning: ignoring old recipe for target 'lib_a-mbtowc_r.o'
  3. ../../../../../newlib/newlib/libc/stdlib/aligned_alloc.c: In function 'aligned_alloc':
  4. ../../../../../newlib/newlib/libc/stdlib/aligned_alloc.c:35:10: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
  5. error = posix_memalign(&p, alignment, size);
  6. ^
  7. ../../../../../newlib/newlib/libc/stdlib/quick_exit.c: In function 'quick_exit':
  8. ../../../../../newlib/newlib/libc/stdlib/quick_exit.c:80:2: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration]
  9. _exit(status);
  10. ^
  11. ../../../../../newlib/newlib/libc/stdlib/quick_exit.c:81:1: warning: 'noreturn' function does return
  12. }
  13. ^
  14. Makefile:1920: warning: overriding recipe for target 'lib_a-vfwscanf.o'
  15. Makefile:1622: warning: ignoring old recipe for target 'lib_a-vfwscanf.o'
  16. ../../../../../newlib/newlib/libc/string/gnu_basename.c: In function '__gnu_basename':
  17. ../../../../../newlib/newlib/libc/string/gnu_basename.c:23:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  18. return path;
  19. ^
  20. In file included from /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:42:0,
  21. from ../../../../../newlib/newlib/libc/time/time.c:38:
  22. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/_timeval.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
  23. struct timeval {
  24. ^
  25. In file included from ../../../../../newlib/newlib/libc/time/time.c:38:0:
  26. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'bintime2timeval':
  27. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:206:5: error: 'struct timeval' has no member named 'tv_sec'
  28. _tv->tv_sec = _bt->sec;
  29. ^
  30. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:207:5: error: 'struct timeval' has no member named 'tv_usec'
  31. _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
  32. ^
  33. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'timeval2bintime':
  34. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:214:16: error: 'const struct timeval' has no member named 'tv_sec'
  35. _bt->sec = _tv->tv_sec;
  36. ^
  37. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:216:17: error: 'const struct timeval' has no member named 'tv_usec'
  38. _bt->frac = _tv->tv_usec * (uint64_t)18446744073709LL;
  39. ^
  40. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'sbttotv':
  41. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:242:5: error: 'struct timeval' has no member named 'tv_sec'
  42. _tv.tv_sec = _sbt >> 32;
  43. ^
  44. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:243:5: error: 'struct timeval' has no member named 'tv_usec'
  45. _tv.tv_usec = ((uint64_t)1000000 * (uint32_t)_sbt) >> 32;
  46. ^
  47. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'tvtosbt':
  48. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:251:26: error: 'struct timeval' has no member named 'tv_sec'
  49. return (((sbintime_t)_tv.tv_sec << 32) +
  50. ^
  51. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:252:10: error: 'struct timeval' has no member named 'tv_usec'
  52. (_tv.tv_usec * (((uint64_t)1 << 63) / 500000) >> 32));
  53. ^
  54. ../../../../../newlib/newlib/libc/time/time.c: In function 'time':
  55. ../../../../../newlib/newlib/libc/time/time.c:49:10: error: 'struct timeval' has no member named 'tv_sec'
  56. *t = now.tv_sec;
  57. ^
  58. ../../../../../newlib/newlib/libc/time/time.c:50:17: error: 'struct timeval' has no member named 'tv_sec'
  59. return now.tv_sec;
  60. ^
  61. make[5]: *** [lib_a-time.o] Error 1
  62. In file included from /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:42:0,
  63. from ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:6:
  64. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/_timeval.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
  65. struct timeval {
  66. ^
  67. In file included from ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:6:0:
  68. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'bintime2timeval':
  69. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:206:5: error: 'struct timeval' has no member named 'tv_sec'
  70. _tv->tv_sec = _bt->sec;
  71. ^
  72. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:207:5: error: 'struct timeval' has no member named 'tv_usec'
  73. _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
  74. ^
  75. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'timeval2bintime':
  76. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:214:16: error: 'const struct timeval' has no member named 'tv_sec'
  77. _bt->sec = _tv->tv_sec;
  78. ^
  79. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:216:17: error: 'const struct timeval' has no member named 'tv_usec'
  80. _bt->frac = _tv->tv_usec * (uint64_t)18446744073709LL;
  81. ^
  82. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'sbttotv':
  83. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:242:5: error: 'struct timeval' has no member named 'tv_sec'
  84. _tv.tv_sec = _sbt >> 32;
  85. ^
  86. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:243:5: error: 'struct timeval' has no member named 'tv_usec'
  87. _tv.tv_usec = ((uint64_t)1000000 * (uint32_t)_sbt) >> 32;
  88. ^
  89. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'tvtosbt':
  90. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:251:26: error: 'struct timeval' has no member named 'tv_sec'
  91. return (((sbintime_t)_tv.tv_sec << 32) +
  92. ^
  93. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:252:10: error: 'struct timeval' has no member named 'tv_usec'
  94. (_tv.tv_usec * (((uint64_t)1 << 63) / 500000) >> 32));
  95. ^
  96. ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c: In function 'gettimeofday':
  97. ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:101:73: error: expected declaration specifiers before ')' token
  98. int gettimeofday (struct timeval *__restrict __p, void *__restrict __tz))
  99. ^
  100. ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:104:1: error: expected '{' at end of input
  101. }
  102. ^
  103. make[6]: *** [syscalls.o] Error 1
  104. make[6]: *** No rule to make target 'photonos/lib.a', needed by 'lib.a'. Stop.
  105. make[5]: *** [all-recursive] Error 1
  106. In file included from /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:42:0,
  107. from ../../../../../newlib/newlib/libc/reent/gettimeofdayr.c:8:
  108. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/_timeval.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
  109. struct timeval {
  110. ^
  111. In file included from ../../../../../newlib/newlib/libc/reent/gettimeofdayr.c:8:0:
  112. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'bintime2timeval':
  113. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:206:5: error: 'struct timeval' has no member named 'tv_sec'
  114. _tv->tv_sec = _bt->sec;
  115. ^
  116. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:207:5: error: 'struct timeval' has no member named 'tv_usec'
  117. _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
  118. ^
  119. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'timeval2bintime':
  120. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:214:16: error: 'const struct timeval' has no member named 'tv_sec'
  121. _bt->sec = _tv->tv_sec;
  122. ^
  123. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:216:17: error: 'const struct timeval' has no member named 'tv_usec'
  124. _bt->frac = _tv->tv_usec * (uint64_t)18446744073709LL;
  125. ^
  126. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'sbttotv':
  127. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:242:5: error: 'struct timeval' has no member named 'tv_sec'
  128. _tv.tv_sec = _sbt >> 32;
  129. ^
  130. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:243:5: error: 'struct timeval' has no member named 'tv_usec'
  131. _tv.tv_usec = ((uint64_t)1000000 * (uint32_t)_sbt) >> 32;
  132. ^
  133. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'tvtosbt':
  134. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:251:26: error: 'struct timeval' has no member named 'tv_sec'
  135. return (((sbintime_t)_tv.tv_sec << 32) +
  136. ^
  137. /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:252:10: error: 'struct timeval' has no member named 'tv_usec'
  138. (_tv.tv_usec * (((uint64_t)1 << 63) / 500000) >> 32));
  139. ^
  140. make[5]: *** [lib_a-gettimeofdayr.o] Error 1
  141. i686-photonos-ar: ../time/lib.a: No such file or directory
  142. i686-photonos-ar: ../reent/lib.a: No such file or directory
  143. i686-photonos-ar: ../sys/lib.a: No such file or directory
  144. cp: cannot stat 'sys/crt0.o': No such file or directory
  145. make[5]: *** [crt0.o] Error 1
  146. make[4]: *** [all-recursive] Error 1
  147. make[3]: *** [all-recursive] Error 1
  148. make[2]: *** [all] Error 2
  149. make[1]: *** [all-target-newlib] Error 2
  150. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement