Compilation Problems

Vivek Vaid vaid at me.iitb.ac.in
Tue Feb 26 14:26:23 UTC 2002


On Tue, 26 Feb 2002, Vasudev Mulchandani wrote:
> 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 documentation says --prefix=/opt/rtems 
I am a newbie. but it worked this way on my redhat 7.2 system

if it still doesnt work then try running make from inside
build/i386-rtems/c 

'make' didnt work for me once from build/ and it worked fine from
build/i386-rtems/c
and i had posted this as query earlier

later i found the cause was my custom-recompiled kernel. it works all fine
with redhat's original kernel. i dont know the reason.

> 
> 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...
> ../../../../../rtems-4.5.0/c/src/lib/libcpu/i386/configure:
> ../../../../../c/i386ex/make/i386ex.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
> 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 !!!
> 
> Vasu
> 
> 

regards,
Vivek
-- 


						vv
============================================================

"To develop working ideas efficiently, I try to fail as fast
 as I can."
						R. Feynman







More information about the users mailing list