1

pthread_rwlock_t error at ndpi-netfilter [on hold]

view story
linux-howto

http://stackoverflow.com – I'm try to compile the kernel module ndpi-netfilter but it fails. In pthread_rwlock_t /source/ntopng/nDPI/ndpi-netfilter/src/ndpi_cpy/include/ndpi_public_functions.h:263:3: warning: function declaration isn't a prototype [-Wstrict-prototypes] char* ndpi_revision(); ^ /source/ntopng/nDPI/ndpi-netfilter/src/ndpi_cpy/include/ndpi_structs.h:637:3: error: unknown type name 'pthread_rwlock_t' pthread_rwlock_t skypeCacheLock; I tried -D_GNU_SOURCE in EXTRA_CFLAGS in the Makefile but it fails. The iptables lib module compile fine without problems. I am using gcc version 4.8.1 (GCC). (HowTos)