Advertisement
Guest User

error

a guest
Aug 19th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. CC libhybris_common_la-hooks.lo
  2. hooks.c: In function 'hybris_pthread_start_routine':
  3. hooks.c:294:41: warning: initialization from incompatible pointer type [enabled by default]
  4. struct hybris_start_routine_t *sr = (struct hybris_start_routine*)a;
  5. ^
  6. hooks.c: In function '_hybris_hook_pthread_create':
  7. hooks.c:325:5: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [enabled by default]
  8. ret = pthread_create(thread, realattr, hybris_pthread_start_routine, sr);
  9. ^
  10. In file included from hooks.c:37:0:
  11. /usr/include/pthread.h:244:12: note: expected 'void * (*)(void *)' but argument is of type 'void (*)(void *)'
  12. extern int pthread_create (pthread_t *__restrict __newthread,
  13. ^
  14. hooks.c: In function '_hybris_hook_pthread_attr_setstackaddr':
  15. hooks.c:492:5: warning: 'pthread_attr_setstackaddr' is deprecated (declared at /usr/include/pthread.h:374) [-Wdeprecated-declarations]
  16. return pthread_attr_setstackaddr(realattr, stack_addr);
  17. ^
  18. hooks.c: In function '_hybris_hook_pthread_attr_getstackaddr':
  19. hooks.c:501:5: warning: 'pthread_attr_getstackaddr' is deprecated (declared at /usr/include/pthread.h:366) [-Wdeprecated-declarations]
  20. return pthread_attr_getstackaddr(realattr, stack_addr);
  21. ^
  22. hooks.c: In function '_hybris_hook_fseek':
  23. hooks.c:1490:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 9 has type 'long int' [-Wformat=]
  24. TRACE_HOOK("fp %p offset %jd whence %d", fp, offset, whence);
  25. ^
  26. hooks.c:1490:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'long int' [-Wformat=]
  27. hooks.c:1490:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'long int' [-Wformat=]
  28. hooks.c: In function '_hybris_hook_fseeko':
  29. hooks.c:1497:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 9 has type 'off_t' [-Wformat=]
  30. TRACE_HOOK("fp %p offset %jd whence %d", fp, offset, whence);
  31. ^
  32. hooks.c:1497:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'off_t' [-Wformat=]
  33. hooks.c:1497:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'off_t' [-Wformat=]
  34. hooks.c: In function '_hybris_hook_fsetpos':
  35. hooks.c:1509:5: warning: statement with no effect [-Wunused-value]
  36. mbsinit(&my_fpos.__state);
  37. ^
  38. hooks.c: In function '_hybris_hook_scandirat':
  39. hooks.c:1834:49: warning: passing argument 4 of 'qsort' from incompatible pointer type [enabled by default]
  40. qsort(result, nItems, sizeof(struct bionic_dirent *), compar);
  41. ^
  42. In file included from hooks.c:30:0:
  43. /usr/include/stdlib.h:765:13: note: expected '__compar_fn_t' but argument is of type 'int (*)(const struct bionic_dirent **, const struct bionic_dirent **)'
  44. extern void qsort (void *__base, size_t __nmemb, size_t __size,
  45. ^
  46. hooks.c: In function '_hybris_hook_mmap':
  47. hooks.c:2177:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 13 has type 'off_t' [-Wformat=]
  48. TRACE_HOOK("addr %p len %zu prot %i flags %i fd %i offset %jd",
  49. ^
  50. hooks.c:2177:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 15 has type 'off_t' [-Wformat=]
  51. hooks.c:2177:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 15 has type 'off_t' [-Wformat=]
  52. hooks.c: In function '_hybris_hook_malloc':
  53. hooks.c:2471:9: error: 'siz' undeclared (first use in this function)
  54. siz = atoi(tmp1);
  55. ^
  56. hooks.c:2471:9: note: each undeclared identifier is reported only once for each function it appears in
  57. hooks.c:2477:9: error: 'siznew' undeclared (first use in this function)
  58. siznew = atoi(tmp2);
  59. ^
  60. hooks.c: In function '_hybris_hook_my_printf':
  61. hooks.c:2510:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
  62. return fprintf(stderr, "%d:%s", syscall(__NR_gettid), buff);
  63. ^
  64. hooks.c: At top level:
  65. hooks.c:2503:12: warning: '_hybris_hook_my_printf' defined but not used [-Wunused-function]
  66. static int _hybris_hook_my_printf(const char *tmp, ...)
  67. ^
  68. make[3]: *** [libhybris_common_la-hooks.lo] Error 1
  69. make[3]: Leaving directory `/home/foidbgen/hadk/hybris/mw/libhybris/libhybris/hybris/common'
  70. make[2]: *** [all-recursive] Error 1
  71. make[2]: Leaving directory `/home/foidbgen/hadk/hybris/mw/libhybris/libhybris/hybris/common'
  72. make[1]: *** [all-recursive] Error 1
  73. make[1]: Leaving directory `/home/foidbgen/hadk/hybris/mw/libhybris/libhybris/hybris'
  74. make: *** [all] Error 2
  75. error: Bad exit status from /var/tmp/rpm-tmp.ViZFzS (%build)
  76.  
  77.  
  78. RPM build errors:
  79. Bad exit status from /var/tmp/rpm-tmp.ViZFzS (%build)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement