Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [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
- [error] #include <cpio.h>
- [error] ^~~~~~~~
- [error] 1 error generated.
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\complex.c:12:14: error: expected ';' after top level declarator
- [error] float complex toFloatComplex(float snfc[2]) { return *(float complex *)snfc; }
- [error] ^
- [error] ;
- [error] 1 error generated.
- [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
- [error] #include <syslog.h>
- [error] ^~~~~~~~~~
- [error] 1 error generated.
- [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'?
- [error] my_stat->st_blksize = stat->st_blksize;
- [error] ^~~~~~~~~~
- [error] st_size
- [error] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\sys/stat.h:97:24: note: 'st_size' declared here
- [error] _off_t st_size;
- [error] ^
- [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'
- [error] my_stat->st_blocks = stat->st_blocks;
- [error] ~~~~ ^
- [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]
- [error] if (lstat(path, &orig_buf) == 0) {
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:83:35: error: unknown type name 'mode_t'
- [error] int scalanative_mkdir(char *path, mode_t mode) { return mkdir(path, mode); }
- [error] ^
- [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]
- [error] int scalanative_mkdir(char *path, mode_t mode) { return mkdir(path, mode); }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:85:39: error: unknown type name 'mode_t'
- [error] int scalanative_chmod(char *pathname, mode_t mode) {
- [error] ^
- [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]
- [error] return chmod(pathname, mode);
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:89:32: error: unknown type name 'mode_t'
- [error] int scalanative_fchmod(int fd, mode_t mode) { return fchmod(fd, mode); }
- [error] ^
- [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]
- [error] int scalanative_fchmod(int fd, mode_t mode) { return fchmod(fd, mode); }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:91:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_isuid() { return S_ISUID; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_isuid() { return S_ISUID; }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:93:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_isgid() { return S_ISGID; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_isgid() { return S_ISGID; }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:95:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_isvtx() { return S_ISVTX; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_isvtx() { return S_ISVTX; }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:97:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_irusr() { return S_IRUSR; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_irusr() { return S_IRUSR; }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:99:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_iwusr() { return S_IWUSR; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_iwusr() { return S_IWUSR; }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:101:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_ixusr() { return S_IXUSR; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_ixusr() { return S_IXUSR; }
- [error] ^
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\stat.c:103:1: error: unknown type name 'mode_t'
- [error] mode_t scalanative_s_irgrp() { return S_IRGRP; }
- [error] ^
- [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'
- [error] mode_t scalanative_s_irgrp() { return S_IRGRP; }
- [error] ^
- [error] fatal error: too many errors emitted, stopping now [-ferror-limit=]
- [error] 4 warnings and 20 errors generated.
- [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
- [error] #include <unistd.h>
- [error] ^~~~~~~~~~
- [error] 1 error generated.
- [error] C:\Users\Daniil\source\scala-native\sandbox\target\scala-2.11\native\lib\wrap.c:66:41: error: use of undeclared identifier 'SIGUSR1'
- [error] int scalanative_libc_sigusr1() { return SIGUSR1; }
- [error] ^
- [error] 1 error generated.
- [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'
- [error] int scalanative_path_max() { return NAME_MAX; }
- [error] ^
- [error] 1 error generated.
- [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
- [error] #include <pthread.h>
- [error] ^~~~~~~~~~~
- [error] 1 error generated.
- [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'
- [error] int scalanative_o_nonblock() { return O_NONBLOCK; }
- [error] ^
- [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'
- [error] int scalanative_f_dupfd() { return F_DUPFD; }
- [error] ^
- [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'
- [error] int scalanative_f_getfd() { return F_GETFD; }
- [error] ^
- [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'
- [error] int scalanative_f_setfd() { return F_SETFD; }
- [error] ^
- [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'
- [error] int scalanative_f_getfl() { return F_GETFL; }
- [error] ^
- [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'
- [error] int scalanative_f_setfl() { return F_SETFL; }
- [error] ^
- [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'
- [error] int scalanative_f_getown() { return F_GETOWN; }
- [error] ^
- [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'
- [error] int scalanative_f_setown() { return F_SETOWN; }
- [error] ^
- [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'
- [error] int scalanative_f_getlk() { return F_GETLK; }
- [error] ^
- [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'
- [error] int scalanative_f_setlk() { return F_SETLK; }
- [error] ^
- [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'
- [error] int scalanative_f_setlkw() { return F_SETLKW; }
- [error] ^
- [error] 11 errors generated.
- [info] Optimizing (debug mode) (47234 ms)
- [info] Generating intermediate code (18716 ms)
- [info] Produced 39 files
Add Comment
Please, Sign In to add comment