arm/rtl22xx_t build failures

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 24 05:30:26 UTC 2017


On 23/05/17 23:31, Chris Johns wrote:

> The build log shows this happening with the lpc1768_mbed where the headers bootcard.h and utility.h are being installed again. The utility.h had been installed during the preinstall phase. It is only when this second install happens does the error appear:
>
> arm-rtems4.12-gcc --pipe -B../../../../../.././lib/  -B../../../../../.././lpc1768_mbed/lib/  -specs bsp_specs -qrtems -DHAVE_CONFIG_H   -I/opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/../../../libcpu/arm/shared/include -march=armv7-m -mthumb -O2 -ggdb3 
> -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes 
> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs 
> -MT libbsp_a-bspstarthooks.o -MD -MP -MF 
> .deps/libbsp_a-bspstarthooks.Tpo -c -o libbsp_a-bspstarthooks.o `test 
> -f 'startup/bspstarthooks.c' || echo 
> '/opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/'`startup/bspstarthooks.c
> /usr/bin/install -c -m 644 start.o ../../../../../.././lpc1768_mbed/lib/start.o
> mv -f .deps/libbsp_a-timer.Tpo .deps/libbsp_a-timer.Po
> mv -f .deps/libbsp_a-bspidle.Tpo .deps/libbsp_a-bspidle.Po
> mv -f .deps/libbsp_a-dma-copy.Tpo .deps/libbsp_a-dma-copy.Po
> mv -f .deps/libbsp_a-dma.Tpo .deps/libbsp_a-dma.Po
> mv -f .deps/libbsp_a-system-clocks.Tpo .deps/libbsp_a-system-clocks.Po
> mv -f .deps/libbsp_a-adc.Tpo .deps/libbsp_a-adc.Po
> /usr/bin/install -c -m 644 startup/linkcmds ../../../../../.././lpc1768_mbed/lib/linkcmds
> mv -f .deps/libbsp_a-restart.Tpo .deps/libbsp_a-restart.Po
> /usr/bin/install -c -m 644 
> /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/../../shared/include/bootcard.h ../../../../../.././lpc1768_mbed/lib/include/bsp/bootcard.h
> /usr/bin/install -c -m 644 
> /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/../../shared/include/utility.h ../../../../../.././lpc1768_mbed/lib/include/bsp/utility.h
> rm -f libbspstart.a
> In file included from ../../../../../.././lpc1768_mbed/lib/include/bsp/lpc176x.h:25:0,
>                   from ../../../../../.././lpc1768_mbed/lib/include/bsp/io-defs.h:25,
>                   from ../../../../../.././lpc1768_mbed/lib/include/bsp/io.h:27,
>                   from /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/arm/lpc176x/startup/bspstarthooks.c:25:
> ../../../../../.././lpc1768_mbed/lib/include/bsp/lpc-i2s.h:26:25: fatal error: bsp/utility.h: No such file or directory
>   #include <bsp/utility.h>
>                           ^
> compilation terminated.

Maybe its time to get rid of the make preinstall.

>
> There are a few warnings related to the dirstamp:
>
> Makefile:1602: warning: overriding recipe for target '../cpukit/../../../lpc17xx_plx800_rom_int/lib/include/.dirstamp'
> Makefile:1573: warning: ignoring old recipe for target '../cpukit/../../../lpc17xx_plx800_rom_int/lib/include/.dirstamp'

I noticed this before, but I have no idea how to fix this.

-- 
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