Building RTEMS: make install command error

Christian Castellaro christian.castellaro at students.hevs.ch
Mon Jun 28 08:11:08 UTC 2010


Hello,

After following the guide for installing MinGW (http://www.rtems.org/wiki/index.php/MinGW_Tools_for_Windows)

I tried building RTEMS as in the example given in the chapter RTEMS Build. I used RTEMS version 4.9.4 instead of 4.9.1 in the example...

When the command make install is called I get an error:

/************FULL LOG OF the building commands************/

admin_castellc at WE2782 /c/home
$ export PATH="/opt/rtems-4.9/bin:$PATH"

admin_castellc at WE2782 /c/home
$ tar xjf /c/rtems-4.9.4.tar.bz2

admin_castellc at WE2782 /c/home
$ mkdir rtems-4.9.4-psim

admin_castellc at WE2782 /c/home
$ cd rtems-4.9.4-psim

admin_castellc at WE2782 /c/home/rtems-4.9.4-psim
$ ../rtems-4.9.4/configure --target=powerpc-rtems4.9 --enable-rtemsbsp=psim --e
nable-cxx --enable-tests=samples
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... powerpc-unknown-rtems4.9
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/sh '../../../rtems-4.9.4/tools/build/configure' '--prefix=/opt/rtems-4.9' '--host=i686-pc-mingw32' '--build=i686-pc-mingw32'  '--enable-rtemsbsp=psim' '--enable-cxx' '--enable-tests=samples' '--target=powerpc-rtems4.9'  '--cache-file=/dev/null' '--srcdir=../../../rtems-4.9.4/tools/build'
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-mingw32-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 for style of include used by gmake... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... no
checking for ksh... no
checking for sh... /bin/sh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/sh '../../../rtems-4.9.4/tools/cpu/configure' '--prefix=/opt/rtems-4.9' '--host=i686-pc-mingw32' '--build=i686-pc-mingw32'  '--enable-rtemsbsp=psim' '--enable-cxx' '--enable-tests=samples' '--target=powerpc-rtems4.9'  '--cache-file=/dev/null' '--srcdir=../../../rtems-4.9.4/tools/cpu'
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... powerpc-unknown-rtems4.9
checking rtems target cpu... powerpc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... no
checking for ksh... no
checking for sh... /bin/sh
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/c/home/rtems-4.9.4-psim/tools/cpu/generic)
configure: running /bin/sh ../../../../rtems-4.9.4/tools/cpu/generic/configure --disable-option-checking '--prefix=/opt/rtems-4.9'  '--host=i686-pc-mingw32' '--build=i686-pc-mingw32' '--enable-rtemsbsp=psim' '--enable-cxx' '--enable-tests=samples' '--target=powerpc-rtems4.9' 'build_alias=i686-pc-mingw32' 'host_alias=i686-pc-mingw32' 'target_alias=powerpc-rtems4.9' --cache-file=/dev/null --srcdir=../../../../rtems-4.9.4/tools/cpu/generic
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... powerpc-unknown-rtems4.9
checking rtems target cpu... powerpc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... no
checking for ksh... no
checking for sh... /bin/sh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
configure: configuring in ./testsuites/tools
configure: running /bin/sh '../../../rtems-4.9.4/testsuites/tools/configure' '--prefix=/opt/rtems-4.9' '--host=i686-pc-mingw32' '--build=i686-pc-mingw32'  '--enable-rtemsbsp=psim' '--enable-cxx' '--enable-tests=samples' '--target=powerpc-rtems4.9'  '--cache-file=/dev/null' '--srcdir=../../../rtems-4.9.4/testsuites/tools'
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... powerpc-unknown-rtems4.9
checking rtems target cpu... powerpc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/c/home/rtems-4.9.4-psim/testsuites/tools/generic)
configure: running /bin/sh ../../../../rtems-4.9.4/testsuites/tools/generic/configure --disable-option-checking '--prefix=/opt/rtems-4.9'  '--host=i686-pc-mingw32' '--build=i686-pc-mingw32' '--enable-rtemsbsp=psim' '--enable-cxx' '--enable-tests=samples' '--target=powerpc-rtems4.9' 'build_alias=i686-pc-mingw32' 'host_alias=i686-pc-mingw32' 'target_alias=powerpc-rtems4.9' --cache-file=/dev/null --srcdir=../../../../rtems-4.9.4/testsuites/tools/generic
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... powerpc-unknown-rtems4.9
checking rtems target cpu... powerpc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... no
checking for ksh... no
checking for sh... /bin/sh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating difftest
config.status: creating sorttimes
configure: configuring in powerpc-rtems4.9/c
configure: running /bin/sh '../../../rtems-4.9.4/c/configure' '--prefix=/opt/rtems-4.9' '--host=powerpc-rtems4.9' '--build=i686-pc-mingw32' '--target=powerpc-rtems4.9'  '--enable-rtemsbsp=psim' '--enable-cxx' '--enable-tests=samples' '--with-target-subdir=powerpc-rtems4.9' '--exec-prefix=/opt/rtems-4.9/powerpc-rtems4.9' '--includedir=/opt/rtems-4.9/powerpc-rtems4.9/include'  '--cache-file=/dev/null' '--srcdir=../../../rtems-4.9.4/c'
checking for gmake... gmake
checking for RTEMS Version... 4.9.4
checking build system type... i686-pc-mingw32
checking host system type... powerpc-unknown-rtems4.9
checking target system type... powerpc-unknown-rtems4.9
checking rtems target cpu... powerpc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for powerpc-rtems4.9-strip... no
checking for strip... strip
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf at gnu.org.
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for psim.cfg... ../../../rtems-4.9.4/c/../make/custom/psim.cfg
configure: creating ./config.status
config.status: creating Makefile

target architecture: powerpc.
available BSPs: psim.
'gmake all' will build the following BSPs: psim.
other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'

config.status: creating Makefile
config.status: creating make/Makefile

admin_castellc at WE2782 /c/home/rtems-4.9.4-psim
$ make install
Making install in make
c:\programs\ti\bin\gmake.exe[1]: Entering directory `c:/home/rtems-4.9.4-psim/make'
gmake[2]: Entering directory `c:/home/rtems-4.9.4-psim/make'
gmake[2]: Nothing to be done for `install-exec-am'.
test -z "/opt/rtems-4.9/make" || /bin/mkdir -p "/opt/rtems-4.9/make"
'test' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
'list' is not recognized as an internal or external command,
operable program or batch file.
-f was unexpected at this time.
gmake[2]: *** [install-dist_rtems_makeDATA] Error 255
gmake[2]: Leaving directory `c:/home/rtems-4.9.4-psim/make'
The batch file cannot be found.
c:\programs\ti\bin\gmake.exe[1]: *** [install-am] Error 1
c:\programs\ti\bin\gmake.exe[1]: Leaving directory `c:/home/rtems-4.9.4-psim/make'
make: *** [install-recursive] Error 1


/****************END OF LOG*************************/

What did I do wrong to get this error and how can I solve this problem???

Thanks a lot





More information about the users mailing list