Compilation Problems

Vasudev Mulchandani vasu at
Tue Feb 26 13:59:05 UTC 2002

Hello !

I am trying to build rtems and facing some compilation problems

Host: Solaris 8.0 on sparc
Target: i386

my directory structure looks like

% ls
build/  rtems-4.5.0/

% cd build
% ../rtems-4.5.0/c/configure --target=i386-rtems
--enable-rtemsbsp=i386ex --prefix=opt

The configuration is succesful.

% make all

This leads to an error
removing the earlier capture..
checking target's objcopy... (cached) /opt/rtems/bin/i386-rtems-objcopy
checking target's size... (cached) /opt/rtems/bin/i386-rtems-size
checking target's strip... (cached) /opt/rtems/i386-rtems/bin/strip
checking for make/custom/i386ex.cfg... yes
checking for RTEMS_CPU_MODEL...
../../../../../c/i386ex/make/i386ex.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
make[1]: *** [i386ex] Error 1
make[1]: Leaving directory `/home/rtems/build'
make: *** [all-recursive] Error 1

Have installed all the gnu tools in /opt
% ls /opt/rtems
bin/  include/  lib/   share/
i386-rtems/  info/  man/

% ls /opt/rtems/bin
cpp*                    i386-rtems-gasp*        i386-rtems-readelf*
gcov*                   i386-rtems-gcc*         i386-rtems-size*
i386-rtems-addr2line*   i386-rtems-ld*          i386-rtems-strings*
i386-rtems-ar*          i386-rtems-nm*          i386-rtems-strip*
i386-rtems-as*          i386-rtems-objcopy*     i386-rtems-unprotoize*
i386-rtems-c++*         i386-rtems-objdump*     
i386-rtems-c++filt*     i386-rtems-protoize*
i386-rtems-g++*         i386-rtems-ranlib*

% ls /opt/rtems/i386-rtems/bin
ar*  as*  gcc*  ld*  nm*  ranlib*  strip*

Hope I am on the right track !

HELP !!!


More information about the users mailing list