can't build application from example-v2
alan.cudmore at gmail.com
Sun Jan 8 15:50:32 UTC 2017
I was able to get the waf configure step for the examples-v2 repository to work with sparc/erc32 ( 4.12 )
In your —rtems= switch, does it point to where you installed the BSP? ( as opposed to the source )
Mine looks like this:
waf configure —rtems=$HOME/rtems/bsps/4.12 —rtems-tools=$HOME/rtems/tools/4.12 —rtems-version=4.12 —rtems-bsps=sparc/erc32
While the configure step worked for me, I was not able to get the repository to build for the sparc/erc32.
I can build some of the individual examples by going into a directory:
But others fail. I’ll try it with an ARM bsp soon.
> On Jan 8, 2017, at 4:08 AM, Denis Obrezkov <denisobrezkov at gmail.com> wrote:
> I downloaded sample application from here:
> https://git.rtems.org/examples-v2/ <https://git.rtems.org/examples-v2/>
> Also, I've already installed tools and rtems, and sample applications from
> RTEMS(ticker and hello world) work in sparc gdb simulator.
> But I can't build applications from that repository:
> ./waf-1.9.7 configure --rtems=$HOME/Projects/rtems/devel/rtems/4.12 --rtems-tools=$HOME/Projects/rtems/4.12 --rtems-bsps=sparc/erc32 --rtems-version=4.12
> Setting top to : /home/reprofy/Projects/rtems/examples-v2
> Setting out to : /home/reprofy/Projects/rtems/examples-v2/build
> No valid arch/bsps found
> (complete log in /home/reprofy/Projects/rtems/examples-v2/build/config.log)
> I found that mistake happens in file rtems_waf/rtems.py, in function
> In the loop in line 571 my f is 'expat.pc', but my archs is ['sparc-rtems4.12'].
> What am I doing wrong?
> Regards, Denis Obrezkov
> users mailing list
> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users