Page MenuHomeSolus

Linux-headers (kernel-headers)
Closed, InvalidPublic


I don't know if this is the right place.
I was compiling phoronix-reader program in rust. It keep erring out saying #include <linux/limits.h> no such file or directory. When Googling around the interwebs it told me I need the Linux header files. After installing it, my program still couldn't find it.

I fixed it by coping the linux directory in /usr/src/linux-headers-4.7.0/include/uapi/ to /usr/include. After that it worked just fine.

Event Timeline

BearzR created this task.Aug 23 2016, 3:52 AM

Package kernel-libc-devel has file /usr/include/linux/limits.h

Therefore that suggests you haven't done this which is basically essential when building packages

sudo eopkg install -c system.devel
sunnyflunk closed this task as Invalid.Aug 23 2016, 4:30 AM

sudo eopkg install linux-current-headers