Unable to use make command to build "Hello world" Program
joel at rtems.org
Wed Feb 3 15:03:26 UTC 2021
On Wed, Feb 3, 2021 at 8:29 AM Rohan kumar <krohan8870 at gmail.com> wrote:
> Actually I followed this document
> https://docs.rtems.org/branches/master/user/start/bsp-build.html#quickstartbspbuild-manual to
> build bsp manually
> as mentioned in the "GSoc getting started" blog.
> Also yes when I run "./waf" command "Waf: Leaving directory
> " this was the final output as you said.
> But I am actually stuck in running Hello world program
> https://docs.rtems.org/branches/master/user/start/gsoc.html#prove-you-can-work-on-rtems this
> document says to run "make" command but the folder "/build/b-erc32" is
> empty. So I was confused about how to run Hello world.
It should be under rtems/build. Do a "find build -name hello.exe" and then
follow the remaining instructions.
Unfortunately, I think this is a specific example of
https://devel.rtems.org/ticket/4130 which when filed said there were more
than a few references to the old build system in the documentation. If you
can provide a patch for the docs to reflect the current waf procedure, that
would be appreciated. Good exercise for GSoC preparation. :)
> On Wed, Feb 3, 2021 at 6:36 PM Joel Sherrill <joel at rtems.org> wrote:
>> On Wed, Feb 3, 2021, 6:43 AM Rohan kumar <krohan8870 at gmail.com> wrote:
>>> Hello all,
>>> I am trying to run Hello World program but when run the command "make"
>>> to build, the error came "make: *** No targets specified and no makefile
>>> found. Stop". Actually there is nothing in the "/build/b-erc32" folder
>>> its just empty and
>> I'm not sure what you did. The mention of b-erc32 hints at configure and
>> autotools but you mention waf. Waf leaves the results in rtems/build and
>> you run waf again.
>> This seems to be mixing the old and new build infrastructure instructions.
>> Is there something that needs more attention in the documentation as we
>> move to waf only?
>> also there in the step "Test a BSP" I got two failures too.
>> These results look pretty good. Minimum probably needs to be addressed
>> from a tester perspective and sometimes the DL tests fail as the tools
>>> Passed: 557
>>> Failed: 2
>>> User Input: 6
>>> Expected Fail: 1
>>> Indeterminate: 0
>>> Benchmark: 3
>>> Timeout: 0
>>> Test too long: 0
>>> Invalid: 0
>>> Wrong Version: 0
>>> Wrong Build: 0
>>> Wrong Tools: 0
>>> Total: 569
>>> User Input:
>>> Expected Fail:
>>> Average test time: 0:00:00.283888
>>> Testing time : 0:02:41.532720
>>> I am currently working on the master branch and trying to build
>>> sparc-erc32. Do I have to run the ./waf again I am not sure any direction
>>> will be very helpful.
>>> devel mailing list
>>> devel at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel