4.5.0-beta3 failure on FreeBSD 4-STABLE
James Housley
jim at thehousleys.net
Mon May 15 20:21:13 UTC 2000
There has been many change from beta2 to beta3 with respect to build on
a system who's native make in not GNU make. But I am still having a
small problem which I attached my diffs to fix. Building rtems was
failing is strange ways so I rename /usr/bin/make to /usr/bin/_make,
that would force the use of gmake (hopefully). However the initall make
wasn't using gmake, but the system make instead. script.txt is shows
the failure and bit_rtems.diff shows a small change that guarentees it
will work, well it did for me.
Jim
PS I still had to manually edit rtems-4.5.0-beta3/configure to add the
target directory.
--
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's windows.
-- Luiz de Barros
-------------- next part --------------
Script started on Mon May 15 14:40:20 2000
[m[m[Jbaby# [K../bit_rtems m68k efi332
gmake_found
yes
gmake
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/rtems/bin:/root/bin:/usr/local/rtems/bin
Removing build directory build-m68k-rtems ...
../rtems-4.5.0-beta3/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332
creating cache ./config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking target system type... m68k-unknown-rtems
checking build system type... i386-unknown-freebsd4.0
checking rtems target cpu... m68k
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... make: not found
no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking if the test suites are enabled? ... no
checking if cpu m68k is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tools/Makefile
creating make/Makefile
creating make/custom/Makefile
creating make/Templates/Makefile
creating make/compilers/Makefile
creating doc/Makefile
configuring in tools/build
running /bin/sh ../../../rtems-4.5.0-beta3/tools/build/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332 --cache-file=../.././config.cache --srcdir=../../../rtems-4.5.0-beta3/tools/build
loading cache ../.././config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... no
checking for ksh... no
checking for sh... /bin/sh
updating cache ../.././config.cache
creating ./config.status
creating Makefile
creating install-if-change
creating lock-directory
creating unlock-directory
creating config.h
configuring in tools/update
running /bin/sh ../../../rtems-4.5.0-beta3/tools/update/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332 --cache-file=../.././config.cache --srcdir=../../../rtems-4.5.0-beta3/tools/update
loading cache ../.././config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... (cached) /bin/sh
checking for perl... /usr/bin/perl
updating cache ../.././config.cache
creating ./config.status
creating Makefile
configuring in tools/cpu
running /bin/sh ../../../rtems-4.5.0-beta3/tools/cpu/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332 --cache-file=../.././config.cache --srcdir=../../../rtems-4.5.0-beta3/tools/cpu
loading cache ../.././config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking target system type... m68k-unknown-rtems
checking build system type... i386-unknown-freebsd4.0
checking rtems target cpu... m68k
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... (cached) /bin/sh
updating cache ../.././config.cache
creating ./config.status
creating Makefile
configuring in generic
running /bin/sh ../../../../rtems-4.5.0-beta3/tools/cpu/generic/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332 --cache-file=../../.././config.cache --srcdir=../../../../rtems-4.5.0-beta3/tools/cpu/generic
loading cache ../../.././config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking target system type... m68k-unknown-rtems
checking build system type... i386-unknown-freebsd4.0
checking rtems target cpu... m68k
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... (cached) /bin/sh
updating cache ../../.././config.cache
creating ./config.status
creating Makefile
creating size_rtems
configuring in m68k-rtems/c
running /bin/sh ../../../rtems-4.5.0-beta3/c/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332 --cache-file=./config.cache --srcdir=../../../rtems-4.5.0-beta3/c
creating cache ./config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking target system type... m68k-unknown-rtems
checking build system type... i386-unknown-freebsd4.0
checking rtems target cpu... m68k
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... make: not found
no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu m68k is supported... yes
checking for make/custom/efi332.cfg... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in make
running /bin/sh ../../../../rtems-4.5.0-beta3/c/make/configure --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --enable-cxx --disable-rdbg --disable-tests --enable-networking --enable-posix --disable-itron --enable-rtemsbsp=efi332 --with-target-subdir=m68k-rtems --cache-file=.././config.cache --srcdir=../../../../rtems-4.5.0-beta3/c/make
loading cache .././config.cache
checking for RTEMS Version... 4.5.0-beta3
checking host system type... i386-unknown-freebsd4.0
checking target system type... m68k-unknown-rtems
checking build system type... i386-unknown-freebsd4.0
checking rtems target cpu... m68k
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu m68k is supported... yes
checking for m68k-rtems-gcc... /usr/local/rtems/bin/m68k-rtems-gcc
checking whether the C compiler (/usr/local/rtems/bin/m68k-rtems-gcc ) works... yes
checking whether the C compiler (/usr/local/rtems/bin/m68k-rtems-gcc ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether /usr/local/rtems/bin/m68k-rtems-gcc accepts -g... yes
checking whether /usr/local/rtems/bin/m68k-rtems-gcc accepts -specs... yes
checking whether /usr/local/rtems/bin/m68k-rtems-gcc accepts --pipe... yes
checking for m68k-rtems-g++... /usr/local/rtems/bin/m68k-rtems-g++
checking whether the C++ compiler (/usr/local/rtems/bin/m68k-rtems-g++ ) works... yes
checking whether the C++ compiler (/usr/local/rtems/bin/m68k-rtems-g++ ) is a cross-compiler... yes
checking whether we are using GNU C++... yes
checking whether /usr/local/rtems/bin/m68k-rtems-g++ accepts -g... yes
checking target's ar...
checking for m68k-rtems-ar... /usr/local/rtems/m68k-rtems/bin/ar
checking target's as...
checking for m68k-rtems-as... /usr/local/rtems/m68k-rtems/bin/as
checking target's ld...
checking for m68k-rtems-ld... /usr/local/rtems/m68k-rtems/bin/ld
checking target's nm...
checking for m68k-rtems-nm... /usr/local/rtems/m68k-rtems/bin/nm
checking target's ranlib...
checking for m68k-rtems-ranlib... /usr/local/rtems/m68k-rtems/bin/ranlib
checking target's objcopy...
checking for m68k-rtems-objcopy... /usr/local/rtems/bin/m68k-rtems-objcopy
checking target's size...
checking for m68k-rtems-size... /usr/local/rtems/bin/m68k-rtems-size
checking target's strip...
checking for m68k-rtems-strip... /usr/local/rtems/m68k-rtems/bin/strip
updating cache .././config.cache
creating ./config.status
creating Makefile
creating target.cfg
target architecture: m68k.
available BSPs: efi332.
'make all' will build the following BSPs: efi332.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
build-m68k-rtems has been successfully prepared
Initiating gmake ..
Executing gmake all ...
Making all in doc
make: not found
gmake: *** [all-recursive] Error 1
ERROR: failed gmake all.
exit: Illegal number: ./bit_rtems
Executing gmake install ...
Making install in doc
make: not found
gmake: *** [install-recursive] Error 1
ERROR: failed gmake install.
exit: Illegal number: ./bit_rtems
-------------- next part --------------
--- orig/bit_rtems Thu Apr 27 09:45:54 2000
+++ bit_rtems Mon May 15 15:17:53 2000
@@ -311,12 +311,12 @@
if [ ${BUILD_RTEMS_NONDEBUG} = "yes" ] ; then
echo "Executing ${MAKE} all ..."
- ${MAKE} all
+ ${MAKE} MAKE=${MAKE} all
check_fatal $? "failed ${MAKE} all."
fi
if [ ${BUILD_RTEMS_DEBUG} = "yes" ] ; then
echo "Executing ${MAKE} VARIANT=DEBUG ..."
- ${MAKE} VARIANT=DEBUG
+ ${MAKE} MAKE=${MAKE} VARIANT=DEBUG
check_fatal $? "failed ${MAKE} VARIANT=DEBUG."
fi
case $CPU in
@@ -324,7 +324,7 @@
*)
if [ ${do_install} = "yes" ] ; then
echo "Executing ${MAKE} install ..."
- ${MAKE} install
+ ${MAKE} MAKE=${MAKE} install
check_fatal $? "failed ${MAKE} install."
fi
;;
More information about the users
mailing list