Dears I‘ve solved this problem by make headers_install INSTALL_HDR_PATH=/usr
Thanks 在2020年8月14日星期五 UTC+8 上午11:01:54<wadexu> 写道: > 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? > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/9d940db1-2af7-4713-89c7-a6ce905eb60dn%40googlegroups.com.
