can't build application from example-v2

Alan Cudmore 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:
cd hello/hello_world_c 
waf

But others fail. I’ll try it with an ARM bsp soon. 

Alan

> On Jan 8, 2017, at 4:08 AM, Denis Obrezkov <denisobrezkov at gmail.com> wrote:
> 
> Hello, 
> 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
> _find_installed_arch_bsps.
> 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
> http://lists.rtems.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170108/df873f64/attachment-0002.html>


More information about the users mailing list