A problen when install Mchinekit-cnc

96 views
Skip to first unread message

wadexu

unread,
Aug 13, 2020, 11:01:54 PM8/13/20
to Machinekit
When I install machinekit-cnc and ‘make’,there is an error occurred。

In file included from emc/kinematics/trivkins.c:18:0:
emc/kinematics/rtapi.h:1054:30: fatal error: linux/module.h: No such file or directory
 #    include <linux/module.h>

My linux-headers is /usr/src/linux-4.19.132-headers   and I can find module.h inside。

How can I fix it?

wadexu

unread,
Aug 18, 2020, 10:57:21 PM8/18/20
to Machinekit
Dears
I‘ve solved this problem by  

make headers_install INSTALL_HDR_PATH=/usr

Thanks
Reply all
Reply to author
Forward
0 new messages