CC [M] /home/ntu/devel/linuxcnc/src/hal/hal_lib.o make[1]: Leaving directory `/usr/src/linux-stable' /home/ntu/devel/linuxcnc/src/hal/hal_lib.c: In function ‘hal_proc_init’: /home/ntu/devel/linuxcnc/src/hal/hal_lib.c:2570:5: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration] hal_dir = create_proc_entry("hal", S_IFDIR, rtapi_dir); ^ /home/ntu/devel/linuxcnc/src/hal/hal_lib.c:2570:13: warning: assignment makes pointer from integer without a cast [enabled by default] hal_dir = create_proc_entry("hal", S_IFDIR, rtapi_dir); ^ /home/ntu/devel/linuxcnc/src/hal/hal_lib.c:2572:22: warning: assignment makes pointer from integer without a cast [enabled by default] hal_newinst_file = create_proc_entry("newinst", 0666, hal_dir); ^ /home/ntu/devel/linuxcnc/src/hal/hal_lib.c:2574:21: error: dereferencing pointer to incomplete type hal_newinst_file->data = NULL; ^ /home/ntu/devel/linuxcnc/src/hal/hal_lib.c:2575:21: error: dereferencing pointer to incomplete type hal_newinst_file->read_proc = NULL; ^ /home/ntu/devel/linuxcnc/src/hal/hal_lib.c:2576:21: error: dereferencing pointer to incomplete type hal_newinst_file->write_proc = proc_write_newinst; ^ cc1: some warnings being treated as errors make[2]: *** [/home/ntu/devel/linuxcnc/src/hal/hal_lib.o] Error 1 make[1]: *** [_module_/home/ntu/devel/linuxcnc/src] Error 2 make: *** [modules] Error 2 make: Leaving directory `/home/ntu/devel/linuxcnc/src'