Problems with RTEMS installation

Konstantinos Papadopoulos kpapadopoulos1984 at gmail.com
Mon May 23 11:24:52 UTC 2011


I configure the development system as follow:
../rtems-4.8.1/configure --target=sparc-rtems --disable-posix
--disable-networking --disable-cxx --enable-rtemsbsp=leon3
--prefix=/opt/rtems/rtems-4.8

while the output of 'make' is the following one:
===
Making all in make
make[1]: Entering directory `/opt/rtems-build/make'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/rtems-build/make'
Making all in tools/build
make[1]: Entering directory `/opt/rtems-build/tools/build'
make  all-am
make[2]: Entering directory `/opt/rtems-build/tools/build'
gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT
cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o
/opt/rtems-4.8/tools/build/cklength.c
mv -f .deps/cklength.Tpo .deps/cklength.Po
gcc  -g -O2   -o cklength cklength.o
gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT
eolstrip.o -MD -MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o
/opt/rtems-4.8/tools/build/eolstrip.c
mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po
gcc  -g -O2   -o eolstrip eolstrip.o
gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT
packhex.o -MD -MP -MF .deps/packhex.Tpo -c -o packhex.o
/opt/rtems-4.8/tools/build/packhex.c
mv -f .deps/packhex.Tpo .deps/packhex.Po
gcc  -g -O2   -o packhex packhex.o
gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT unhex.o
-MD -MP -MF .deps/unhex.Tpo -c -o unhex.o /opt/rtems-4.8/tools/build/unhex.c
mv -f .deps/unhex.Tpo .deps/unhex.Po
gcc  -g -O2   -o unhex unhex.o
gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT
rtems-bin2c.o -MD -MP -MF .deps/rtems-bin2c.Tpo -c -o rtems-bin2c.o
/opt/rtems-4.8/tools/build/rtems-bin2c.c
mv -f .deps/rtems-bin2c.Tpo .deps/rtems-bin2c.Po
gcc  -g -O2   -o rtems-bin2c rtems-bin2c.o
gcc -DHAVE_CONFIG_H -I. -I/opt/rtems-4.8/tools/build     -g -O2 -MT
binpatch.o -MD -MP -MF .deps/binpatch.Tpo -c -o binpatch.o
/opt/rtems-4.8/tools/build/binpatch.c
mv -f .deps/binpatch.Tpo .deps/binpatch.Po
gcc  -g -O2   -o binpatch binpatch.o
make[2]: Leaving directory `/opt/rtems-build/tools/build'
make[1]: Leaving directory `/opt/rtems-build/tools/build'
Making all in tools/cpu
make[1]: Entering directory `/opt/rtems-build/tools/cpu'
Making all in generic
make[2]: Entering directory `/opt/rtems-build/tools/cpu/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/rtems-build/tools/cpu/generic'
make[2]: Entering directory `/opt/rtems-build/tools/cpu'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/opt/rtems-build/tools/cpu'
make[1]: Leaving directory `/opt/rtems-build/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory `/opt/rtems-build/testsuites/tools'
Making all in generic
make[2]: Entering directory `/opt/rtems-build/testsuites/tools/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/rtems-build/testsuites/tools/generic'
make[2]: Entering directory `/opt/rtems-build/testsuites/tools'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/opt/rtems-build/testsuites/tools'
make[1]: Leaving directory `/opt/rtems-build/testsuites/tools'
Making all in sparc-rtems/c
make[1]: Entering directory `/opt/rtems-build/sparc-rtems/c'
Making all in .
make[2]: Entering directory `/opt/rtems-build/sparc-rtems/c'
Configuring RTEMS_BSP=leon3
checking for gmake... no
checking for make... make
checking build system type... i686-pc-linux-gnu
checking host system type... sparc-unknown-rtems
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /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 RTEMS_BSP... leon3
checking for /opt/rtems-4.8/c/src/../../bspkit/sparc/*/cfg/leon3.cfg... no
checking for /opt/rtems-4.8/c/src/../../make/custom/leon3.cfg... yes
checking whether BSP supports networking... disabled
checking whether CPU supports libposix... disabled
checking for rpcgen... rpcgen
configure: setting up make/custom
checking for /opt/rtems-4.8/c/src/../../bspkit/sparc/*/cfg/leon3.cfg... no
checking for /opt/rtems-4.8/c/src/../../make/custom/leon3.cfg... yes
configure: creating make/leon3.cache
make[3]: Entering directory `/opt/rtems-build/sparc-rtems/c/leon3'
make[3]: Leaving directory `/opt/rtems-build/sparc-rtems/c/leon3'
checking for RTEMS_CPU_MODEL... leon3
checking for RTEMS_BSP_FAMILY... (cached) leon3
checking for CPU_CFLAGS... (cached) -mcpu=cypress -msoft-float
checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g
checking for style of include used by make... GNU
checking for sparc-rtems-gcc... no
make[2]: Leaving directory `/opt/rtems-build/sparc-rtems/c'
make[1]: Leaving directory `/opt/rtems-build/sparc-rtems/c'
===






On Mon, May 23, 2011 at 1:09 PM, Cláudio Silva <claudiodcsilva at gmail.com>wrote:

> Hi,
>
> It seems that you have a wrong target in rtems configure.
> If your gcc is named sparc-rtems4.8-gcc then the target on your rtems
> configuration should be "--target=sparc-rtems4.8"
> Example:
> ../rtems-4.8/configure --disable-tests --disable-posix --disable-itron
> --disable-networking --disable-cxx --enable-rtemsbsp=leon3
> --target=sparc-rtems4.8 --prefix=/opt/rtems/rtems-4.8
>
> Cláudio
>
> On Mon, May 23, 2011 at 10:43 AM, Konstantinos Papadopoulos
> <kpapadopoulos1984 at gmail.com> wrote:
> > I am currently involved in some projects related to testing of Real-Time
> > Operating Systems including RTEMS for LEON3.
> >
> > I tried to build and install RTEMS toolchain based on the specific
> “Getting
> > Started” Guide for performing some measurements, but I experienced some
> > problems. It must be pointed out that the version of RTEMS used is 4.8.1
> > while the PC is running Ubuntu 11.04.
> >
> > During ‘make’, an error with the message “No acceptance cc found in
> $PATH”
> > that causes the unsuccessful termination of this procedure occurs. This
> > seems to happen because the cross compilation toolset may be ignored,
> since
> > a message “checking for sparc-rtems-gcc… no” is performed before the
> > aforementioned error (the same also happens with other components of
> cross
> > compilation such as ‘sparc-rtems-strip’). Moreover, it must be pointed
> out
> > that I do have the cross compilation toolset in our search path as the
> guide
> > mentioned above advices us to do, while it is first in it to ensure that
> I
> > am using the intended version of all tools. Finally, when I try to access
> > these tools from an independent bash shell, they are recognized and run
> > regularly. To summarize, I would like to ask you whether this problem has
> > been previously referred and if there is any solution to overpass it.
> >
> >
> >
> > Thank you in advance,
> >
> > Konstantinos
> >
> >
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110523/e8bbe771/attachment-0001.html>


More information about the users mailing list