Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Makefile:1489: warning: overriding recipe for target 'lib_a-mbtowc_r.o'
- Makefile:827: warning: ignoring old recipe for target 'lib_a-mbtowc_r.o'
- ../../../../../newlib/newlib/libc/stdlib/aligned_alloc.c: In function 'aligned_alloc':
- ../../../../../newlib/newlib/libc/stdlib/aligned_alloc.c:35:10: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
- error = posix_memalign(&p, alignment, size);
- ^
- ../../../../../newlib/newlib/libc/stdlib/quick_exit.c: In function 'quick_exit':
- ../../../../../newlib/newlib/libc/stdlib/quick_exit.c:80:2: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration]
- _exit(status);
- ^
- ../../../../../newlib/newlib/libc/stdlib/quick_exit.c:81:1: warning: 'noreturn' function does return
- }
- ^
- Makefile:1920: warning: overriding recipe for target 'lib_a-vfwscanf.o'
- Makefile:1622: warning: ignoring old recipe for target 'lib_a-vfwscanf.o'
- ../../../../../newlib/newlib/libc/string/gnu_basename.c: In function '__gnu_basename':
- ../../../../../newlib/newlib/libc/string/gnu_basename.c:23:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- return path;
- ^
- In file included from /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:42:0,
- from ../../../../../newlib/newlib/libc/time/time.c:38:
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/_timeval.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
- struct timeval {
- ^
- In file included from ../../../../../newlib/newlib/libc/time/time.c:38:0:
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'bintime2timeval':
- /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'
- _tv->tv_sec = _bt->sec;
- ^
- /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'
- _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'timeval2bintime':
- /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'
- _bt->sec = _tv->tv_sec;
- ^
- /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'
- _bt->frac = _tv->tv_usec * (uint64_t)18446744073709LL;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'sbttotv':
- /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'
- _tv.tv_sec = _sbt >> 32;
- ^
- /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'
- _tv.tv_usec = ((uint64_t)1000000 * (uint32_t)_sbt) >> 32;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'tvtosbt':
- /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'
- return (((sbintime_t)_tv.tv_sec << 32) +
- ^
- /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'
- (_tv.tv_usec * (((uint64_t)1 << 63) / 500000) >> 32));
- ^
- ../../../../../newlib/newlib/libc/time/time.c: In function 'time':
- ../../../../../newlib/newlib/libc/time/time.c:49:10: error: 'struct timeval' has no member named 'tv_sec'
- *t = now.tv_sec;
- ^
- ../../../../../newlib/newlib/libc/time/time.c:50:17: error: 'struct timeval' has no member named 'tv_sec'
- return now.tv_sec;
- ^
- make[5]: *** [lib_a-time.o] Error 1
- In file included from /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:42:0,
- from ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:6:
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/_timeval.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
- struct timeval {
- ^
- In file included from ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:6:0:
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'bintime2timeval':
- /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'
- _tv->tv_sec = _bt->sec;
- ^
- /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'
- _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'timeval2bintime':
- /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'
- _bt->sec = _tv->tv_sec;
- ^
- /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'
- _bt->frac = _tv->tv_usec * (uint64_t)18446744073709LL;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'sbttotv':
- /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'
- _tv.tv_sec = _sbt >> 32;
- ^
- /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'
- _tv.tv_usec = ((uint64_t)1000000 * (uint32_t)_sbt) >> 32;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'tvtosbt':
- /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'
- return (((sbintime_t)_tv.tv_sec << 32) +
- ^
- /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'
- (_tv.tv_usec * (((uint64_t)1 << 63) / 500000) >> 32));
- ^
- ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c: In function 'gettimeofday':
- ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:101:73: error: expected declaration specifiers before ')' token
- int gettimeofday (struct timeval *__restrict __p, void *__restrict __tz))
- ^
- ../../../../../../newlib/newlib/libc/sys/photonos/syscalls.c:104:1: error: expected '{' at end of input
- }
- ^
- make[6]: *** [syscalls.o] Error 1
- make[6]: *** No rule to make target 'photonos/lib.a', needed by 'lib.a'. Stop.
- make[5]: *** [all-recursive] Error 1
- In file included from /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h:42:0,
- from ../../../../../newlib/newlib/libc/reent/gettimeofdayr.c:8:
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/_timeval.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
- struct timeval {
- ^
- In file included from ../../../../../newlib/newlib/libc/reent/gettimeofdayr.c:8:0:
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'bintime2timeval':
- /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'
- _tv->tv_sec = _bt->sec;
- ^
- /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'
- _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'timeval2bintime':
- /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'
- _bt->sec = _tv->tv_sec;
- ^
- /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'
- _bt->frac = _tv->tv_usec * (uint64_t)18446744073709LL;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'sbttotv':
- /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'
- _tv.tv_sec = _sbt >> 32;
- ^
- /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'
- _tv.tv_usec = ((uint64_t)1000000 * (uint32_t)_sbt) >> 32;
- ^
- /home/littlewho/Desktop/sourcecode/photon/devel/src/newlib/newlib/libc/include/sys/time.h: In function 'tvtosbt':
- /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'
- return (((sbintime_t)_tv.tv_sec << 32) +
- ^
- /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'
- (_tv.tv_usec * (((uint64_t)1 << 63) / 500000) >> 32));
- ^
- make[5]: *** [lib_a-gettimeofdayr.o] Error 1
- i686-photonos-ar: ../time/lib.a: No such file or directory
- i686-photonos-ar: ../reent/lib.a: No such file or directory
- i686-photonos-ar: ../sys/lib.a: No such file or directory
- cp: cannot stat 'sys/crt0.o': No such file or directory
- make[5]: *** [crt0.o] Error 1
- make[4]: *** [all-recursive] Error 1
- make[3]: *** [all-recursive] Error 1
- make[2]: *** [all] Error 2
- make[1]: *** [all-target-newlib] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement