RTEMS Build Problems on OpenBSD

Mike Siers mikes at poliac.com
Mon Mar 5 14:50:24 UTC 2001

I am trying to build the RTEMS software on an OpenBSD 2.7 system.  I am
using the following versions of the build tools:

  gmake    3.78.1
  autoconf 2.13
  automake 1.4

I downloaded all the files from ftp://oarcorp.com/pub/rtems/releases/4.5.0.
I successfully built gcc, binutils, and newlib following the directions
in the "Getting Started" document.  But when I try and build RTEMS itself,
it does not work.  Has anyone successfully used OpenBSD/FreeBSD/NetBSD for
a development platform?  Should I use the latest snapshot version instead
of this released version?  If I switch to the latest snapshot version, do I
need to use different versions of the build tools?

The following lines are the last few lines that I am seeing when I try to
build RTEMS.  Any ideas or thoughts would be appreciated.

checking for RTEMS Version... 4.5.0
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 make 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 RTEMS_BSP... (cached) pc386
checking if cpu i386 is supported... yes
checking for i386-rtems-gcc... (cached) /usr/local/rtems/bin/i386-rtems-gcc
checking whether the C compiler (/usr/local/rtems/bin/i386-rtems-gcc  )
works... yes
checking whether the C compiler (/usr/local/rtems/bin/i386-rtems-gcc  ) is a
cross-compiler... yes
checking whether we are using GNU C... yes
checking whether /usr/local/rtems/bin/i386-rtems-gcc accepts -g... yes
checking whether /usr/local/rtems/bin/i386-rtems-gcc accepts -specs...
(cached) yes
checking whether /usr/local/rtems/bin/i386-rtems-gcc accepts --pipe...
(cached) yes
checking target's ar... (cached) /usr/local/rtems/i386-rtems/bin/ar
checking target's as... (cached) /usr/local/rtems/i386-rtems/bin/as
checking target's ld... (cached) /usr/local/rtems/i386-rtems/bin/ld
checking target's nm... (cached) /usr/local/rtems/i386-rtems/bin/nm
checking target's ranlib... (cached) /usr/local/rtems/i386-rtems/bin/ranlib
checking target's objcopy... (cached)
checking target's size... (cached) /usr/local/rtems/bin/i386-rtems-size
checking target's strip... (cached) /usr/local/rtems/i386-rtems/bin/strip
checking for make/custom/pc386.cfg... yes
checking for RTEMS_CPU_MODEL...
../../../../../../../rtems-4.5.0/c/src/lib/libcpu/i386/configure[1989]: .:
../../../../../c/pc386/make/pc386.cache: not found
configure: error:
../../../../../../../rtems-4.5.0/c/src/lib/libcpu/i386/configure failed for
configure: error: ../../../../../../rtems-4.5.0/c/src/lib/libcpu/configure
failed for libcpu
configure: error: ../../../../../rtems-4.5.0/c/src/lib/configure failed for
gmake[2]: *** [pc386] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
gmake: *** [all-recursive] Error 1
ERROR: failed gmake all.
./bit_rtems[342]: ./bit_rtems: bad number

Mike Siers

More information about the users mailing list