Guest User

Untitled

a guest
Nov 16th, 2023
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. /home/giuliobenetti/br_reproduce/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/output/host/bin/mips-img-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/home/giuliobenetti/br_reproduce/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/output/host/bin/../mips-buildroot-linux-gnu/sysroot/usr/include/tirpc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../../support/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Wno-cast-function-type -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -c -o fsidd-backend_sqlite.o `test -f 'backend_sqlite.c' || echo './'`backend_sqlite.c
  2. /home/giuliobenetti/br_reproduce/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/output/host/bin/mips-img-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/home/giuliobenetti/br_reproduce/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/output/host/bin/../mips-buildroot-linux-gnu/sysroot/usr/include/tirpc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -Wno-cast-function-type -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1 -c -o reexport.o reexport.c
  3. backend_sqlite.c: In function ‘prng_init’:
  4. backend_sqlite.c:43:6: error: implicit declaration of function ‘getrandom’ [-Werror=implicit-function-declaration]
  5. if (getrandom(&seed, sizeof(seed), 0) != sizeof(seed)) {
  6. ^~~~~~~~~
  7. fsidd.c: In function ‘client_cb’:
  8. fsidd.c:33:3: error: implicit declaration of function ‘close’ [-Werror=implicit-function-declaration]
  9. close(cl);
  10. ^~~~~
  11. fsidd.c: In function ‘main’:
  12. fsidd.c:146:21: error: storage size of ‘addr’ isn’t known
  13. struct sockaddr_un addr;
  14. ^~~~
  15. fsidd.c:158:2: error: implicit declaration of function ‘unlink’ [-Werror=implicit-function-declaration]
  16. unlink(sock_file);
  17. ^~~~~~
  18. fsidd.c:160:26: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’
  19. memset(&addr, 0, sizeof(struct sockaddr_un));
  20. ^~~~~~
  21. fsidd.c:170:55: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’
  22. if (bind(srv, (const struct sockaddr *)&addr, sizeof(struct sockaddr_un)) == -1) {
  23. ^~~~~~
  24. fsidd.c:146:21: warning: unused variable ‘addr’ [-Wunused-variable]
  25. struct sockaddr_un addr;
  26. ^~~~
  27. fsidd.c: At top level:
  28. cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
  29. cc1: some warnings being treated as errors
  30. reexport.c: In function ‘reexpdb_init’:
  31. reexport.c:59:3: error: implicit declaration of function ‘sleep’ [-Werror=implicit-function-declaration]
  32. sleep(1);
  33. ^~~~~
  34. reexport.c: In function ‘reexpdb_destroy’:
  35. reexport.c:68:2: error: implicit declaration of function ‘close’ [-Werror=implicit-function-declaration]
  36. close(fsidd_srv);
  37. ^~~~~
  38. reexport.c: In function ‘do_fsidd_cmd’:
  39. reexport.c:120:6: error: implicit declaration of function ‘write’ [-Werror=implicit-function-declaration]
  40. if (write(fsidd_srv, msg, len) == -1) {
  41. ^~~~~
  42. reexport.c:125:6: error: implicit declaration of function ‘read’ [-Werror=implicit-function-declaration]
  43. n = read(fsidd_srv, recvbuf, sizeof(recvbuf) - 1);
  44. ^~~~
  45. make[4]: *** [Makefile:555: fsidd-fsidd.o] Error 1
  46. make[4]: *** Waiting for unfinished jobs....
  47. backend_sqlite.c: At top level:
  48. cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
  49. cc1: some warnings being treated as errors
  50. make[4]: *** [Makefile:569: fsidd-backend_sqlite.o] Error 1
  51. reexport.c: At top level:
  52. cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
  53. cc1: some warnings being treated as errors
  54. make[4]: *** [Makefile:534: reexport.o] Error 1
  55. make[3]: *** [Makefile:449: all-recursive] Error 1
  56. make[2]: *** [Makefile:490: all-recursive] Error 1
  57. make[1]: *** [package/pkg-generic.mk:283: /home/giuliobenetti/br_reproduce/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/output/build/nfs-utils-2.6.3/.stamp_built] Error 2
  58. make: *** [Makefile:23: _all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment