The error in building rtems source about stm32f4 bsp

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 29 15:05:14 UTC 2014


Sure. Hopefully Chris Nott will just reply to this thread when he spots 
it. :)

On 10/29/2014 9:59 AM, ZhangZhenxing wrote:
> Thank you very much!
> can I receive the notice about the error if it is resolved?
> ------------------------------------------------------------------------
> harbor0727 at gmail.com
>
>     *From:* Joel Sherrill <mailto:joel.sherrill at oarcorp.com>
>     *Date:* 2014-10-29 22:40
>     *To:* ZhangZhenxing <mailto:harbor0727 at gmail.com>; users
>     <mailto:users at rtems.org>; Chris Nott <mailto:chrisn at vl.com.au>
>     *Subject:* Re: The error in building rtems source about stm32f4 bsp
>
>     On 10/29/2014 9:07 AM, ZhangZhenxing wrote:
>>     Hi,
>>     I got the rtems source builder by the git command("git clone
>>     git://git.rtems.org/rtems-source-builder.git") and builded rtems
>>     4.11 toolschain by rtems source builder with the configure
>>     command("../rtems-4.10.99/configure --target=arm-rtems4.11
>>     --enable-posix --enable-networking --enable-cxx
>>     --enable-rtemsbsp=stm32f4 --prefix=/opt/rtems-4.11/"). Then, when
>>     executing "sudo make all install" after "./configure", there is a
>>     error as follow. Why is it? How can I do for it? Thank you very much!
>>
>     I can confirm that I got the same message in a full build I ran
>     Oct 26 but just now got a
>     chance to look at. Using git blame, I see it was the last patch
>     from Chris Nott[1]. It looks
>     like the patch added some files to the Makefile.am but didn't
>     include them.
>
>     Chris.. if you can submit a patch which adds the new files, I will
>     merge it quickly. At the
>     moment, no stm32f*is building.
>
>     http://git.rtems.org/rtems/commit/?id=040ed0b4cdd1c663408664ba3a8b2e5de0cf54e0
>
>     You could locally revert that patch and continue until it is
>     resolved in the master. This is
>     just part of using the development head. 99% of the time it is OK
>     but once in a while,
>     it isn't.
>
>     [1] Sorry I missed having lunch or dinner with you. :)
>>     make[8]: Entering directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp/arm/stm32f4'
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/bsp_specs
>>     ../../../../../.././stm32f4/lib/bsp_specs
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/tm27.h
>>     ../../../../../.././stm32f4/lib/include/tm27.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/bsp.h
>>     ../../../../../.././stm32f4/lib/include/bsp.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/coverhd.h
>>     ../../../../../.././stm32f4/lib/include/coverhd.h
>>     /usr/bin/install -c -m 644 include/bspopts.h
>>     ../../../../../.././stm32f4/lib/include/bspopts.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/bootcard.h
>>     ../../../../../.././stm32f4/lib/include/bsp/bootcard.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/utility.h
>>     ../../../../../.././stm32f4/lib/include/bsp/utility.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/irq-generic.h
>>     ../../../../../.././stm32f4/lib/include/bsp/irq-generic.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/irq-info.h
>>     ../../../../../.././stm32f4/lib/include/bsp/irq-info.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/stackalloc.h
>>     ../../../../../.././stm32f4/lib/include/bsp/stackalloc.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../shared/include/start.h
>>     ../../../../../.././stm32f4/lib/include/bsp/start.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../shared/armv7m/include/armv7m-irq.h
>>     ../../../../../.././stm32f4/lib/include/bsp/armv7m-irq.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/irq.h
>>     ../../../../../.././stm32f4/lib/include/bsp/irq.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/usart.h
>>     ../../../../../.././stm32f4/lib/include/bsp/usart.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f4.h
>>     ../../../../../.././stm32f4/lib/include/bsp/stm32f4.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f10xxx_gpio.h
>>     ../../../../../.././stm32f4/lib/include/bsp/stm32f10xxx_gpio.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f10xxx_rcc.h
>>     ../../../../../.././stm32f4/lib/include/bsp/stm32f10xxx_rcc.h
>>     /usr/bin/install -c -m 644
>>     ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f10xxx_exti.h
>>     ../../../../../.././stm32f4/lib/include/bsp/stm32f10xxx_exti.h
>>     make[8]: *** No rule to make target `include/stm32f4xxxx_adc.h',
>>     needed by
>>     `../../../../../.././stm32f4/lib/include/bsp/stm32f4xxxx_adc.h'.
>>     Stop.
>>     make[8]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp/arm/stm32f4'
>>     make[7]: *** [preinstall-recursive] Error 1
>>     make[7]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp/arm'
>>     make[6]: *** [preinstall-recursive] Error 1
>>     make[6]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp'
>>     make[5]: *** [preinstall-recursive] Error 1
>>     make[5]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib'
>>     make[4]: *** [preinstall-recursive] Error 1
>>     make[4]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4'
>>     make[3]: *** [preinstall-stamp] Error 2
>>     make[3]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4'
>>     make[2]: *** [all-recursive] Error 1
>>     make[2]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4'
>>     make[1]: *** [all-recursive] Error 1
>>     make[1]: Leaving directory
>>     `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c'
>>     make: *** [all-recursive] Error 1
>>
>>     ------------------------------------------------------------------------
>>     harbor0727 at gmail.com
>
>     -- 
>     Joel Sherrill, Ph.D.             Director of Research & Development
>     joel.sherrill at OARcorp.com         On-Line Applications Research
>     Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>     Support Available                (256) 722-9985
>


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the users mailing list