1 min readJan 5, 2020
I got a compilation error but after some search, I realized I need to set compiler flags in Makefile:
EXTRA_CFLAGS += $(KBUILD_CFLAGS) -fno-pie
And it now worked fine… I had to add aprintk
statement and tail /var/log/syslog
to verify it.