Closed aalemayhu closed 7 years ago
I've not seen this on my system.
What compiler version are you using? (for compiling napi_monitor_kern.c)
It seems it is "only" a warning, which is treated as an error. It says "may":
[...] may result in an unaligned pointer value
I speculate that it doesn't like how the struct napi_bulk_histogram
is constructed. On 32-bit machine this might get another alignment. See structs in napi_monitor.h
clang --version
clang version 4.0.0 (tags/RELEASE_400/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
not seeing the warning issue with older clang.
So commenting out EXTRA_CFLAGS
make's it build for me. Cool demo, thanks!
Wanted to try out the new monitor but seeing the compilation issues below. Am I missing something?