RTEMS Build Problems on OpenBSD

Adam Szeliga XSoftware at internet.pl
Mon Mar 5 16:19:41 UTC 2001


I have tried to compile rtems on a FreeBSD 4.1 and I have similar error.
I discover that somewhere in the source tree is used make not gmake.
Make can't export CC, ASM ...., but I received only warning.
Later during compilation I received error like Mike have.
To test this idea I simply make copy ordinary make to make.1 and link
make to gmake. After that everything was OK !
It is need to verify the source three where the simly make is used
insted gmake
Adam Szeliga


Mike Siers wrote:

> Hi,
> 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)
> /usr/local/rtems/bin/i386-rtems-objcopy
> 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
> i386
> 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
> lib
> gmake[2]: *** [pc386] Error 1
> gmake[2]: Leaving directory
> `/usr/src/rtems/tools/build-i386-rtems/i386-rtems/c'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/src/rtems/tools/build-i386-rtems/i386-rtems/c'
> 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