problems with latest snapshot

Ralf Corsepius corsepiu at
Wed Jul 3 18:12:21 UTC 2002

Am Mit, 2002-07-03 um 19.34 schrieb Peter Mueller:
> Hi all,
> I have problems to build the latest snapshop of rtems. Everthing works fine till the hello example in tests should be linked. The linker did not find rtemsall. And really, the lib was not built.
> Any idea what went wrong?
Yes, librtemsall.has been replaced by two new libraries:
librtemsbsp.a and librtemscpu.a.

> Thanks,
> Peter
> Error Msg:
> m68k-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../efi332/lib/ -specs bsp_specs -qrtems -g -Wall -mcpu32  -ansi -fasm       -L ../../../../../efi332/lib   -O4 -fomit-frame-pointer  -o o-optimize/hello.nxe o-optimize/init.o ../../../../../efi332/lib/no-dpmem.rel ../../../../../efi332/lib/no-event.rel ../../../../../efi332/lib/no-msg.rel ../../../../../efi332/lib/no-mp.rel ../../../../../efi332/lib/no-part.rel ../../../../../efi332/lib/no-signal.rel ../../../../../efi332/lib/no-timer.rel ../../../../../efi332/lib/no-rtmon.rel 
> /opt/rtems/m68k-rtems/bin/ld: cannot find -lrtemsall
> collect2: ld returned 1 exit status
> gmake[5]: *** [o-optimize/hello.exe] Fehler 1
Is this with the efi332 BSPs from the snapshot or is this a customized
BSP? If the former, this would mean a bug in the snapshot, if with a
customized BSP you probably need to change your bsp_specs's *lib rule
into something similar to this:

%{!qrtems: %(old_lib)} %{qrtems: --start-group \
%{!qrtems_debug: -lrtemsbsp -lrtemscpu} \
%{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
-lc -lgcc --end-group \
%{!qnolinkcmds: -T linkcmds%s}}


More information about the users mailing list