Error in rtai make config (After building rtai kernel image with no errors)
bhargavb <[email protected]> Fri, 21 Apr 2017 11:47:37 +0530
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <CA+bpL9LGCKAi3a=OQhABAorcWkXddKrFiUK3gR5j6muOtYfxkw@mail.gmail.com> |
Dear team, I have built rtai kernel but at "STEP 9 - Configure and install RTAI" in target how to manual, getting error during sudo make config as below: config.status: error: cannot find input file: `testsuite/kthreads/GNUmakefile.in' makefile:53: recipe for target 'config.status' failed make[1]: *** [config.status] Error 1 make[1]: Leaving directory '/usr/src/RTAI' GNUmakefile:918: recipe for target 'config' failed make: *** [config] Error 2 The complete error log is attached. This is rtai patch (magma) - hal-linux-3.16-x86-3.patch NOTE1 : Though I could build the image succesfully and can see the new option in boot screen of grub, unable to boot to the new rtai kernel. Not sure if "make config" step of rtai has got something to do with the boot problem, but it doesnt seem so. So that should be different issue completely, just mentioning here in case required.... Thank you Bhargav _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
rtai_make_config.log
(text/x-log, 15.8 KB)
bhargav@bhargav-Latitude-E6500:/usr/src/rtai$ sudo make config
[sudo] password for bhargav:
make[1]: Entering directory '/usr/src/RTAI'
make[2]: Entering directory '/usr/src/RTAI/base/config/kconfig'
#
# using defaults found in ../../../.rtai_config
#
*
* Linux Kernel Configuration
*
*
* General
*
Installation directory (RTAI_INSTALLDIR) [/usr/realtime]
Linux source tree (RTAI_LINUXDIR) [/usr/src/linux]
*
* RTAI Documentation
*
Build RTAI Doxygen documentation (HTML) (RTAI_DOX_DOC) [N/y/?]
Enable LaTeX verbose output (RTAI_DOC_LATEX_NONSTOP) [N/y/?]
Build DocBook XML documentation (HTML/PDF) (RTAI_DBX_DOC) [N/y/?]
Build RTAI testsuite (RTAI_TESTSUITE) [Y/n/?]
Enable source compatibility mode (RTAI_COMPAT) [Y/n/?]
Enable extended configuration mode (RTAI_EXTENDED) [N/y/?]
Inlining mode of user-space services
> 1. No inlining (RTAI_LXRT_NO_INLINE)
2. Eager inlining (RTAI_LXRT_STATIC_INLINE)
choice[1-2?]:
Fortify source (RTAI_FORTIFY_SOURCE) []
*
* Machine (x86)
*
Enable FPU support (RTAI_FPU_SUPPORT) [Y/n/?]
Number of CPUs (SMP-only) (RTAI_CPUS) [1]
Diagnose out of sync MP-TSCs (RTAI_DIAG_TSC_SYNC) [N/y/?]
*
* Base system
*
*
* Scheduling options
*
Disable immediate rescheduling from within ISRs (RTAI_SCHED_ISR_LOCK) [N/y/?]
Use a binary tree ordering for RTAI schedulers timed lists. (RTAI_LONG_TIMED_LIST) [N/y/?]
Latency self calibration (RTAI_SCHED_LATENCY_SELFCALIBRATE) [Y/n/?]
Scheduling latency (ns) (RTAI_SCHED_LATENCY) [0]
Delay to return to a switched in timed kernel task (ns) (RTAI_KERN_BUSY_ALIGN_RET_DELAY) [0]
Delay to return to a switched in timed user task (ns) (RTAI_USER_BUSY_ALIGN_RET_DELAY) [0]
Number of registrable RTAI objects (RTAI_SCHED_LXRT_NUMSLOTS) [150]
Display RTAI task execution time (in per thousand) (RTAI_MONITOR_EXECTIME) [Y/n/?]
Allow round-robin scheduling (RTAI_ALLOW_RR) [Y/n/?]
Enable full priority inheritance (RTAI_FULL_PRINHER) [N/y/?]
Keep Linux task priority aligned to RTAI (RTAI_ALIGN_LINUX_PRIORITY) [N/y/?]
One-shot timer mode (RTAI_ONE_SHOT) [N/y/?]
Cure loosely calibrated frequencies - see help (RTAI_CAL_FREQS_FACT) [0]
*
* Supported services
*
Event flags (RTAI_BITS) [M/n/y/?]
Fifo (RTAI_FIFOS) [M/n/y/?]
Net RPC (RTAI_NETRPC) [M/n/?]
Use RTNet (RTAI_NETRPC_RTNET) [N/y/?]
Shared memory (RTAI_SHM) [M/n/y/?]
Semaphores (RTAI_SEM) [M/n/y/?]
Enable IPCs polling (RTAI_RT_POLL) [N/y/?]
Message (RTAI_MSG) [M/n/y/?]
Mailboxes (RTAI_MBX) [M/n/?]
RTAI message queues and typed mailboxes (RTAI_TBX) [M/n/?]
Tasklets (RTAI_TASKLETS) [M/n/y/?]
POSIX-like message queues (RTAI_MQ) [M/n/?]
Support for Posix CLOCK_REALTIME APIs (RTAI_CLOCK_REALTIME) [Y/n/?]
*
* Other features
*
New return values of blocking RTAI APIs (RTAI_USE_NEWERR) [N/y/?]
Mathfuns support in kernel (RTAI_MATH) [N/y/?]
Real-time malloc support (RTAI_MALLOC) [Y/n/m/?]
Allocate memory using TLSF in place of BSD one (RTAI_USE_TLSF) [N/y/?]
Use vmalloc() support (RTAI_MALLOC_VMALLOC) [Y/n/?]
Size of the global heap (Kbytes) (RTAI_MALLOC_HEAPSZ) [2048]
Size of stacks heap for RTAI own kernel tasks (Kbytes) (RTAI_KSTACK_HEAPSZ) [512]
task switches specific signal (RTAI_TASK_SWITCH_SIGNAL) [N/y/?]
User-space interrupts (RTAI_USI) [N/y/?]
Watchdog support (RTAI_WD) [Y/n/?]
*
* Add-ons
*
Real Time COMEDI support in user space (RTAI_COMEDI_LXRT) [N/y/?]
In-kernel C++ support (RTAI_CPLUSPLUS) [N/y/?]
Real-Time Driver Model over RTAI (RTAI_RTDM) [N/y/?]
*
* Drivers
*
RTAI serial line driver (RTAI_DRIVERS_SERIAL) [Y/n/?]
*
* RTAI Lab
*
RTAI Lab (RTAI_LAB) [N/y/?]
make[2]: Leaving directory '/usr/src/RTAI/base/config/kconfig'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for CROSS_COMPILE...
checking for x86_64-unknown-linux-gnu-gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether build environment is sane... yes
/usr/src/RTAI/base/config/autoconf/missing: Unknown `--is-lightweight' option
Try `/usr/src/RTAI/base/config/autoconf/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of cc... gcc3
checking dependency style of g++... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-unknown-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-unknown-linux-gnu-strip... strip
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking command to parse nm output from cc object... ok
checking for sysroot... no
checking for x86_64-unknown-linux-gnu-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of cc... gcc3
checking for RTAI Kconfig file... ./.rtai_config (supplied)
checking for module installation directory... ${exec_prefix}/modules
checking for Linux source tree... /usr/src/linux (kernel 3.16.7-SMP)
checking for RTAI base technology... RTAI Adeos-newgen HAL
checking for kernel architecture... CONFIG_X86_64
checking for MMU support... yes
checking for trace support... no
checking for math support... no
checking for bits IPC support... m
checking for real-time fifos support... m
checking for netrpc support... m
checking for netrpc emulation of RTNet... no
checking for semaphore support... m
checking for RT POLL support... no
checking for RT POLL on stack... no
checking for messaging support... m
checking for mailbox support... m
checking for typed mailbox support... m
checking for POSIX-like message queue support... m
checking for shared memory support... m
checking for real-time malloc support... y
checking for tasklets support... m
checking for user-space interrupt support... no
checking for watchdog support... y
checking for leds-based debugging support... no
checking whether LXRT wraps service calls through Linux syscalls... no
checking for scheduler lock in ISRs... no
checking for RTC freq... 0
checking for long timed lists... no
checking for tuning latency... 0
checking for user busy align ret delay... 0
checking for kernel busy align ret delay... 0
checking for maximum number of LXRT slots... 150
checking for RTDM support... no
checking for maximum file descriptors in RTDM... 128
checking for shared interrupts in RTDM... no
checking for select(2) support in RTDM... no
checking for RTDM debug... no
checking for task switch signal... no
checking for Linux task priority alignment to RTAI... no
checking for in-kernel C++ support... no
checking for calibration frequency factor... 0
checking if gcc accepts -fno-use-cxa-atexit... yes
checking for comedi support over LXRT... no
checking for comedi lock... no
checking for real-time serial driver... y
checking for real-time serial driver... no
checking for real-time serial driver hardware access mode...
checking for testsuite... y
checking for RTAI-Lab... no
checking for FPU support... y
checking for math C99 support... no
checking for tlsf use in real-time malloc support... no
checking for vmalloc use in real-time malloc support... y
checking for size of real-time malloc heap... 2048
checking for size of real-time kernel task stack heap... 512
checking for number of CPUs (SMP-only)... 1
checking for diagnose out of sync MP-TSCs... no
checking for master CPU for aligning MP-TSCs...
checking for tune out of sync MP-TSCs... no
checking for Doxygen documentation... no
checking for doxygen... doxygen
checking doxygen version... 1.8.8
checking for dot... NO
checking whether compiling Docbook XML documentation... no
checking for xmllint... xmllint
checking for xsltproc... xsltproc
checking for fop.sh... no
checking whether Docbook XML documentation generation can use network.... no
checking for docbook-xml root dir... network
checking for docbook-xsl root dir... network
checking whether using LaTeX non-stop mode... no
checking for LXRT inlining... none
checking for debug symbols in kernel modules... no
checking for debug symbols in user-space programs... no
checking for RTAI simulator... not present
checking for kernel module extension... .ko
checking for gcc version >= 3.3... ok
checking for RTAI target architecture... x86 (64)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating base/GNUmakefile
config.status: creating base/arch/GNUmakefile
config.status: creating base/include/GNUmakefile
config.status: creating base/ipc/GNUmakefile
config.status: creating base/sched/GNUmakefile
config.status: creating base/sched/liblxrt/GNUmakefile
config.status: creating base/scripts/GNUmakefile
config.status: creating base/scripts/rtai-config
config.status: creating base/scripts/rtai-load
config.status: creating base/arch/i386/GNUmakefile
config.status: creating base/arch/i386/hal/GNUmakefile
config.status: creating base/arch/i386/calibration/GNUmakefile
config.status: creating base/arch/i386/calibration/setsmi
config.status: creating base/include/asm-i386/GNUmakefile
config.status: creating base/arch/x86_64/GNUmakefile
config.status: creating base/arch/x86_64/hal/GNUmakefile
config.status: creating base/arch/x86_64/calibration/GNUmakefile
config.status: creating base/arch/x86_64/calibration/setsmi
config.status: creating base/include/asm-x86_64/GNUmakefile
config.status: creating base/arch/x86/GNUmakefile
config.status: creating base/arch/x86/hal/GNUmakefile
config.status: creating base/arch/x86/calibration/GNUmakefile
config.status: creating base/arch/x86/calibration/setsmi
config.status: creating base/include/asm-x86/GNUmakefile
config.status: creating base/arch/arm/GNUmakefile
config.status: creating base/arch/arm/hal/GNUmakefile
config.status: creating base/include/asm-arm/GNUmakefile
config.status: creating base/arch/ppc/GNUmakefile
config.status: creating base/arch/ppc/hal/GNUmakefile
config.status: creating base/include/asm-ppc/GNUmakefile
config.status: creating base/arch/m68k/GNUmakefile
config.status: creating base/arch/m68k/hal/GNUmakefile
config.status: creating base/include/asm-m68k/GNUmakefile
config.status: creating base/ipc/bits/GNUmakefile
config.status: creating base/ipc/fifos/GNUmakefile
config.status: creating base/ipc/netrpc/GNUmakefile
config.status: creating base/ipc/shm/GNUmakefile
config.status: creating base/ipc/sem/GNUmakefile
config.status: creating base/ipc/msg/GNUmakefile
config.status: creating base/ipc/mbx/GNUmakefile
config.status: creating base/ipc/tbx/GNUmakefile
config.status: creating base/ipc/mq/GNUmakefile
config.status: creating base/math/GNUmakefile
config.status: creating base/malloc/GNUmakefile
config.status: creating base/tasklets/GNUmakefile
config.status: creating base/trace/GNUmakefile
config.status: creating base/wd/GNUmakefile
config.status: creating base/usi/GNUmakefile
config.status: creating base/leds/GNUmakefile
config.status: creating base/posix/GNUmakefile
config.status: creating addons/GNUmakefile
config.status: creating addons/cpp/GNUmakefile
config.status: creating addons/comedi/GNUmakefile
config.status: creating addons/drivers/GNUmakefile
config.status: creating addons/drivers/serial/GNUmakefile
config.status: creating addons/drivers/16550A/GNUmakefile
config.status: creating addons/rtdm/GNUmakefile
config.status: creating addons/rtdm/lib/GNUmakefile
config.status: creating rtai-lab/GNUmakefile
config.status: creating rtai-lab/matlab/GNUmakefile
config.status: creating rtai-lab/matrixx/GNUmakefile
config.status: creating rtai-lab/scilab/GNUmakefile
config.status: creating rtai-lab/scicoslab/GNUmakefile
config.status: creating rtai-lab/scilab/utility/GNUmakefile
config.status: creating testsuite/GNUmakefile
config.status: creating testsuite/kern/GNUmakefile
config.status: creating testsuite/kern/latency/GNUmakefile
config.status: creating testsuite/kern/preempt/GNUmakefile
config.status: creating testsuite/kern/switches/GNUmakefile
config.status: error: cannot find input file: `testsuite/kthreads/GNUmakefile.in'
makefile:53: recipe for target 'config.status' failed
make[1]: *** [config.status] Error 1
make[1]: Leaving directory '/usr/src/RTAI'
GNUmakefile:918: recipe for target 'config' failed
make: *** [config] Error 2
bhargav@bhargav-Latitude-E6500:/usr/src/rtai$