<html><head></head><body><div class="">Hi,<br>I had resolved the problem by patching with '0001-Added-missing-stm32f4xxxx_adc.h'.<br>Thanks.</div><div> </div><hr style="WIDTH: 210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left"><div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>harbor0727@gmail.com</div></div></span></div><blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:chrisn@vl.com.au">Chris Nott</a></div><div><b>Date:</b> 2014-10-30 00:19</div><div><b>To:</b> <a href="mailto:joel.sherrill@oarcorp.com">Joel Sherrill</a>; <a href="mailto:harbor0727@gmail.com">ZhangZhenxing</a>; <a href="mailto:users@rtems.org">users</a></div><div><b>Subject:</b> Re: The error in building rtems source about stm32f4 bsp</div></div></div><div><div class=""><style type="text/css">div.FoxDIV_20141030084603846 { font-size: 10.5pt }
</style><div class="FoxDIV_20141030084603846"><div foxmail_class="mail_content_body" style="border-width:0px"><div>On 29/10/2014 8:05 AM, Joel Sherrill wrote:</div>
<div>> Sure. Hopefully Chris Nott will just reply to this thread when he </div>
<div>> spots it. :)</div>
<div>Quite correct, I missed a file. This patch should resolve it.</div>
<div> </div>
<div>></div>
<div>> On 10/29/2014 9:59 AM, ZhangZhenxing wrote:</div>
<div>>> Thank you very much!</div>
<div>>> can I receive the notice about the error if it is resolved?</div>
<div>>> ------------------------------------------------------------------------</div>
<div>>> harbor0727@gmail.com</div>
<div>>></div>
<div>>> *From:* Joel Sherrill <mailto:joel.sherrill@oarcorp.com></div>
<div>>> *Date:* 2014-10-29 22:40</div>
<div>>> *To:* ZhangZhenxing <mailto:harbor0727@gmail.com>; users</div>
<div>>> <mailto:users@rtems.org>; Chris Nott <mailto:chrisn@vl.com.au></div>
<div>>> *Subject:* Re: The error in building rtems source about stm32f4 bsp</div>
<div>>></div>
<div>>> On 10/29/2014 9:07 AM, ZhangZhenxing wrote:</div>
<div>>>> Hi,</div>
<div>>>> I got the rtems source builder by the git command("git clone</div>
<div>>>> git://git.rtems.org/rtems-source-builder.git") and builded rtems</div>
<div>>>> 4.11 toolschain by rtems source builder with the configure</div>
<div>>>> command("../rtems-4.10.99/configure --target=arm-rtems4.11</div>
<div>>>> --enable-posix --enable-networking --enable-cxx</div>
<div>>>> --enable-rtemsbsp=stm32f4 --prefix=/opt/rtems-4.11/"). Then, when</div>
<div>>>> executing "sudo make all install" after "./configure", there is a</div>
<div>>>> error as follow. Why is it? How can I do for it? Thank you very </div>
<div>>>> much!</div>
<div>>>></div>
<div>>> I can confirm that I got the same message in a full build I ran</div>
<div>>> Oct 26 but just now got a</div>
<div>>> chance to look at. Using git blame, I see it was the last patch</div>
<div>>> from Chris Nott[1]. It looks</div>
<div>>> like the patch added some files to the Makefile.am but didn't</div>
<div>>> include them.</div>
<div>>></div>
<div>>> Chris.. if you can submit a patch which adds the new files, I will</div>
<div>>> merge it quickly. At the</div>
<div>>> moment, no stm32f*is building.</div>
<div>>></div>
<div>>> <a href="http://git.rtems.org/rtems/commit/?id=040ed0b4cdd1c663408664ba3a8b2e5de0cf54e0">http://git.rtems.org/rtems/commit/?id=040ed0b4cdd1c663408664ba3a8b2e5de0cf54e0</a></div>
<div>>></div>
<div>>> You could locally revert that patch and continue until it is</div>
<div>>> resolved in the master. This is</div>
<div>>> just part of using the development head. 99% of the time it is OK</div>
<div>>> but once in a while,</div>
<div>>> it isn't.</div>
<div>>></div>
<div>>> [1] Sorry I missed having lunch or dinner with you. :)</div>
<div>>>> make[8]: Entering directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp/arm/stm32f4'</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/bsp_specs</div>
<div>>>> ../../../../../.././stm32f4/lib/bsp_specs</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/tm27.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/tm27.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/bsp.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/coverhd.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/coverhd.h</div>
<div>>>> /usr/bin/install -c -m 644 include/bspopts.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bspopts.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/bootcard.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/bootcard.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/utility.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/utility.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/irq-generic.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/irq-generic.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/irq-info.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/irq-info.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../../shared/include/stackalloc.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/stackalloc.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../shared/include/start.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/start.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/../shared/armv7m/include/armv7m-irq.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/armv7m-irq.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/irq.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/irq.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/usart.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/usart.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f4.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/stm32f4.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f10xxx_gpio.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/stm32f10xxx_gpio.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f10xxx_rcc.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/stm32f10xxx_rcc.h</div>
<div>>>> /usr/bin/install -c -m 644</div>
<div>>>> ../../../../../../../../rtems-source-code/c/src/lib/libbsp/arm/stm32f4/include/stm32f10xxx_exti.h</div>
<div>>>> ../../../../../.././stm32f4/lib/include/bsp/stm32f10xxx_exti.h</div>
<div>>>> make[8]: *** No rule to make target `include/stm32f4xxxx_adc.h',</div>
<div>>>> needed by</div>
<div>>>> `../../../../../.././stm32f4/lib/include/bsp/stm32f4xxxx_adc.h'.</div>
<div>>>> Stop.</div>
<div>>>> make[8]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp/arm/stm32f4'</div>
<div>>>> make[7]: *** [preinstall-recursive] Error 1</div>
<div>>>> make[7]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp/arm'</div>
<div>>>> make[6]: *** [preinstall-recursive] Error 1</div>
<div>>>> make[6]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib/libbsp'</div>
<div>>>> make[5]: *** [preinstall-recursive] Error 1</div>
<div>>>> make[5]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4/lib'</div>
<div>>>> make[4]: *** [preinstall-recursive] Error 1</div>
<div>>>> make[4]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4'</div>
<div>>>> make[3]: *** [preinstall-stamp] Error 2</div>
<div>>>> make[3]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4'</div>
<div>>>> make[2]: *** [all-recursive] Error 1</div>
<div>>>> make[2]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c/stm32f4'</div>
<div>>>> make[1]: *** [all-recursive] Error 1</div>
<div>>>> make[1]: Leaving directory</div>
<div>>>> `/home/zhangzhenxing/rtems/build-rtems/arm-rtems4.11/c'</div>
<div>>>> make: *** [all-recursive] Error 1</div>
<div>>>></div>
<div>>>> ------------------------------------------------------------------------ </div>
<div>>>></div>
<div>>>> harbor0727@gmail.com</div>
<div>>></div>
<div>>> -- Joel Sherrill, Ph.D. Director of Research & </div>
<div>>> Development</div>
<div>>> joel.sherrill@OARcorp.com On-Line Applications Research</div>
<div>>> Ask me about RTEMS: a free RTOS Huntsville AL 35805</div>
<div>>> Support Available (256) 722-9985</div>
<div>>></div>
<div>></div>
<div>></div>
<div> </div>
</div></div></div></div></blockquote></body></html>