RTXI / rtxi

Tutorials, FAQs, and more at http://rtxi.org/docs
GNU General Public License v3.0
53 stars 15 forks source link

bug in instal_rt_kernel script #42

Closed Hananel-Hazan closed 10 years ago

Hananel-Hazan commented 10 years ago

for some reason the letters '-e' is missing in line 126 in: $xenomai_root/configure -nable-shared -nable-smp -nable-posix-auto-mlockall -nable-dlopen-skins -nable-x86-sep

Also, after running this line with 'e' I am getting: configuration: WARNING: unrecognized options: --enable-posix-auto-mlockall --enable-dlopen-skins

yapatel commented 10 years ago

which version of xenomai are you using?

Hananel-Hazan commented 10 years ago

what is set in the script xenomai 2.6.3 and linux 3.8.13

yapatel commented 10 years ago

can you pull the latest code and run the scripts again? I just tested; did not have a problem with those flags

Yogi

On 09/07/2014 10:13 AM, Hananel-Hazan wrote:

what is set in the script xenomai 2.6.3 and linux 3.8.13

— Reply to this email directly or view it on GitHub https://github.com/RTXI/rtxi/issues/42#issuecomment-54747839.

Hananel-Hazan commented 10 years ago

Yes, I still got it

here is the log:

root@rtlinux-desktop:/opt/build# $xenomai_root/configure --enable-shared --enable-smp --enable-posix-auto-mlockall --enable-dlopen-skins --enable-x86-sep configure: WARNING: unrecognized options: --enable-posix-auto-mlockall, --enable-dlopen-skins 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 gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking dependency style of gcc... gcc3 checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for target architecture... x86 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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) 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 /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/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 for debug symbols... no checking for atomic operation support... ad-hoc checking for SMP support... y checking for x86 SEP instructions in syscalls... y checking for x86 TSC support... y checking whether installing documentation... doc checking for Doxygen documentation... no checking for doxygen... no checking for dot... NO checking whether compiling Docbook XML documentation... no checking for xmllint... xmllint checking for xsltproc... xsltproc checking for fop... no checking whether Docbook XML documentation generation can use network.... no checking for docbook-xml root dir... /usr/share/sgml/docbook/dtd/xml/4.2 checking for docbook-xsl root dir... /usr/share/sgml/docbook/stylesheet/xsl/nwalsh checking whether using LaTeX non-stop mode... no checking for asciidoc documentation... no checking for asciidoc... asciidoc checking for a2x... a2x checking for w3m... no checking mqueue.h usability... yes checking mqueue.h presence... yes checking for mqueue.h... yes checking for shm_open... yes checking for shm_unlink... yes checking for open64... yes checking for mmap64... yes checking for ftruncate64... yes checking for pthread_mutexattr_setprotocol... yes checking for pthread_condattr_setclock... yes checking for pthread_spin_lock... yes checking for fork... yes checking for sched_setaffinity... ok checking for specific GCC switches... done checking whether ld supports @file... yes checking location for test binaries... ${exec_prefix}/bin checking for fortify support... autodetect checking for __vfprintf_chk... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating scripts/Makefile config.status: creating scripts/xeno-config config.status: creating scripts/xeno config.status: creating src/Makefile config.status: creating src/skins/Makefile config.status: creating src/skins/common/Makefile config.status: creating src/skins/posix/Makefile config.status: creating src/skins/native/Makefile config.status: creating src/skins/native/libxenomai_native.pc config.status: creating src/skins/vxworks/Makefile config.status: creating src/skins/vxworks/libxenomai_vxworks.pc config.status: creating src/skins/psos+/Makefile config.status: creating src/skins/psos+/libxenomai_psos+.pc config.status: creating src/skins/vrtx/Makefile config.status: creating src/skins/vrtx/libxenomai_vrtx.pc config.status: creating src/skins/rtdm/Makefile config.status: creating src/skins/rtdm/libxenomai_rtdm.pc config.status: creating src/skins/uitron/Makefile config.status: creating src/skins/uitron/libxenomai_uitron.pc config.status: creating src/drvlib/Makefile config.status: creating src/drvlib/analogy/Makefile config.status: creating src/include/Makefile config.status: creating src/testsuite/Makefile config.status: creating src/testsuite/latency/Makefile config.status: creating src/testsuite/cyclic/Makefile config.status: creating src/testsuite/switchtest/Makefile config.status: creating src/testsuite/irqbench/Makefile config.status: creating src/testsuite/clocktest/Makefile config.status: creating src/testsuite/klatency/Makefile config.status: creating src/testsuite/unit/Makefile config.status: creating src/testsuite/xeno-test/Makefile config.status: creating src/testsuite/regression/Makefile config.status: creating src/testsuite/regression/native/Makefile config.status: creating src/testsuite/regression/posix/Makefile config.status: creating src/testsuite/regression/native+posix/Makefile config.status: creating src/utils/Makefile config.status: creating src/utils/can/Makefile config.status: creating src/utils/analogy/Makefile config.status: creating src/utils/ps/Makefile config.status: creating include/Makefile config.status: creating include/asm-generic/Makefile config.status: creating include/asm-generic/bits/Makefile config.status: creating include/asm-blackfin/Makefile config.status: creating include/asm-blackfin/bits/Makefile config.status: creating include/asm-x86/Makefile config.status: creating include/asm-x86/bits/Makefile config.status: creating include/asm-powerpc/Makefile config.status: creating include/asm-powerpc/bits/Makefile config.status: creating include/asm-arm/Makefile config.status: creating include/asm-arm/bits/Makefile config.status: creating include/asm-nios2/Makefile config.status: creating include/asm-nios2/bits/Makefile config.status: creating include/asm-sh/Makefile config.status: creating include/asm-sh/bits/Makefile config.status: creating include/asm-sim/Makefile config.status: creating include/asm-sim/bits/Makefile config.status: creating include/native/Makefile config.status: creating include/nucleus/Makefile config.status: creating include/posix/Makefile config.status: creating include/posix/sys/Makefile config.status: creating include/psos+/Makefile config.status: creating include/rtdm/Makefile config.status: creating include/analogy/Makefile config.status: creating include/uitron/Makefile config.status: creating include/vrtx/Makefile config.status: creating include/vxworks/Makefile config.status: creating src/skins/posix/libxenomai_posix.pc config.status: creating doc/Makefile config.status: creating doc/txt/Makefile config.status: creating doc/man/Makefile config.status: creating doc/doxygen/Makefile config.status: creating doc/doxygen/Doxyfile-common config.status: creating doc/doxygen/Doxyfile config.status: creating doc/doxygen/Doxyfile-native config.status: creating doc/doxygen/Doxyfile-nucleus config.status: creating doc/doxygen/Doxyfile-posix config.status: creating doc/doxygen/Doxyfile-rtdm config.status: creating doc/asciidoc/Makefile config.status: creating doc/docbook/Makefile config.status: creating doc/docbook/catalog config.status: creating doc/docbook/custom-stylesheets/Makefile config.status: creating doc/docbook/custom-stylesheets/xsl/Makefile config.status: creating doc/docbook/custom-stylesheets/xsl/common/Makefile config.status: creating doc/docbook/custom-stylesheets/xsl/fo/Makefile config.status: creating doc/docbook/custom-stylesheets/xsl/html/Makefile config.status: creating doc/docbook/custom-stylesheets/xsl/html/chunk.xsl config.status: creating doc/docbook/custom-stylesheets/xsl/html/onechunk.xsl config.status: creating doc/docbook/xenomai/Makefile config.status: creating src/include/xeno_config.h config.status: linking /opt/xenomai-2.6.3/include/asm-x86 to src/include/asm/xenomai config.status: linking /opt/xenomai-2.6.3/include/asm-generic to src/include/asm-generic/xenomai config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --enable-posix-auto-mlockall, --enable-dlopen-skins root@rtlinux-desktop:/opt/build#

yapatel commented 10 years ago

these have been removed. newer versions of xenomai compile the user space libraries with all skins built in and with mlockall called at instantiation of any rt application