Can't configure RTEMS for RISC-V BSP

aesee aesee at mail.ru
Sun May 27 19:15:19 UTC 2018


Hi,
I'm trying to build RTEMS image for RISC-V x64 on Ubuntu, but I stuck on configure step.
After command "$HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 --target=riscv64-rtems5 --enable -rtemsbsp=riscv64_generic --enable-tests=samples" I am getting following message:
>...
>checking whether gmake supports nested variables... yes
>checking whether to enable maintainer-specific portions of Makefiles... no
>/home/aesee/development/rtems/kernel/rtems/configure: line 2688: ${target_arch$}*: bad substitution

config.log contains this:
>This file contains any messages produced by compilers while
>running configure, to aid debugging if configure makes a mistake.
>
>It was created by rtems configure 5.0.0, which was
>generated by GNU Autoconf 2.69.  Invocation command line was
>
> $ /home/aesee/development/rtems/kernel/rtems/configure --prefix=/home/aesee/development/rtems/5 --target=riscv64-rtems5 --enable-rtemsbsp=riscv64_generic --enable-tests=samples
>
>## --------- ##
>## Platform. ##
>## --------- ##
>
>hostname = aesee-VirtualBox
>uname -m = x86_64
>uname -r = 4.15.0-22-generic
>uname -s = Linux
>uname -v = #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018
>
>/usr/bin/uname -p = unknown
>/bin/uname -X     = unknown
>
>/bin/arch              = unknown
>/usr/bin/arch -k       = unknown
>/usr/convex/getsysinfo = unknown
>/usr/bin/hostinfo      = unknown
>/bin/machine           = unknown
>/usr/bin/oslevel       = unknown
>/bin/universe          = unknown
>
>PATH: /usr/local/sbin
>PATH: /usr/local/bin
>PATH: /usr/sbin
>PATH: /usr/bin
>PATH: /sbin
>PATH: /bin
>PATH: /usr/games
>PATH: /usr/local/games
>PATH: /home/aesee/riscv-toolchain/bin/
>PATH: /snap/bin
>
>
>## ----------- ##
>## Core tests. ##
>## ----------- ##
>
>configure:1871: checking for gmake
>configure:1887: found /usr/bin/gmake
>configure:1898: result: gmake
>configure:1923: checking for RTEMS Version
>configure:1925: result: 5.0.0
>configure:1955: checking build system type
>configure:1969: result: x86_64-pc-linux-gnu
>configure:1989: checking host system type
>configure:2002: result: x86_64-pc-linux-gnu
>configure:2022: checking target system type
>configure:2035: result: riscv64-unknown-rtems5
>configure:2077: checking for a BSD-compatible install
>configure:2145: result: /usr/bin/install -c
>configure:2156: checking whether build environment is sane
>configure:2211: result: yes
>configure:2362: checking for a thread-safe mkdir -p
>configure:2401: result: /bin/mkdir -p
>configure:2408: checking for gawk
>configure:2424: found /usr/bin/gawk
>configure:2435: result: gawk
>configure:2446: checking whether gmake sets $(MAKE)
>configure:2468: result: yes
>configure:2497: checking whether gmake supports nested variables
>configure:2514: result: yes
>configure:2632: checking whether to enable maintainer-specific portions of Makefiles
>configure:2641: result: no
>
>## ---------------- ##
>## Cache variables. ##
>## ---------------- ##
>
>ac_cv_build=x86_64-pc-linux-gnu
>ac_cv_env_build_alias_set=
>ac_cv_env_build_alias_value=
>ac_cv_env_host_alias_set=
>ac_cv_env_host_alias_value=
>ac_cv_env_target_alias_set=set
>ac_cv_env_target_alias_value=riscv64-rtems5
>ac_cv_host=x86_64-pc-linux-gnu
>ac_cv_path_install='/usr/bin/install -c'
>ac_cv_path_mkdir=/bin/mkdir
>ac_cv_prog_AWK=gawk
>ac_cv_prog_MAKE=gmake
>ac_cv_prog_make_gmake_set=yes
>ac_cv_target=riscv64-unknown-rtems5
>am_cv_make_support_nested_variables=yes
>
>## ----------------- ##
>## Output variables. ##
>## ----------------- ##
>
>ACLOCAL='${SHELL} /home/aesee/development/rtems/kernel/rtems/missing aclocal-1.15'
>AMTAR='$${TAR-tar}'
>AM_BACKSLASH='\'
>AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
>AM_DEFAULT_VERBOSITY='1'
>AM_V='$(V)'
>AUTOCONF='${SHELL} /home/aesee/development/rtems/kernel/rtems/missing autoconf'
>AUTOHEADER='${SHELL} /home/aesee/development/rtems/kernel/rtems/missing autoheader'
>AUTOMAKE='${SHELL} /home/aesee/development/rtems/kernel/rtems/missing automake-1.15'
>AWK='gawk'
>CYGPATH_W='echo'
>DEFS=''
>ECHO_C=''
>ECHO_N='-n'
>ECHO_T=''
>INSTALL_DATA='${INSTALL} -m 644'
>INSTALL_PROGRAM='${INSTALL}'
>INSTALL_SCRIPT='${INSTALL}'
>INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
>LIBOBJS=''
>LIBS=''
>LTLIBOBJS=''
>MAINT='#'
>MAINTAINER_MODE_FALSE=''
>MAINTAINER_MODE_TRUE='#'
>MAKE='gmake'
>MAKEINFO='${SHELL} /home/aesee/development/rtems/kernel/rtems/missing makeinfo'
>MKDIR_P='/bin/mkdir -p'
>PACKAGE='rtems'
>PACKAGE_BUGREPORT=' https://devel.rtems.org/newticket '
>PACKAGE_NAME='rtems'
>PACKAGE_STRING='rtems 5.0.0'
>PACKAGE_TARNAME='rtems'
>PACKAGE_URL=''
>PACKAGE_VERSION='5.0.0'
>PATH_SEPARATOR=':'
>PROJECT_ROOT='./$(top_builddir)'
>PROJECT_TOPdir='./$(top_builddir)'
>RTEMS_BUILD_ROOT=''
>RTEMS_CC=''
>RTEMS_HAS_NETWORKING=''
>RTEMS_HAS_POSIX_API=''
>RTEMS_SOURCE_ROOT=''
>RTEMS_TOPdir='.'
>SET_MAKE=''
>SHELL='/bin/bash'
>STRIP=''
>VERSION='5.0.0'
>am__isrc=' -I$(srcdir)'
>am__leading_dot='.'
>am__tar='$${TAR-tar} chof - "$$tardir"'
>am__untar='$${TAR-tar} xf -'
>bindir='${exec_prefix}/bin'
>build='x86_64-pc-linux-gnu'
>build_SUBDIRS=''
>build_alias=''
>build_configdirs=''
>build_cpu='x86_64'
>build_os='linux-gnu'
>build_subdir=''
>build_vendor='pc'
>buildargs=''
>datadir='${datarootdir}'
>datarootdir='${prefix}/share'
>docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
>dvidir='${docdir}'
>exec_prefix='NONE'
>host='x86_64-pc-linux-gnu'
>host_SUBDIRS=''
>host_alias=''
>host_configdirs=''
>host_cpu='x86_64'
>host_os='linux-gnu'
>host_subdir=''
>host_vendor='pc'
>hostargs=''
>htmldir='${docdir}'
>includedir='${prefix}/include'
>infodir='${datarootdir}/info'
>install_sh='${SHELL} /home/aesee/development/rtems/kernel/rtems/install-sh'
>libdir='${exec_prefix}/lib'
>libexecdir='${exec_prefix}/libexec'
>localedir='${datarootdir}/locale'
>localstatedir='${prefix}/var'
>mandir='${datarootdir}/man'
>mkdir_p='$(MKDIR_P)'
>oldincludedir='/usr/include'
>pdfdir='${docdir}'
>pkgdatadir='${datarootdir}/rtems5'
>prefix='/home/aesee/development/rtems/5'
>program_transform_name='s&^&riscv64-rtems5-&'
>psdir='${docdir}'
>runstatedir='${localstatedir}/run'
>sbindir='${exec_prefix}/sbin'
>sharedstatedir='${prefix}/com'
>sysconfdir='${prefix}/etc'
>target='riscv64-unknown-rtems5'
>target_SUBDIRS=''
>target_alias='riscv64-rtems5'
>target_configdirs=''
>target_cpu='riscv64'
>target_os='rtems5'
>target_subdir=''
>target_vendor='unknown'
>targetargs=''
>
>## ----------- ##
>## confdefs.h. ##
>## ----------- ##
>
>/* confdefs.h */
>#define PACKAGE_NAME "rtems"
>#define PACKAGE_TARNAME "rtems"
>#define PACKAGE_VERSION "5.0.0"
>#define PACKAGE_STRING "rtems 5.0.0"
>#define PACKAGE_BUGREPORT " https://devel.rtems.org/newticket "
>#define PACKAGE_URL ""
>
>configure: exit 1

Please, somebody, explain what I do wrong. I researched google but can't found any solution for this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180527/1b43bd06/attachment.html>


More information about the users mailing list