Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from src/sys/sys_unix.cpp:41:0:
- /usr/x86_64-w64-mingw32/include/pwd.h:83:2: error: ‘uid_t’ does not name a type; did you mean ‘pid_t’?
- uid_t pw_uid; /* user uid */
- ^~~~~
- pid_t
- /usr/x86_64-w64-mingw32/include/pwd.h:84:2: error: ‘gid_t’ does not name a type; did you mean ‘pid_t’?
- gid_t pw_gid; /* user gid */
- ^~~~~
- pid_t
- /usr/x86_64-w64-mingw32/include/pwd.h:93:1: error: ‘__BEGIN_DECLS’ does not name a type
- __BEGIN_DECLS
- ^~~~~~~~~~~~~
- /usr/x86_64-w64-mingw32/include/pwd.h:96:32: error: ‘uid_t’ was not declared in this scope
- struct passwd *getpwuid_shadow(uid_t);
- ^~~~~
- /usr/x86_64-w64-mingw32/include/pwd.h:96:32: note: suggested alternative: ‘pid_t’
- struct passwd *getpwuid_shadow(uid_t);
- ^~~~~
- pid_t
- /usr/x86_64-w64-mingw32/include/pwd.h:100:17: error: ‘uid_t’ was not declared in this scope
- int getpwuid_r(uid_t, struct passwd *, char *, size_t,
- ^~~~~
- /usr/x86_64-w64-mingw32/include/pwd.h:100:17: note: suggested alternative: ‘pid_t’
- int getpwuid_r(uid_t, struct passwd *, char *, size_t,
- ^~~~~
- pid_t
- /usr/x86_64-w64-mingw32/include/pwd.h:100:24: error: expected primary-expression before ‘struct’
- int getpwuid_r(uid_t, struct passwd *, char *, size_t,
- ^~~~~~
- /usr/x86_64-w64-mingw32/include/pwd.h:100:41: error: expected primary-expression before ‘char’
- int getpwuid_r(uid_t, struct passwd *, char *, size_t,
- ^~~~
- /usr/x86_64-w64-mingw32/include/pwd.h:100:55: error: expected primary-expression before ‘,’ token
- int getpwuid_r(uid_t, struct passwd *, char *, size_t,
- ^
- /usr/x86_64-w64-mingw32/include/pwd.h:101:7: error: expected primary-expression before ‘struct’
- struct passwd **);
- ^~~~~~
- /usr/x86_64-w64-mingw32/include/pwd.h:101:23: error: expression list treated as compound expression in initializer [-fpermissive]
- struct passwd **);
- ^
- /usr/x86_64-w64-mingw32/include/pwd.h:117:1: error: ‘__END_DECLS’ does not name a type
- __END_DECLS
- ^~~~~~~~~~~
- src/sys/sys_unix.cpp: In function ‘const char* Sys_GetCurrentUser()’:
- src/sys/sys_unix.cpp:152:22: error: ‘getuid’ was not declared in this scope
- if ( (p = getpwuid( getuid() )) == NULL ) {
- ^~~~~~
- src/sys/sys_unix.cpp:152:22: note: suggested alternative: ‘getpid’
- if ( (p = getpwuid( getuid() )) == NULL ) {
- ^~~~~~
- getpid
- src/sys/sys_unix.cpp:152:12: error: ‘getpwuid’ was not declared in this scope
- if ( (p = getpwuid( getuid() )) == NULL ) {
- ^~~~~~~~
- src/sys/sys_unix.cpp:152:12: note: suggested alternative: ‘getpwuid_r’
- if ( (p = getpwuid( getuid() )) == NULL ) {
- ^~~~~~~~
- getpwuid_r
- src/sys/sys_unix.cpp: In function ‘const char* Sys_Basename(char*)’:
- src/sys/sys_unix.cpp:190:9: error: ‘basename’ was not declared in this scope
- return basename( path );
- ^~~~~~~~
- src/sys/sys_unix.cpp:190:9: note: suggested alternative: ‘_wrename’
- return basename( path );
- ^~~~~~~~
- _wrename
- src/sys/sys_unix.cpp: In function ‘const char* Sys_Dirname(char*)’:
- src/sys/sys_unix.cpp:200:9: error: ‘dirname’ was not declared in this scope
- return dirname( path );
- ^~~~~~~
- src/sys/sys_unix.cpp:200:9: note: suggested alternative: ‘_wrename’
- return dirname( path );
- ^~~~~~~
- _wrename
- src/sys/sys_unix.cpp: In function ‘bool Sys_Mkdir(const char*)’:
- src/sys/sys_unix.cpp:225:33: error: too many arguments to function ‘int mkdir(const char*)’
- int result = mkdir( path, 0750 );
- ^
- In file included from /usr/share/mingw-w64/include/sys/stat.h:14:0,
- from src/sys/sys_unix.cpp:34:
- /usr/share/mingw-w64/include/io.h:280:15: note: declared here
- int __cdecl mkdir (const char *) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
- ^~~~~
- src/sys/sys_unix.cpp: In function ‘FILE* Sys_Mkfifo(const char*)’:
- src/sys/sys_unix.cpp:249:11: error: ‘mkfifo’ was not declared in this scope
- result = mkfifo( ospath, 0600 );
- ^~~~~~
- src/sys/sys_unix.cpp:249:11: note: suggested alternative: ‘fifo’
- result = mkfifo( ospath, 0600 );
- ^~~~~~
- fifo
- src/sys/sys_unix.cpp:257:14: error: ‘F_SETFL’ was not declared in this scope
- fcntl( fn, F_SETFL, O_NONBLOCK );
- ^~~~~~~
- src/sys/sys_unix.cpp:257:23: error: ‘O_NONBLOCK’ was not declared in this scope
- fcntl( fn, F_SETFL, O_NONBLOCK );
- ^~~~~~~~~~
- src/sys/sys_unix.cpp:257:23: note: suggested alternative: ‘ENOTSOCK’
- fcntl( fn, F_SETFL, O_NONBLOCK );
- ^~~~~~~~~~
- ENOTSOCK
- src/sys/sys_unix.cpp:257:3: error: ‘fcntl’ was not declared in this scope
- fcntl( fn, F_SETFL, O_NONBLOCK );
- ^~~~~
- src/sys/sys_unix.cpp:257:3: note: suggested alternative: ‘fcvt’
- fcntl( fn, F_SETFL, O_NONBLOCK );
- ^~~~~
- fcvt
- src/sys/sys_unix.cpp: In function ‘void Sys_Sleep(int)’:
- src/sys/sys_unix.cpp:484:3: error: ‘fd_set’ was not declared in this scope
- fd_set fdset;
- ^~~~~~
- src/sys/sys_unix.cpp:484:3: note: suggested alternative: ‘_tzset’
- fd_set fdset;
- ^~~~~~
- _tzset
- src/sys/sys_unix.cpp:486:12: error: ‘fdset’ was not declared in this scope
- FD_ZERO(&fdset);
- ^~~~~
- src/sys/sys_unix.cpp:486:12: note: suggested alternative: ‘tzset’
- FD_ZERO(&fdset);
- ^~~~~
- tzset
- src/sys/sys_unix.cpp:486:3: error: ‘FD_ZERO’ was not declared in this scope
- FD_ZERO(&fdset);
- ^~~~~~~
- src/sys/sys_unix.cpp:486:3: note: suggested alternative: ‘FP_ZERO’
- FD_ZERO(&fdset);
- ^~~~~~~
- FP_ZERO
- src/sys/sys_unix.cpp:487:3: error: ‘FD_SET’ was not declared in this scope
- FD_SET(STDIN_FILENO, &fdset);
- ^~~~~~
- src/sys/sys_unix.cpp:490:4: error: ‘select’ was not declared in this scope
- select(STDIN_FILENO + 1, &fdset, NULL, NULL, NULL);
- ^~~~~~
- src/sys/sys_unix.cpp:490:4: note: suggested alternative: ‘sleep’
- select(STDIN_FILENO + 1, &fdset, NULL, NULL, NULL);
- ^~~~~~
- sleep
- src/sys/sys_unix.cpp:498:4: error: ‘select’ was not declared in this scope
- select(STDIN_FILENO + 1, &fdset, NULL, NULL, &timeout);
- ^~~~~~
- src/sys/sys_unix.cpp:498:4: note: suggested alternative: ‘sleep’
- select(STDIN_FILENO + 1, &fdset, NULL, NULL, &timeout);
- ^~~~~~
- sleep
- src/sys/sys_unix.cpp: In function ‘int Sys_Exec()’:
- src/sys/sys_unix.cpp:614:14: error: ‘fork’ was not declared in this scope
- pid_t pid = fork( );
- ^~~~
- src/sys/sys_unix.cpp: In function ‘void Sys_PlatformInit()’:
- src/sys/sys_unix.cpp:833:10: error: ‘SIGHUP’ was not declared in this scope
- signal( SIGHUP, Sys_SigHandler );
- ^~~~~~
- src/sys/sys_unix.cpp:833:10: note: suggested alternative: ‘SIGILL’
- signal( SIGHUP, Sys_SigHandler );
- ^~~~~~
- SIGILL
- src/sys/sys_unix.cpp:834:10: error: ‘SIGQUIT’ was not declared in this scope
- signal( SIGQUIT, Sys_SigHandler );
- ^~~~~~~
- src/sys/sys_unix.cpp:834:10: note: suggested alternative: ‘SIGABRT’
- signal( SIGQUIT, Sys_SigHandler );
- ^~~~~~~
- SIGABRT
- src/sys/sys_unix.cpp:835:10: error: ‘SIGTRAP’ was not declared in this scope
- signal( SIGTRAP, Sys_SigHandler );
- ^~~~~~~
- src/sys/sys_unix.cpp:835:10: note: suggested alternative: ‘SIGBREAK’
- signal( SIGTRAP, Sys_SigHandler );
- ^~~~~~~
- SIGBREAK
- src/sys/sys_unix.cpp:837:10: error: ‘SIGBUS’ was not declared in this scope
- signal( SIGBUS, Sys_SigHandler );
- ^~~~~~
- src/sys/sys_unix.cpp:837:10: note: suggested alternative: ‘SIGILL’
- signal( SIGBUS, Sys_SigHandler );
- ^~~~~~
- SIGILL
- src/sys/sys_unix.cpp: In function ‘void Sys_SetEnv(const char*, const char*)’:
- src/sys/sys_unix.cpp:867:3: error: ‘setenv’ was not declared in this scope
- setenv(name, value, 1);
- ^~~~~~
- src/sys/sys_unix.cpp:867:3: note: suggested alternative: ‘getenv’
- setenv(name, value, 1);
- ^~~~~~
- getenv
- src/sys/sys_unix.cpp:869:3: error: ‘unsetenv’ was not declared in this scope
- unsetenv(name);
- ^~~~~~~~
- src/sys/sys_unix.cpp:869:3: note: suggested alternative: ‘fesetenv’
- unsetenv(name);
- ^~~~~~~~
- fesetenv
- src/sys/sys_unix.cpp: In function ‘bool Sys_PIDIsRunning(int)’:
- src/sys/sys_unix.cpp:889:9: error: ‘kill’ was not declared in this scope
- return kill( pid, 0 ) == 0;
- ^~~~
- src/sys/sys_unix.cpp:889:9: note: suggested alternative: ‘tell’
- return kill( pid, 0 ) == 0;
- ^~~~
- tell
- Makefile:2757: recipe for target 'build/release-linux-x86_64/ded/sys_unix.o' failed
- make[2]: *** [build/release-linux-x86_64/ded/sys_unix.o] Error 1
- make[2]: Leaving directory '/home/vbalazs/tremulous-1.3.0-alpha.0.13'
- Makefile:1170: recipe for target 'targets' failed
- make[1]: *** [targets] Error 2
- make[1]: Leaving directory '/home/vbalazs/tremulous-1.3.0-alpha.0.13'
- Makefile:1114: recipe for target 'release' failed
- make: *** [release] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement