|
From: Wuweijia <wuw...@hu...> - 2017-06-23 07:51:27
|
hg_intercepts.c:97:61: note: in definition of macro 'PTH_FUNC'
ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args); \
^
hg_intercepts.c:1644:10: error: unknown type name 'pthread_barrierattr_t'
pthread_barrierattr_t* attr, unsigned long count)
^
hg_intercepts.c:97:61: note: in definition of macro 'PTH_FUNC'
ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args); \
^
hg_intercepts.c:1643:10: error: unknown type name 'pthread_barrier_t'
pthread_barrier_t* bar,
^
hg_intercepts.c:98:61: note: in definition of macro 'PTH_FUNC'
ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args)
^
hg_intercepts.c:1644:10: error: unknown type name 'pthread_barrierattr_t'
pthread_barrierattr_t* attr, unsigned long count)
^
hg_intercepts.c:98:61: note: in definition of macro 'PTH_FUNC'
ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args)
^
hg_intercepts.c:1680:15: error: unknown type name 'pthread_barrier_t'
pthread_barrier_t* bar)
^
hg_intercepts.c:97:61: note: in definition of macro 'PTH_FUNC'
ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args); \
^
|
|
From: Ivo R. <iv...@iv...> - 2017-06-23 11:08:19
|
2017-06-23 9:50 GMT+02:00 Wuweijia <wuw...@hu...>: > hg_intercepts.c:97:61: note: in definition of macro 'PTH_FUNC' > > ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args); \ > > ^ > > hg_intercepts.c:1644:10: error: unknown type name 'pthread_barrierattr_t' > > pthread_barrierattr_t* attr, unsigned long count) > Check config.h. HAVE_PTHREAD_BARRIER_INIT, and HAVE_PTHREAD_SPIN_LOCK should be #undef'ined. If they are defined then check config.log and try to determined why they are enabled even if ndk does not supposedly provide them. I. |