Guest User

Untitled

a guest
Apr 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.24 KB | None | 0 0
  1. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\posix\cpio.c:1:10: fatal error: 'cpio.h' file not found
  2. [error] #include <cpio.h>
  3. [error] ^~~~~~~~
  4. [error] 1 error generated.
  5. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\complex.c:12:14: error: expected ';' after top level declarator
  6. [error] float complex toFloatComplex(float snfc[2]) { return *(float complex *)snfc; }
  7. [error] ^
  8. [error] ;
  9. [error] 1 error generated.
  10. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\posix\syslog.c:1:10: fatal error: 'syslog.h' file not found
  11. [error] #include <syslog.h>
  12. [error] ^~~~~~~~~~
  13. [error] 1 error generated.
  14. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:47:33: error: no member named 'st_blksize' in 'struct stat'; did you mean 'st_size'?
  15. [error] my_stat->st_blksize = stat->st_blksize;
  16. [error] ^~~~~~~~~~
  17. [error] st_size
  18. [error] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\sys/stat.h:97:24: note: 'st_size' declared here
  19. [error] _off_t st_size;
  20. [error] ^
  21. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:48:32: error: no member named 'st_blocks' in 'struct stat'
  22. [error] my_stat->st_blocks = stat->st_blocks;
  23. [error] ~~~~ ^
  24. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:75:9: warning: implicit declaration of function 'lstat' is invalid in C99 [-Wimplicit-function-declaration]
  25. [error] if (lstat(path, &orig_buf) == 0) {
  26. [error] ^
  27. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:83:35: error: unknown type name 'mode_t'
  28. [error] int scalanative_mkdir(char *path, mode_t mode) { return mkdir(path, mode); }
  29. [error] ^
  30. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:83:57: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
  31. [error] int scalanative_mkdir(char *path, mode_t mode) { return mkdir(path, mode); }
  32. [error] ^
  33. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:85:39: error: unknown type name 'mode_t'
  34. [error] int scalanative_chmod(char *pathname, mode_t mode) {
  35. [error] ^
  36. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:86:12: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration]
  37. [error] return chmod(pathname, mode);
  38. [error] ^
  39. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:89:32: error: unknown type name 'mode_t'
  40. [error] int scalanative_fchmod(int fd, mode_t mode) { return fchmod(fd, mode); }
  41. [error] ^
  42. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:89:54: warning: implicit declaration of function 'fchmod' is invalid in C99 [-Wimplicit-function-declaration]
  43. [error] int scalanative_fchmod(int fd, mode_t mode) { return fchmod(fd, mode); }
  44. [error] ^
  45. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:91:1: error: unknown type name 'mode_t'
  46. [error] mode_t scalanative_s_isuid() { return S_ISUID; }
  47. [error] ^
  48. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:91:39: error: use of undeclared identifier 'S_ISUID'
  49. [error] mode_t scalanative_s_isuid() { return S_ISUID; }
  50. [error] ^
  51. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:93:1: error: unknown type name 'mode_t'
  52. [error] mode_t scalanative_s_isgid() { return S_ISGID; }
  53. [error] ^
  54. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:93:39: error: use of undeclared identifier 'S_ISGID'
  55. [error] mode_t scalanative_s_isgid() { return S_ISGID; }
  56. [error] ^
  57. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:95:1: error: unknown type name 'mode_t'
  58. [error] mode_t scalanative_s_isvtx() { return S_ISVTX; }
  59. [error] ^
  60. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:95:39: error: use of undeclared identifier 'S_ISVTX'
  61. [error] mode_t scalanative_s_isvtx() { return S_ISVTX; }
  62. [error] ^
  63. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:97:1: error: unknown type name 'mode_t'
  64. [error] mode_t scalanative_s_irusr() { return S_IRUSR; }
  65. [error] ^
  66. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:97:39: error: use of undeclared identifier 'S_IRUSR'
  67. [error] mode_t scalanative_s_irusr() { return S_IRUSR; }
  68. [error] ^
  69. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:99:1: error: unknown type name 'mode_t'
  70. [error] mode_t scalanative_s_iwusr() { return S_IWUSR; }
  71. [error] ^
  72. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:99:39: error: use of undeclared identifier 'S_IWUSR'
  73. [error] mode_t scalanative_s_iwusr() { return S_IWUSR; }
  74. [error] ^
  75. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:101:1: error: unknown type name 'mode_t'
  76. [error] mode_t scalanative_s_ixusr() { return S_IXUSR; }
  77. [error] ^
  78. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:101:39: error: use of undeclared identifier 'S_IXUSR'
  79. [error] mode_t scalanative_s_ixusr() { return S_IXUSR; }
  80. [error] ^
  81. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:103:1: error: unknown type name 'mode_t'
  82. [error] mode_t scalanative_s_irgrp() { return S_IRGRP; }
  83. [error] ^
  84. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:103:39: error: use of undeclared identifier 'S_IRGRP'
  85. [error] mode_t scalanative_s_irgrp() { return S_IRGRP; }
  86. [error] ^
  87. [error] fatal error: too many errors emitted, stopping now [-ferror-limit=]
  88. [error] 4 warnings and 20 errors generated.
  89. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\unistd.c:1:10: fatal error: 'unistd.h' file not found
  90. [error] #include <unistd.h>
  91. [error] ^~~~~~~~~~
  92. [error] 1 error generated.
  93. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\wrap.c:66:41: error: use of undeclared identifier 'SIGUSR1'
  94. [error] int scalanative_libc_sigusr1() { return SIGUSR1; }
  95. [error] ^
  96. [error] 1 error generated.
  97. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\limits.c:3:37: error: use of undeclared identifier 'NAME_MAX'
  98. [error] int scalanative_path_max() { return NAME_MAX; }
  99. [error] ^
  100. [error] 1 error generated.
  101. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\process_monitor.c:1:10: fatal error: 'pthread.h' file not found
  102. [error] #include <pthread.h>
  103. [error] ^~~~~~~~~~~
  104. [error] 1 error generated.
  105. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:7:39: error: use of undeclared identifier 'O_NONBLOCK'
  106. [error] int scalanative_o_nonblock() { return O_NONBLOCK; }
  107. [error] ^
  108. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:17:36: error: use of undeclared identifier 'F_DUPFD'
  109. [error] int scalanative_f_dupfd() { return F_DUPFD; }
  110. [error] ^
  111. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:19:36: error: use of undeclared identifier 'F_GETFD'
  112. [error] int scalanative_f_getfd() { return F_GETFD; }
  113. [error] ^
  114. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:21:36: error: use of undeclared identifier 'F_SETFD'
  115. [error] int scalanative_f_setfd() { return F_SETFD; }
  116. [error] ^
  117. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:23:36: error: use of undeclared identifier 'F_GETFL'
  118. [error] int scalanative_f_getfl() { return F_GETFL; }
  119. [error] ^
  120. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:25:36: error: use of undeclared identifier 'F_SETFL'
  121. [error] int scalanative_f_setfl() { return F_SETFL; }
  122. [error] ^
  123. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:27:37: error: use of undeclared identifier 'F_GETOWN'
  124. [error] int scalanative_f_getown() { return F_GETOWN; }
  125. [error] ^
  126. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:29:37: error: use of undeclared identifier 'F_SETOWN'
  127. [error] int scalanative_f_setown() { return F_SETOWN; }
  128. [error] ^
  129. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:31:36: error: use of undeclared identifier 'F_GETLK'
  130. [error] int scalanative_f_getlk() { return F_GETLK; }
  131. [error] ^
  132. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:33:36: error: use of undeclared identifier 'F_SETLK'
  133. [error] int scalanative_f_setlk() { return F_SETLK; }
  134. [error] ^
  135. [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\fcntl.c:35:37: error: use of undeclared identifier 'F_SETLKW'
  136. [error] int scalanative_f_setlkw() { return F_SETLKW; }
  137. [error] ^
  138. [error] 11 errors generated.
  139. [info] Optimizing (debug mode) (47234 ms)
  140. [info] Generating intermediate code (18716 ms)
  141. [info] Produced 39 files
Add Comment
Please, Sign In to add comment