Re: Problems in building rtems.

2020-02-05 Thread Vaibhav Gupta
On Thu, Feb 6, 2020, 9:35 AM Ashwin Godbole 
wrote:

> Hi. My name is Ashwin. Im planning on participating in gsoc 2020. (But my
> interest in rtems is not confined to gsoc... I genuinely find this project
> interesting :P ).
>
> I'm new to RTEMS so I was trying to build myself a copy, according to the
> documentation at  https://docs.rtems.org/branches/master/user/start/
>
> I'm running a virtual box instance with Ubuntu running on it.
>
> At one step in the process, the docs instruct me to run the following
> command:
>
> ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5
> 5/rtems-sparc
>
> I'm facing issues here. My build keeps failing and I'm not getting
> anywhere. I keep getting build error that goes something like:
>
> error: building autoconf-2.69-X86_64-gnu-linux-1
>
> I'm attaching a screenshot of the exact error message.
>
The screenshot you shared has incomplete command. You haven't included '
--prefix ' option.

Check the 'rsb-report-autoconf.txt' file for complete error report.

>
> Can someone assist me with this?
>
> Your help is much appreciated.
>
>
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Problems in building rtems.

2020-02-05 Thread Ashwin Godbole
Hi. My name is Ashwin. Im planning on participating in gsoc 2020. (But my
interest in rtems is not confined to gsoc... I genuinely find this project
interesting :P ).

I'm new to RTEMS so I was trying to build myself a copy, according to the
documentation at  https://docs.rtems.org/branches/master/user/start/

I'm running a virtual box instance with Ubuntu running on it.

At one step in the process, the docs instruct me to run the following
command:

../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5
5/rtems-sparc

I'm facing issues here. My build keeps failing and I'm not getting
anywhere. I keep getting build error that goes something like:

error: building autoconf-2.69-X86_64-gnu-linux-1

I'm attaching a screenshot of the exact error message.


Can someone assist me with this?

Your help is much appreciated.
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-02-05 Thread chrisj
RTEMS Release Build - 5.0.0-m2002

RTEMS 5 Release snapshot m2002 is avaliable for testing.
It can be found at:

 https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2002

Please test and report any issues to the u...@rtems.org or de...@rtems.org
mailing lists or please raise a ticket.

If you are part of the RTEMS testing program please build on your preferred
host posting build and BSP test results to bu...@rtems.org.

This is a development release and may have errors and be unstable.

Thanks
Chris
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


Re: Error with Boost scope

2020-02-05 Thread Sebastian Huber

Hello,

I think this is an issue with your build settings. I extracted the boost 
includes for the ros project and included them in an example C++ RTEMS file:


#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

It works fine with this boost patch:

diff --git a/boost/config/detail/select_platform_config.hpp 
b/boost/config/detail/select_platform_config.hpp

index b36eca5..b87a458 100644
--- a/boost/config/detail/select_platform_config.hpp
+++ b/boost/config/detail/select_platform_config.hpp
@@ -17,7 +17,7 @@
 // linux, also other platforms (Hurd etc) that use GLIBC, should these 
really have their own config headers though?

 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"

-#elif defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__OpenBSD__) || defined(__DragonFly__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || 
defined(__OpenBSD__) || defined(__DragonFly__) || defined(__rtems__)

 // BSD:
 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"

diff --git a/boost/config/platform/bsd.hpp b/boost/config/platform/bsd.hpp
index 79e74a0..3b025b0 100644
--- a/boost/config/platform/bsd.hpp
+++ b/boost/config/platform/bsd.hpp
@@ -9,7 +9,7 @@

 //  generic BSD config options:

-#if !defined(__FreeBSD__) && !defined(__NetBSD__) && 
!defined(__OpenBSD__) && !defined(__DragonFly__)
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && 
!defined(__OpenBSD__) && !defined(__DragonFly__) && !defined(__rtems__)

 #error "This platform is not BSD"
 #endif

___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users