Trying to build mvme5500 "Beatnik" for 4.11, option manager (no-foobar.rel: No such file or directory) issue?
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Sep 23 09:43:57 UTC 2016
Hello Peter,
On 22/09/16 22:51, Peter Dufault wrote:
> I’m trying to update my MVME5500 “beatnik” BSP application from 4.7 to 4.11 and when I get to the final step to link my application I get what follows.
>
> [dufault at take5 rtems]$ make
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-dpmem.rel: No such file or directory
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-msg.rel: No such file or directory
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-mp.rel: No such file or directory
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-part.rel: No such file or directory
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-signal.rel: No such file or directory
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-timer.rel: No such file or directory
> powerpc-rtems4.11-g++: error: /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-rtmon.rel: No such file or directory
> make: *** [/home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/bin/grid] Error 1
this optional manager stuff is no longer available since 2011 in RTEMS
(see PR 1589).
>
> If I look at what I’m trying to do I see I’m linking to these "no-foobar.rel” directly. (I inserted some **** to make it clear):
>
> [dufault at take5 rtems]$ make -n
> mkdir -p /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/bin; \
> powerpc-rtems4.11-g++ -u rpcUdpInit -u nfsInit -B/opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/ -specs bsp_specs -qrtems
> ****
> /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-dpmem.rel /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-msg.rel /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-mp.rel /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-part.rel /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-signal.rel /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-timer.rel /opt/flatland/opt/rtems-4.11/powerpc-rtems4.11/beatnik//lib/no-rtmon.rel
> ****
I guess your build system generates this.
> -g \
> -o /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/bin/grid \
> /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/opt/flatland/exesrc/gridmain/rtems/_init.o /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/opt/flatland/exesrc/gridmain/rtems/grid.o /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/opt/flatland/exesrc/gridmain/rtems/main.o /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/opt/flatland/exesrc/gridmain/rtems/mvme5500.o -lgrid -lzboard -lacromag -lvme -lembedtcl -lecseqtcl -lecseq -lmrsfile -lpowerpc -lmotors -lrtems_osintf -lzboard -lposix_wrap -lrtems-gdb-stub -lregex -lsearch -lbsd -lcexp -lspencer_regexp -ltecla_r -lpmbfd -lpmelf -ltelnetd -lnfs -L/home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/lib -L/opt/stepper/opt/powerpc-beatnik-rtems/lib -lregex -lsearch -lbsd
> powerpc-rtems4.11-objcopy -Obinary /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/bin/grid /home/dufault/work/scratch/dpixEE/powerpc-beatnik-rtems/bin/grid.bin
> [dufault at take5 rtems]$
>
> If I remove the section bracketed by “****” the link finishes cleanly, but I haven’t had much luck figuring out what generates this. I get problems when I try to boot the binary, but I want to fix this before proceeding further.
With respect to the boot problems, I fixed some low-level problems on
the beatnik recently. I would try out the RTEMS master. I know for sure
that c2a4b8bf37de516468cf73e039f0d4b1b4921d84 worked on our beatnik board.
>
> - Am I correct that this is some kind of initialization of optional managers?
> - Does anyone recognize where I should be looking?
>
> Peter
> -----------------
> Peter Dufault
> HD Associates, Inc. Software and System Engineering
>
> This email, like most email, is delivered unencrypted via internet email protocols subject to interception and tampering. Contact HDA to discuss methods we can use that ensure secure communication.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list