RTAI build output with `make V=1`, note the following messages:

test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)

However RTAI builds fine anyway:

ntu@ntu-debian:~/RTAI$ make V=1
make  all-recursive
make[1]: Entering directory '/home/ntu/RTAI'
Making all in include
make[2]: Entering directory '/home/ntu/RTAI/include'
Making all in asm-x86
make[3]: Entering directory '/home/ntu/RTAI/include/asm-x86'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ntu/RTAI/include/asm-x86'
make[3]: Entering directory '/home/ntu/RTAI/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ntu/RTAI/include'
make[2]: Leaving directory '/home/ntu/RTAI/include'
Making all in src
make[2]: Entering directory '/home/ntu/RTAI/src'
Making all in sched
make[3]: Entering directory '/home/ntu/RTAI/src/sched'
gcc -DHAVE_CONFIG_H -I. -I../..  -O2 -march=x86-64 -fomit-frame-pointer -pipe 
-I../../include    -MT calibrate-calibrate.o -MD -MP -MF 
.deps/calibrate-calibrate.Tpo -c -o calibrate-calibrate.o `test -f 
'calibrate.c' || echo './'`calibrate.c
mv -f .deps/calibrate-calibrate.Tpo .deps/calibrate-calibrate.Po
/bin/bash ../../libtool  --tag=CC   --mode=link gcc     -o calibrate 
calibrate-calibrate.o -lpthread
libtool: link: gcc -o calibrate calibrate-calibrate.o  -lpthread
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /home/ntu/RTAI/src/sched/.tmp_versions ; rm -f 
/home/ntu/RTAI/src/sched/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/home/ntu/RTAI/src/sched
(cat /dev/null;   echo kernel//home/ntu/RTAI/src/sched/rtai_hal.ko;) > 
/home/ntu/RTAI/src/sched/modules.order
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.rtai_hal.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -D__IN_RTAI__  
-DMODULE  -DKBUILD_BASENAME='"rtai_hal"' -DKBUILD_MODNAME='"rtai_hal"' -c -o 
/home/ntu/RTAI/src/sched/rtai_hal.o /home/ntu/RTAI/src/sched/rtai_hal.c
make -f ./scripts/Makefile.modpost
  find /home/ntu/RTAI/src/sched/.tmp_versions -name '*.mod' | xargs -r grep -h 
'\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -i 
./Module.symvers -I /home/ntu/RTAI/src/sched/Module.symvers  -o 
/home/ntu/RTAI/src/sched/Module.symvers -S -E -w  -s -T -
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.rtai_hal.mod.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -D__IN_RTAI__  
-DKBUILD_BASENAME='"rtai_hal.mod"' -DKBUILD_MODNAME='"rtai_hal"' -DMODULE  -c 
-o /home/ntu/RTAI/src/sched/rtai_hal.mod.o 
/home/ntu/RTAI/src/sched/rtai_hal.mod.c
  ld -r -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments -T ./scripts/module-common.lds  --build-id  -o 
/home/ntu/RTAI/src/sched/rtai_hal.ko /home/ntu/RTAI/src/sched/rtai_hal.o 
/home/ntu/RTAI/src/sched/rtai_hal.mod.o ;  true
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /home/ntu/RTAI/src/sched/.tmp_versions ; rm -f 
/home/ntu/RTAI/src/sched/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/home/ntu/RTAI/src/sched
(cat /dev/null;   echo kernel//home/ntu/RTAI/src/sched/rtai_sched.ko;) > 
/home/ntu/RTAI/src/sched/modules.order
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.sched.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"sched"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/sched.o 
/home/ntu/RTAI/src/sched/sched.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.sys.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"sys"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/sys.o 
/home/ntu/RTAI/src/sched/sys.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.api.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"api"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/api.o 
/home/ntu/RTAI/src/sched/api.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.signal.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"signal"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/signal.o 
/home/ntu/RTAI/src/sched/signal.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.fifos.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"fifos"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/fifos.o 
/home/ntu/RTAI/src/sched/fifos.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.sem.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"sem"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/sem.o 
/home/ntu/RTAI/src/sched/sem.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.kvmem.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"kvmem"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/kvmem.o 
/home/ntu/RTAI/src/sched/kvmem.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.shm.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"shm"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/shm.o 
/home/ntu/RTAI/src/sched/shm.c
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.malloc.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DMODULE  -DKBUILD_BASENAME='"malloc"' 
-DKBUILD_MODNAME='"rtai_sched"' -c -o /home/ntu/RTAI/src/sched/malloc.o 
/home/ntu/RTAI/src/sched/malloc.c
  ld -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments   -r -o /home/ntu/RTAI/src/sched/rtai_sched.o 
/home/ntu/RTAI/src/sched/sched.o /home/ntu/RTAI/src/sched/sys.o 
/home/ntu/RTAI/src/sched/api.o /home/ntu/RTAI/src/sched/signal.o 
/home/ntu/RTAI/src/sched/fifos.o /home/ntu/RTAI/src/sched/sem.o 
/home/ntu/RTAI/src/sched/kvmem.o /home/ntu/RTAI/src/sched/shm.o 
/home/ntu/RTAI/src/sched/malloc.o
make -f ./scripts/Makefile.modpost
  find /home/ntu/RTAI/src/sched/.tmp_versions -name '*.mod' | xargs -r grep -h 
'\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -i 
./Module.symvers -I /home/ntu/RTAI/src/sched/Module.symvers  -o 
/home/ntu/RTAI/src/sched/Module.symvers -S -E -w  -s -T -
  gcc -Wp,-MD,/home/ntu/RTAI/src/sched/.rtai_sched.mod.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/sched/../.. -DUSE_RTAI_TASKS=1 
-D__IN_RTAI__  -DKBUILD_BASENAME='"rtai_sched.mod"' 
-DKBUILD_MODNAME='"rtai_sched"' -DMODULE  -c -o 
/home/ntu/RTAI/src/sched/rtai_sched.mod.o 
/home/ntu/RTAI/src/sched/rtai_sched.mod.c
  ld -r -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments -T ./scripts/module-common.lds  --build-id  -o 
/home/ntu/RTAI/src/sched/rtai_sched.ko /home/ntu/RTAI/src/sched/rtai_sched.o 
/home/ntu/RTAI/src/sched/rtai_sched.mod.o ;  true
/bin/bash /home/ntu/RTAI/scripts/autoconf/install-sh -d ../../modules
/usr/bin/install -c -m 644 rtai_hal.ko rtai_sched.ko ../../modules
make[3]: Leaving directory '/home/ntu/RTAI/src/sched'
Making all in ipc
make[3]: Entering directory '/home/ntu/RTAI/src/ipc'
Making all in fifos
make[4]: Entering directory '/home/ntu/RTAI/src/ipc/fifos'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ntu/RTAI/src/ipc/fifos'
Making all in shm
make[4]: Entering directory '/home/ntu/RTAI/src/ipc/shm'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ntu/RTAI/src/ipc/shm'
Making all in sem
make[4]: Entering directory '/home/ntu/RTAI/src/ipc/sem'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ntu/RTAI/src/ipc/sem'
Making all in msg
make[4]: Entering directory '/home/ntu/RTAI/src/ipc/msg'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /home/ntu/RTAI/src/ipc/msg/.tmp_versions ; rm -f 
/home/ntu/RTAI/src/ipc/msg/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/home/ntu/RTAI/src/ipc/msg
(cat /dev/null;   echo kernel//home/ntu/RTAI/src/ipc/msg/rtai_msg.ko;) > 
/home/ntu/RTAI/src/ipc/msg/modules.order
  gcc -Wp,-MD,/home/ntu/RTAI/src/ipc/msg/.msg.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/ipc/msg/../../.. -D__IN_RTAI__  
-DMODULE  -DKBUILD_BASENAME='"msg"' -DKBUILD_MODNAME='"rtai_msg"' -c -o 
/home/ntu/RTAI/src/ipc/msg/msg.o /home/ntu/RTAI/src/ipc/msg/msg.c
  ld -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments   -r -o /home/ntu/RTAI/src/ipc/msg/rtai_msg.o 
/home/ntu/RTAI/src/ipc/msg/msg.o
make -f ./scripts/Makefile.modpost
  find /home/ntu/RTAI/src/ipc/msg/.tmp_versions -name '*.mod' | xargs -r grep 
-h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -i 
./Module.symvers -I /home/ntu/RTAI/src/ipc/msg/Module.symvers  -o 
/home/ntu/RTAI/src/ipc/msg/Module.symvers -S -E -w  -s -T -
  gcc -Wp,-MD,/home/ntu/RTAI/src/ipc/msg/.rtai_msg.mod.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/ipc/msg/../../.. -D__IN_RTAI__  
-DKBUILD_BASENAME='"rtai_msg.mod"' -DKBUILD_MODNAME='"rtai_msg"' -DMODULE  -c 
-o /home/ntu/RTAI/src/ipc/msg/rtai_msg.mod.o 
/home/ntu/RTAI/src/ipc/msg/rtai_msg.mod.c
  ld -r -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments -T ./scripts/module-common.lds  --build-id  -o 
/home/ntu/RTAI/src/ipc/msg/rtai_msg.ko /home/ntu/RTAI/src/ipc/msg/rtai_msg.o 
/home/ntu/RTAI/src/ipc/msg/rtai_msg.mod.o ;  true
/bin/bash /home/ntu/RTAI/scripts/autoconf/install-sh -d ../../../modules
/usr/bin/install -c -m 644 rtai_msg.ko ../../../modules
make[4]: Leaving directory '/home/ntu/RTAI/src/ipc/msg'
Making all in mbx
make[4]: Entering directory '/home/ntu/RTAI/src/ipc/mbx'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /home/ntu/RTAI/src/ipc/mbx/.tmp_versions ; rm -f 
/home/ntu/RTAI/src/ipc/mbx/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/home/ntu/RTAI/src/ipc/mbx
(cat /dev/null;   echo kernel//home/ntu/RTAI/src/ipc/mbx/rtai_mbx.ko;) > 
/home/ntu/RTAI/src/ipc/mbx/modules.order
  gcc -Wp,-MD,/home/ntu/RTAI/src/ipc/mbx/.mbx.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/ipc/mbx/../../.. -D__IN_RTAI__  
-DMODULE  -DKBUILD_BASENAME='"mbx"' -DKBUILD_MODNAME='"rtai_mbx"' -c -o 
/home/ntu/RTAI/src/ipc/mbx/mbx.o /home/ntu/RTAI/src/ipc/mbx/mbx.c
  ld -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments   -r -o /home/ntu/RTAI/src/ipc/mbx/rtai_mbx.o 
/home/ntu/RTAI/src/ipc/mbx/mbx.o
make -f ./scripts/Makefile.modpost
  find /home/ntu/RTAI/src/ipc/mbx/.tmp_versions -name '*.mod' | xargs -r grep 
-h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -i 
./Module.symvers -I /home/ntu/RTAI/src/ipc/mbx/Module.symvers  -o 
/home/ntu/RTAI/src/ipc/mbx/Module.symvers -S -E -w  -s -T -
  gcc -Wp,-MD,/home/ntu/RTAI/src/ipc/mbx/.rtai_mbx.mod.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/ipc/mbx/../../.. -D__IN_RTAI__  
-DKBUILD_BASENAME='"rtai_mbx.mod"' -DKBUILD_MODNAME='"rtai_mbx"' -DMODULE  -c 
-o /home/ntu/RTAI/src/ipc/mbx/rtai_mbx.mod.o 
/home/ntu/RTAI/src/ipc/mbx/rtai_mbx.mod.c
  ld -r -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments -T ./scripts/module-common.lds  --build-id  -o 
/home/ntu/RTAI/src/ipc/mbx/rtai_mbx.ko /home/ntu/RTAI/src/ipc/mbx/rtai_mbx.o 
/home/ntu/RTAI/src/ipc/mbx/rtai_mbx.mod.o ;  true
/bin/bash /home/ntu/RTAI/scripts/autoconf/install-sh -d ../../../modules
/usr/bin/install -c -m 644 rtai_mbx.ko ../../../modules
make[4]: Leaving directory '/home/ntu/RTAI/src/ipc/mbx'
make[4]: Entering directory '/home/ntu/RTAI/src/ipc'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/ntu/RTAI/src/ipc'
make[3]: Leaving directory '/home/ntu/RTAI/src/ipc'
Making all in malloc
make[3]: Entering directory '/home/ntu/RTAI/src/malloc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ntu/RTAI/src/malloc'
Making all in math
make[3]: Entering directory '/home/ntu/RTAI/src/math'
make -C musl
make[4]: Entering directory '/home/ntu/RTAI/src/math/musl'
mkdir -p lib
mkdir -p obj/libm
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__cos.o libm/__cos.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__math_invalid.o 
libm/__math_invalid.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__math_oflow.o 
libm/__math_oflow.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__math_uflow.o 
libm/__math_uflow.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__math_xflow.o 
libm/__math_xflow.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__rem_pio2.o 
libm/__rem_pio2.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__rem_pio2_large.o 
libm/__rem_pio2_large.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__sin.o libm/__sin.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/__tan.o libm/__tan.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/acos.o libm/acos.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/asin.o libm/asin.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/atan.o libm/atan.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/atan2.o libm/atan2.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/ceil.o libm/ceil.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/cos.o libm/cos.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/exp.o libm/exp.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/exp_data.o libm/exp_data.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/fabs.o libm/fabs.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/floor.o libm/floor.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/fmax.o libm/fmax.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/fmin.o libm/fmin.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/fmod.o libm/fmod.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/pow.o libm/pow.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/pow_data.o libm/pow_data.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/round.o libm/round.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/scalbn.o libm/scalbn.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/sin.o libm/sin.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/sincos.o libm/sincos.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/sqrt.o libm/sqrt.c
gcc -O2 -march=x86-64 -fomit-frame-pointer -pipe -D__IN_RTAI__ -mcmodel=kernel 
-nostdinc -ffreestanding -fno-pic -fno-builtin -fno-common -fno-unwind-tables 
-fno-asynchronous-unwind-tables -frounding-math -mpreferred-stack-boundary=4 
-mstackrealign -mfpmath=sse -msse -msse2 -std=c99 -pedantic -ffunction-sections 
-fdata-sections -Iobj/include -I./include -D_XOPEN_SOURCE=700 -Wa,--noexecstack 
-Wall -Werror -Wno-maybe-uninitialized -c -o obj/libm/tan.o libm/tan.c
rm -f lib/libm.a
ar rcT lib/libm.a obj/libm/__cos.o obj/libm/__math_invalid.o 
obj/libm/__math_oflow.o obj/libm/__math_uflow.o obj/libm/__math_xflow.o 
obj/libm/__rem_pio2.o obj/libm/__rem_pio2_large.o obj/libm/__sin.o 
obj/libm/__tan.o obj/libm/acos.o obj/libm/asin.o obj/libm/atan.o 
obj/libm/atan2.o obj/libm/ceil.o obj/libm/cos.o obj/libm/exp.o 
obj/libm/exp_data.o obj/libm/fabs.o obj/libm/floor.o obj/libm/fmax.o 
obj/libm/fmin.o obj/libm/fmod.o obj/libm/pow.o obj/libm/pow_data.o 
obj/libm/round.o obj/libm/scalbn.o obj/libm/sin.o obj/libm/sincos.o 
obj/libm/sqrt.o obj/libm/tan.o
ranlib lib/libm.a
make[4]: Leaving directory '/home/ntu/RTAI/src/math/musl'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /home/ntu/RTAI/src/math/.tmp_versions ; rm -f 
/home/ntu/RTAI/src/math/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/home/ntu/RTAI/src/math
(cat /dev/null;   echo kernel//home/ntu/RTAI/src/math/rtai_math.ko;) > 
/home/ntu/RTAI/src/math/modules.order
  gcc -Wp,-MD,/home/ntu/RTAI/src/math/.rtai_libm.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/math/../.. -I/usr/include 
-isystem include-fixed -O2 -march=x86-64 -fomit-frame-pointer -pipe 
-D__IN_RTAI__ -mcmodel=kernel -nostdinc -ffreestanding -fno-pic -fno-builtin 
-fno-common -fno-unwind-tables -fno-asynchronous-unwind-tables -frounding-math 
-mpreferred-stack-boundary=4 -mstackrealign -mfpmath=sse -msse -msse2 
-D__IN_RTAI__ -D_IEEE_LIBM -D_ISOC99_SOURCE  -DMODULE  
-DKBUILD_BASENAME='"rtai_libm"' -DKBUILD_MODNAME='"rtai_math"' -c -o 
/home/ntu/RTAI/src/math/rtai_libm.o /home/ntu/RTAI/src/math/rtai_libm.c
  ld -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments   -r -o /home/ntu/RTAI/src/math/rtai_math.o 
/home/ntu/RTAI/src/math/rtai_libm.o
make -f ./scripts/Makefile.modpost
  find /home/ntu/RTAI/src/math/.tmp_versions -name '*.mod' | xargs -r grep -h 
'\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -i 
./Module.symvers -I /home/ntu/RTAI/src/math/Module.symvers  -o 
/home/ntu/RTAI/src/math/Module.symvers -S -E -w  -s -T -
WARNING: "acos" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "fmax" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "scalbn" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "asin" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "atan" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "tan" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "exp" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "fmin" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "pow" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "atan2" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "sin" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "cos" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "fmod" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "sincos" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "floor" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "ceil" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "round" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "sqrt" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
WARNING: "fabs" [/home/ntu/RTAI/src/math/rtai_math.ko] undefined!
  gcc -Wp,-MD,/home/ntu/RTAI/src/math/.rtai_math.mod.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/12/include -I./arch/x86/include 
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi 
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h 
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -fshort-wchar 
-Werror-implicit-function-declaration -Werror=return-type -Wno-format-security 
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
-mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic 
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 
-DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation 
-Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector 
-Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-fno-strict-overflow -fno-merge-all-constants -fmerge-constants 
-fno-stack-check -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned 
-I/home/ntu/RTAI/include -I/home/ntu/RTAI/src/math/../.. -I/usr/include 
-isystem include-fixed -O2 -march=x86-64 -fomit-frame-pointer -pipe 
-D__IN_RTAI__ -mcmodel=kernel -nostdinc -ffreestanding -fno-pic -fno-builtin 
-fno-common -fno-unwind-tables -fno-asynchronous-unwind-tables -frounding-math 
-mpreferred-stack-boundary=4 -mstackrealign -mfpmath=sse -msse -msse2 
-D__IN_RTAI__ -D_IEEE_LIBM -D_ISOC99_SOURCE  
-DKBUILD_BASENAME='"rtai_math.mod"' -DKBUILD_MODNAME='"rtai_math"' -DMODULE  -c 
-o /home/ntu/RTAI/src/math/rtai_math.mod.o 
/home/ntu/RTAI/src/math/rtai_math.mod.c
  ld -r -m elf_x86_64  -z max-page-size=0x200000 -z noexecstack 
--no-warn-rwx-segments -T ./scripts/module-common.lds  --build-id  -o 
/home/ntu/RTAI/src/math/rtai_math.ko /home/ntu/RTAI/src/math/rtai_math.o 
/home/ntu/RTAI/src/math/rtai_math.mod.o ;  true
rm -f libm

Ignore the undefined symbol warnings above.

mv rtai_math.ko rtai_math.ko.tmp
/usr/bin/ld -m elf_x86_64 -r -static -o rtai_math.ko rtai_math.ko.tmp 
musl/lib/libm.a
rm -f rtai_math.ko.tmp
/bin/bash /home/ntu/RTAI/scripts/autoconf/install-sh -d ../../modules
/usr/bin/install -c -m 644 rtai_math.ko ../../modules
make[3]: Leaving directory '/home/ntu/RTAI/src/math'
make[3]: Entering directory '/home/ntu/RTAI/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ntu/RTAI/src'
make[2]: Leaving directory '/home/ntu/RTAI/src'
Making all in testsuite
make[2]: Entering directory '/home/ntu/RTAI/testsuite'
gcc -DHAVE_CONFIG_H -I. -I..  -O2 -march=x86-64 -fomit-frame-pointer -pipe 
-I../include    -MT latency-latency.o -MD -MP -MF .deps/latency-latency.Tpo -c 
-o latency-latency.o `test -f 'latency.c' || echo './'`latency.c
mv -f .deps/latency-latency.Tpo .deps/latency-latency.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc     -o latency 
latency-latency.o -lpthread
libtool: link: gcc -o latency latency-latency.o  -lpthread
gcc -DHAVE_CONFIG_H -I. -I..  -O2 -march=x86-64 -fomit-frame-pointer -pipe 
-I../include    -MT display-display.o -MD -MP -MF .deps/display-display.Tpo -c 
-o display-display.o `test -f 'display.c' || echo './'`display.c
mv -f .deps/display-display.Tpo .deps/display-display.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc     -o display 
display-display.o -lpthread
libtool: link: gcc -o display display-display.o  -lpthread
make[2]: Leaving directory '/home/ntu/RTAI/testsuite'
Making all in scripts
make[2]: Entering directory '/home/ntu/RTAI/scripts'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ntu/RTAI/scripts'
make[2]: Entering directory '/home/ntu/RTAI'
make[2]: Leaving directory '/home/ntu/RTAI'
make[1]: Leaving directory '/home/ntu/RTAI'


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

Reply via email to