Graeme Hilton wrote: >error: #error including kernel header in userspace; use the glibc headers >instead! > > You're using headers from your kernel tree instead of your /usr/include tree.