RTEMS Build Problems on OpenBSD
Mike Siers
mikes at poliac.com
Mon Mar 5 20:32:16 UTC 2001
Hi,
I switched to use the following versions of the c tool files:
binutils-2.10 with patch dated 2000-11-02
gcc-2.95.2 with patch dated 2000-12-26
newlib-1.8.2 with patch dated 2000-08-28
c_build_scripts-4.5.0
I tried using some of the newer versions and patches but I was not
able to build them. This toolset built correctly under OpenBSD 2.7.
I also switched to use the latest snapshot release of RTEMS which is
the rtems-ss-20010126 version. Now, when I try to compile RTEMS, I
get the following errors. I renamed by make executable so I know it
is only using gmake. Any other suggestions?
./bit_rtems i386 pc386
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/rtems
/bin:/usr/local/rtems/bin
Removing build directory build-i386-rtems ...
../rtems-ss-20010126/configure --target=i386-rtems --prefix=/usr/local/rtems
--disable-hwapi --disable-multiprocessing --disable-cxx --disable-rdbg --di
sable-tests --enable-networking --disable-posix --disable-itron --enable-rte
msbsp=pc386
creating cache ./config.cache
checking for gmake... gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-unknown-openbsd2.7
checking target system type... i386-pc-rtems
checking build system type... i386-unknown-openbsd2.7
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
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
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-ss-20010126/tools/build/configure --target=i386-rtems --prefi
x=/usr/local/rtems --disable-hwapi --disable-multiprocessing --disable-cxx -
-disable-rdbg --disable-tests --enable-networking --disable-posix --disable-
itron --enable-rtemsbsp=pc386 --cache-file=../.././config.cache --srcdir=../
../../rtems-ss-20010126/tools/build
loading cache ../.././config.cache
checking for gmake... (cached) gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-unknown-openbsd2.7
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
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... /usr/local/bin/bash
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-ss-20010126/tools/update/configure --target=i386-rtems --pref
ix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --disable-cxx
--disable-rdbg --disable-tests --enable-networking --disable-posix --disable
-itron --enable-rtemsbsp=pc386 --cache-file=../.././config.cache --srcdir=..
/../../rtems-ss-20010126/tools/update
loading cache ../.././config.cache
checking for gmake... (cached) gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-unknown-openbsd2.7
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
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) /usr/local/bin/bash
checking for perl... /usr/bin/perl
updating cache ../.././config.cache
creating ./config.status
creating Makefile
configuring in tools/cpu
running /bin/sh
./../../rtems-ss-20010126/tools/cpu/configure --target=i386-rtems --prefix=
/usr/local/rtems --disable-hwapi --disable-multiprocessing --disable-cxx --d
isable-rdbg --disable-tests --enable-networking --disable-posix --disable-it
ron --enable-rtemsbsp=pc386 --cache-file=../.././config.cache --srcdir=../..
/../rtems-ss-20010126/tools/cpu
loading cache ../.././config.cache
checking for gmake... (cached) gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-unknown-openbsd2.7
checking target system type... i386-pc-rtems
checking build system type... i386-unknown-openbsd2.7
checking rtems target cpu... i386
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
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) /usr/local/bin/bash
creating ./config.status
creating Makefile
configuring in generic
running /bin/sh
./../../../rtems-ss-20010126/tools/cpu/generic/configure --target=i386-rtem
s --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessing --disa
ble-cxx --disable-rdbg --disable-tests --enable-networking --disable-posix -
-disable-itron --enable-rtemsbsp=pc386 --cache-file=../../.././config.cache
--srcdir=../../../../rtems-ss-20010126/tools/cpu/generic
loading cache ../../.././config.cache
checking for gmake... (cached) gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-unknown-openbsd2.7
checking target system type... i386-pc-rtems
checking build system type... i386-unknown-openbsd2.7
checking rtems target cpu... i386
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
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) /usr/local/bin/bash
creating ./config.status
creating Makefile
creating size_rtems
configuring in i386-rtems/c
running /bin/sh
../../../rtems-ss-20010126/c/configure --host=i386-rtems --build=i386-unkno
wn-openbsd2.7 --target=i386-rtems --prefix=/usr/local/rtems --disable-hwapi
--disable-multiprocessing --disable-cxx --disable-rdbg --disable-tests --ena
ble-networking --disable-posix --disable-itron --enable-rtemsbsp=pc386 --cac
he-file=./config.cache --srcdir=../../../rtems-ss-20010126/c
creating cache ./config.cache
checking for gmake... gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-pc-rtems
checking target system type... i386-pc-rtems
checking build system type... i386-unknown-openbsd2.7
checking rtems target cpu... i386
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
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 i386 is supported... yes
checking for make/custom/pc386.cfg... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in make
running /bin/sh
./../../../rtems-ss-20010126/c/make/configure --host=i386-rtems --build=i38
6-unknown-openbsd2.7 --target=i386-rtems --prefix=/usr/local/rtems --disable
-hwapi --disable-multiprocessing --disable-cxx --disable-rdbg --disable-test
s --enable-networking --disable-posix --disable-itron --enable-rtemsbsp=pc38
6 --with-target-subdir=i386-rtems
'--libdir=${prefix}/i386-rtems/lib' --cache-file=.././config.cache --srcdir=
../../../../rtems-ss-20010126/c/make
loading cache .././config.cache
checking for gmake... (cached) gmake
checking for RTEMS Version... ss-20010126
checking host system type... i386-pc-rtems
checking target system type... i386-pc-rtems
checking build system type... i386-unknown-openbsd2.7
checking rtems target cpu... i386
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
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 i386 is supported... yes
checking for i386-rtems-gcc... i386-rtems-gcc
checking for gcc... (cached) i386-rtems-gcc
checking whether the C compiler (i386-rtems-gcc ) works... yes
checking whether the C compiler (i386-rtems-gcc ) is a cross-compiler...
yes
checking whether we are using GNU C... yes
checking whether i386-rtems-gcc accepts -g... yes
checking whether i386-rtems-gcc accepts -specs... yes
checking whether i386-rtems-gcc accepts --pipe... yes
checking for i386-rtems-ar... i386-rtems-ar
checking for i386-rtems-as... i386-rtems-as
checking for i386-rtems-ld... i386-rtems-ld
checking for i386-rtems-nm... i386-rtems-nm
checking for i386-rtems-ranlib... i386-rtems-ranlib
checking for i386-rtems-objcopy... i386-rtems-objcopy
checking for i386-rtems-size... i386-rtems-size
checking for i386-rtems-strip... i386-rtems-strip
updating cache .././config.cache
creating ./config.status
creating Makefile
creating target.cfg
target architecture: i386.
available BSPs: pc386.
'make all' will build the following BSPs: pc386.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
build-i386-rtems has been successfully prepared
Initiating gmake ..
Executing gmake all ...
Making all in doc
gmake[1]: Entering directory `/usr/src/rtems/tools/build-i386-rtems/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/src/rtems/tools/build-i386-rtems/doc'
Making all in make
gmake[1]: Entering directory `/usr/src/rtems/tools/build-i386-rtems/make'
Making all in Templates
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/make/Templates'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/make/Templates'
Making all in custom
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/make/custom'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/make/custom'
Making all in compilers
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/make/compilers'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/make/compilers'
gmake[2]: Entering directory `/usr/src/rtems/tools/build-i386-rtems/make'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/usr/src/rtems/tools/build-i386-rtems/make'
gmake[1]: Leaving directory `/usr/src/rtems/tools/build-i386-rtems/make'
Making all in tools
gmake[1]: Entering directory `/usr/src/rtems/tools/build-i386-rtems/tools'
Making all in build
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/build'
gcc -DHAVE_CONFIG_H -I. -I../../../rtems-ss-20010126/tools/build -I. -g
-O2 -c ../../../rtems-ss-20010126/tools/build/cklength.c
gcc -g -O2 -o cklength cklength.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems-ss-20010126/tools/build -I. -g
-O2 -c ../../../rtems-ss-20010126/tools/build/eolstrip.c
gcc -g -O2 -o eolstrip eolstrip.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems-ss-20010126/tools/build -I. -g
-O2 -c ../../../rtems-ss-20010126/tools/build/packhex.c
gcc -g -O2 -o packhex packhex.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems-ss-20010126/tools/build -I. -g
-O2 -c ../../../rtems-ss-20010126/tools/build/unhex.c
gcc -g -O2 -o unhex unhex.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems-ss-20010126/tools/build -I. -g
-O2 -c ../../../rtems-ss-20010126/tools/build/binpatch.c
gcc -g -O2 -o binpatch binpatch.o
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/build'
Making all in cpu
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
Making all in generic
gmake[3]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu/generic'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu/generic'
gmake[3]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
Making all in update
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/update'
creating word-replace
creating update
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/update'
gmake[2]: Entering directory `/usr/src/rtems/tools/build-i386-rtems/tools'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/usr/src/rtems/tools/build-i386-rtems/tools'
gmake[1]: Leaving directory `/usr/src/rtems/tools/build-i386-rtems/tools'
Making all in tools/build
gmake[1]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/build'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/build'
Making all in tools/update
gmake[1]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/update'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/update'
Making all in tools/cpu
gmake[1]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
Making all in generic
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu/generic'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu/generic'
gmake[2]: Entering directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
gmake[1]: Leaving directory
`/usr/src/rtems/tools/build-i386-rtems/tools/cpu'
Making all in c
/bin/sh: cd: /usr/src/rtems/tools/build-i386-rtems/c - No such file or
directory
gmake: *** [all-recursive] Error 1
ERROR: failed gmake all.
./bit_rtems[342]: ./bit_rtems: bad number
Thanks
Mike Siers
More information about the users
mailing list