compiling downloadable rtems with bsp helas403

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Wed Oct 6 09:50:07 UTC 2004


Hello Oliver,

I am a bit confused. I thought, that "librtemsall.a" 
would be phased out and replaced by "librtemscpu.a" 
and "librtemsbsp.a". Is it possible that some "old" 
configure-produced makefiles are in your build tree?
wkr,
Thomas.


> 
> Thomas Doerfler wrote:
> 
> >Hello Olivier,
> >
> >I am sorry for my late reply. I have looked at the 
> >offending line and it seems it should be:
> >
> >  .vectors 0x00010100 :
> >
> >instead of
> >
> >  .vectors : 0x00010100
> >
> >It seems the syntax has been broken after some 
> >rearrangements in linkcmds.dl.
> >  
> >
> You were right for this, now, there's no more syntax error, and I thank 
> you very much for your help.
> But I got a second problem, librtemsall is not compiled and I get:
> make[5]: Entering directory 
> `/home/ovalenti/rtems/tools/b-rtems/powerpc-rtems/c/helas403/tests/samples/hello'
> powerpc-rtems-gcc --pipe -B../../../../../lib/ 
> -B../../../../../helas403/lib/ -specs bsp_specs -qrtems -mcpu=403 
> -D_OLD_EXCEPTIONS -Dppc403  -O4 -fno-keep-inline-functions -g -Wall 
> -ansi -fasm         -o o-optimize/hello.exe o-optimize/init.o 
> ../../../../../helas403/lib/no-dpmem.rel 
> ../../../../../helas403/lib/no-event.rel 
> ../../../../../helas403/lib/no-msg.rel 
> ../../../../../helas403/lib/no-mp.rel 
> ../../../../../helas403/lib/no-part.rel 
> ../../../../../helas403/lib/no-signal.rel 
> ../../../../../helas403/lib/no-timer.rel 
> ../../../../../helas403/lib/no-rtmon.rel
> /home/ovalenti/rtems/lib/gcc-lib/powerpc-rtems/3.2.3/../../../../powerpc-rtems/bin/ld: 
> cannot find -lrtemsall
> collect2: ld returned 1 exit status
> 
> I read the doc and I think it should be the work of wrapup/Makefile to 
> build this library. And I con't figure how it should be built.
> I'm also astonished by -B../../../../../lib : in fact, the directory 
> does not exist.
> 
> Olivier
> 

--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_keys.htm




More information about the users mailing list