I made this modification:

diff --git a/src/Makefile b/src/Makefile
index a11d9e379f..7bb960f105 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -539,7 +539,7 @@ ifeq ($(BUILD_SYS),kbuild)
 
 modules:
        MAKEFLAGS="$(filter-out --warn-undefined-variables,$(MAKEFLAGS))" \
-       $(PYTHON) modsilent.py $(MAKE) 
KBUILD_EXTRA_SYMBOLS=$(moduledir)/Module.symvers -C $(KERNELDIR) SUBDIRS=`pwd` 
CC=$(CC) V=$(BUILD_VERBOSE) modules
+       $(MAKE) KBUILD_EXTRA_SYMBOLS=$(moduledir)/Module.symvers -C 
$(KERNELDIR) SUBDIRS=`pwd` CC=$(CC) V=$(BUILD_VERBOSE) modules
        -cp Module.symvers *$(MODULE_EXT) ../rtlib/
 endif

The above removes calling modsilent.py from the `make` command

Then I received this error:

ntu@ntu-debian:~/linuxcnc/src$ make
Reading 204/204 dependency files
Done reading dependencies
MAKEFLAGS="" \
make KBUILD_EXTRA_SYMBOLS=/usr/realtime/modules/Module.symvers -C 
/home/ntu/linux SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: Entering directory '/home/ntu/linux'
make -f ./scripts/Makefile.build obj=/home/ntu/linuxcnc/src
/home/ntu/linuxcnc/src/hal/components/Submakefile:3: 
/home/ntu/linuxcnc/src/objects/hal/components/tpcomp.mak: No such file or 
directory
make[2]: *** No rule to make target 
'/home/ntu/linuxcnc/src/objects/hal/components/tpcomp.mak'.  Stop.
make[1]: *** [Makefile:1546: _module_/home/ntu/linuxcnc/src] Error 2
make[1]: Leaving directory '/home/ntu/linux'
make: *** [Makefile:541: modules] Error 2

So I ran `git log -S tpcomp` and ran the following command:

git revert 07e1e991df2e62f0549712a0babb1c83e348dd1b

And then LinuxCNC builds now for RTAI.

Please fix this commit:

https://github.com/LinuxCNC/linuxcnc/commit/07e1e991df2e62f0549712a0babb1c83e348dd1b

And at least compile test your changes before pushing.

Thank you!

Alec


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to