Build Failure with 4.10 lm32

Graham Henderson graham615 at yahoo.com
Thu Feb 17 01:59:21 UTC 2011


Hello:
 
I am attempting to build Rtems 4.10 for the Lattice Mico32 processor (lm32) on Windows 7 with cygwin.  I have installed the 4.10 lm32 pre-compiled tools, run ./bootstrap, configure and make.    When running make, there does not seem to be any output and make terminates with:
 
Making all in lm32_evr
make[2]: Entering directory `/home/Graham/build-rtems/lm32-rtems4.10/c/lm32_evr'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/Graham/build-rtems/lm32-rtems4.10/c/lm32_evr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Graham/build-rtems/lm32-rtems4.10/c'
make: *** [all-recursive] Error 1
 
I have included the output of configure and make as well as my path and the contents of the tool directory.  I am new at this ( two days) and at a loss.  Any advice would be appreciated.
 
Best,
 
Graham......
 
 
$ export PATH=/opt/rtems-4.10:/opt/rtems-4.10/bin:$PATH
Graham at RoadHog ~/build-rtems
$ cd /opt/rtems-4.10
Graham at RoadHog /opt/rtems-4.10
$ cd $HOME
Graham at RoadHog ~
$ cd build*
Graham at RoadHog ~/build-rtems
$ ../rtems/configure --target=lm32-rtems4.10 --prefix=/opt/rtems-4.10  --enable
-doc --enable-cxx --enable-rdbg --enable-tests --enable-posix  --enable-network
ing
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... lm32-unknown-rtems4.10
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/sh '../../../rtems/tools/build/configure' '--prefix=/opt
/rtems-4.10' '--host=i686-pc-cygwin' '--build=i686-pc-cygwin'  '--enable-doc' '-
-enable-cxx' '--enable-rdbg' '--enable-tests' '--enable-posix' '--enable-network
ing' '--target=lm32-rtems4.10'  '--cache-file=/dev/null' '--srcdir=../../../rtem
s/tools/build'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... i686-pc-cygwin-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
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 i686-pc-cygwin-gcc accepts -g... yes
checking for i686-pc-cygwin-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-cygwin-gcc... gcc3
checking how to run the C preprocessor... i686-pc-cygwin-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/sh '../../../rtems/tools/cpu/configure' '--prefix=/opt/r
tems-4.10' '--host=i686-pc-cygwin' '--build=i686-pc-cygwin'  '--enable-doc' '--e
nable-cxx' '--enable-rdbg' '--enable-tests' '--enable-posix' '--enable-networkin
g' '--target=lm32-rtems4.10'  '--cache-file=/dev/null' '--srcdir=../../../rtems/
tools/cpu'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... lm32-unknown-rtems4.10
checking rtems target cpu... lm32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/home/Graham/build-rtems/tools/cpu/generic)
configure: running /bin/sh ../../../../rtems/tools/cpu/generic/configure --disab
le-option-checking '--prefix=/opt/rtems-4.10'  '--host=i686-pc-cygwin' '--build=
i686-pc-cygwin' '--enable-doc' '--enable-cxx' '--enable-rdbg' '--enable-tests' '
--enable-posix' '--enable-networking' '--target=lm32-rtems4.10' 'build_alias=i68
6-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=lm32-rtems4.10' --cache-f
ile=/dev/null --srcdir=../../../../rtems/tools/cpu/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... lm32-unknown-rtems4.10
checking rtems target cpu... lm32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
configure: configuring in ./testsuites/tools
configure: running /bin/sh '../../../rtems/testsuites/tools/configure' '--prefix
=/opt/rtems-4.10' '--host=i686-pc-cygwin' '--build=i686-pc-cygwin'  '--enable-do
c' '--enable-cxx' '--enable-rdbg' '--enable-tests' '--enable-posix' '--enable-ne
tworking' '--target=lm32-rtems4.10'  '--cache-file=/dev/null' '--srcdir=../../..
/rtems/testsuites/tools'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... lm32-unknown-rtems4.10
checking rtems target cpu... lm32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/home/Graham/build-rtems/testsuites/tools/generic)
configure: running /bin/sh ../../../../rtems/testsuites/tools/generic/configure
--disable-option-checking '--prefix=/opt/rtems-4.10'  '--host=i686-pc-cygwin' '-
-build=i686-pc-cygwin' '--enable-doc' '--enable-cxx' '--enable-rdbg' '--enable-t
ests' '--enable-posix' '--enable-networking' '--target=lm32-rtems4.10' 'build_al
ias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=lm32-rtems4.10' --
cache-file=/dev/null --srcdir=../../../../rtems/testsuites/tools/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... lm32-unknown-rtems4.10
checking rtems target cpu... lm32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating difftest
config.status: creating sorttimes
configure: configuring in lm32-rtems4.10/c
configure: running /bin/sh '../../../rtems/c/configure' '--prefix=/opt/rtems-4.1
0' '--host=lm32-rtems4.10' '--build=i686-pc-cygwin' '--target=lm32-rtems4.10'  '
--enable-doc' '--enable-cxx' '--enable-rdbg' '--enable-tests' '--enable-posix' '
--enable-networking' '--with-target-subdir=lm32-rtems4.10' '--exec-prefix=/opt/r
tems-4.10/lm32-rtems4.10' '--includedir=/opt/rtems-4.10/lm32-rtems4.10/include'
 '--cache-file=/dev/null' '--srcdir=../../../rtems/c'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.0
checking build system type... i686-pc-cygwin
checking host system type... lm32-unknown-rtems4.10
checking target system type... lm32-unknown-rtems4.10
checking rtems target cpu... lm32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for lm32-rtems4.10-strip... lm32-rtems4.10-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for available BSPs...  lm32_evr
configure: creating ./config.status
config.status: creating Makefile
target architecture: lm32.
available BSPs: lm32_evr.
'make all' will build the following BSPs: lm32_evr.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
config.status: creating Makefile
config.status: creating make/Makefile
Graham at RoadHog ~/build-rtems
$ make all
Making all in make
make[1]: Entering directory `/home/Graham/build-rtems/make'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Graham/build-rtems/make'
Making all in tools/build
make[1]: Entering directory `/home/Graham/build-rtems/tools/build'
make  all-am
make[2]: Entering directory `/home/Graham/build-rtems/tools/build'
make[2]: Leaving directory `/home/Graham/build-rtems/tools/build'
make[1]: Leaving directory `/home/Graham/build-rtems/tools/build'
Making all in tools/cpu
make[1]: Entering directory `/home/Graham/build-rtems/tools/cpu'
Making all in generic
make[2]: Entering directory `/home/Graham/build-rtems/tools/cpu/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Graham/build-rtems/tools/cpu/generic'
make[2]: Entering directory `/home/Graham/build-rtems/tools/cpu'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Graham/build-rtems/tools/cpu'
make[1]: Leaving directory `/home/Graham/build-rtems/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory `/home/Graham/build-rtems/testsuites/tools'
Making all in generic
make[2]: Entering directory `/home/Graham/build-rtems/testsuites/tools/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Graham/build-rtems/testsuites/tools/generic'
make[2]: Entering directory `/home/Graham/build-rtems/testsuites/tools'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Graham/build-rtems/testsuites/tools'
make[1]: Leaving directory `/home/Graham/build-rtems/testsuites/tools'
Making all in lm32-rtems4.10/c
make[1]: Entering directory `/home/Graham/build-rtems/lm32-rtems4.10/c'
Making all in .
make[2]: Entering directory `/home/Graham/build-rtems/lm32-rtems4.10/c'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Graham/build-rtems/lm32-rtems4.10/c'
Making all in lm32_evr
make[2]: Entering directory `/home/Graham/build-rtems/lm32-rtems4.10/c/lm32_evr'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/Graham/build-rtems/lm32-rtems4.10/c/lm32_evr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Graham/build-rtems/lm32-rtems4.10/c'
make: *** [all-recursive] Error 1
Graham at RoadHog ~/build-rtems
$ echo $PATH
/opt/rtems-4.10:/opt/rtems-4.10/bin:/usr/local
/bin:/usr/bin:/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windo
ws Live:/cygdrive/c/Perl64/site/bin:/cygdrive/c/Perl64/bin:/cygdrive/c/Windows/s
ystem32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Window
s/System32/WindowsPowerShell/v1.0/:/cygdrive/c/Program Files/TortoiseSVN/bin:/cy
gdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/Pro
gram Files (x86)/doxygen/bin:/cygdrive/c/Program Files (x86)/Graphviz2.26.3/bin:
/cygdrive/c/Program Files (x86)/QuickTime/QTSystem/:/cygdrive/c/Program Files (x
86)/Bazaar:/cygdrive/c/MinGW/bin:/cygdrive/c/MinGW/msys/1.0/bin:/cygdrive/c/Prog
ram Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (
x86)/CVSNT/:/usr/lib/lapack
Graham at RoadHog ~/build-rtems
 
Graham at RoadHog ~
$ cd /opt/rtems-4.10
Graham at RoadHog /opt/rtems-4.10
$ ls
bin  lib  libexec  lm32-rtems4.10  make  share
Graham at RoadHog /opt/rtems-4.10
$ cd bin
Graham at RoadHog /opt/rtems-4.10/bin
$ ls
cklength.exe                  lm32-rtems4.10-gprof.exe
eolstrip.exe                  lm32-rtems4.10-ld.exe
install-if-change             lm32-rtems4.10-nm.exe
lm32-rtems4.10-addr2line.exe  lm32-rtems4.10-objcopy.exe
lm32-rtems4.10-ar.exe         lm32-rtems4.10-objdump.exe
lm32-rtems4.10-as.exe         lm32-rtems4.10-ranlib.exe
lm32-rtems4.10-c++.exe        lm32-rtems4.10-readelf.exe
lm32-rtems4.10-c++filt.exe    lm32-rtems4.10-size.exe
lm32-rtems4.10-cpp.exe        lm32-rtems4.10-sorttimes
lm32-rtems4.10-difftest       lm32-rtems4.10-strings.exe
lm32-rtems4.10-g++.exe        lm32-rtems4.10-strip.exe
lm32-rtems4.10-gcc-4.4.5.exe  packhex.exe
lm32-rtems4.10-gcc.exe        rtems-bin2c.exe
lm32-rtems4.10-gccbug         unhex.exe
lm32-rtems4.10-gcov.exe
Graham at RoadHog /opt/rtems-4.10/bin
$


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110216/eeec5a77/attachment.html>


More information about the users mailing list