Trying to build LinuxCNC right now against the 5.4 kernel but ran into this, 
stuck now:

Reading 204/204 dependency files
Done reading dependencies
MAKEFLAGS="ik -j4 --jobserver-auth=3,4" \
make KBUILD_EXTRA_SYMBOLS=/usr/realtime/modules/Module.symvers -C 
/home/ntu/linux-5.4.y SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: Entering directory '/home/ntu/linux-5.4.y'
 CALL    scripts/atomic/check-atomics.sh
 CALL    scripts/checksyscalls.sh
 CHK     include/generated/compile.h
 Building modules, stage 2.
 MODPOST 397 modules
make[1]: Leaving directory '/home/ntu/linux-5.4.y'
cp Module.symvers *.ko ../rtlib/
cp: cannot stat 'Module.symvers': No such file or directory
cp: cannot stat '*.ko': No such file or directory
make: [Makefile:540: modules] Error 1 (ignored)
You now need to run 'sudo make setuid' in order to run in place.

ntu@ntu:~/linuxcnc/src$ stat ~/linux-5.4.y/Module.symvers
 File: /home/ntu/linux-5.4.y/Module.symvers
 Size: 534944          Blocks: 1048       IO Block: 4096   regular file
Device: 806h/2054d      Inode: 831382      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/     ntu)   Gid: ( 1000/     ntu)
Access: 2022-10-21 11:16:59.828423939 -0500
Modify: 2022-10-21 11:14:36.349885329 -0500
Change: 2022-10-21 11:14:36.349885329 -0500
Birth: 2022-10-21 11:14:34.429892605 -0500

ntu@ntu:~/linuxcnc/src$ stat /usr/realtime/modules/Module.symvers
 File: /usr/realtime/modules/Module.symvers
 Size: 25155           Blocks: 56         IO Block: 4096   regular file
Device: 806h/2054d      Inode: 830595      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-10-21 11:18:14.981231215 -0500
Modify: 2022-10-21 11:18:14.981231215 -0500
Change: 2022-10-21 11:18:14.981231215 -0500
Birth: 2022-10-21 11:18:14.981231215 -0500

Any ideas?

Alec


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

Reply via email to