compile error in rtems/confdefs header

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 27 07:40:09 UTC 2019


On 26/11/2019 18:31, Vishav.Vishav at dlr.de wrote:
> Hello,
> 
> To explain my problem, here are my system details:
> 
> RTEMS Version: 5.0.0
> 
> RTEMS tools: 7.4.1
> 
> BSP: Custom BSP adopted from Xilinx_zynq
> 
> Build tool: scons
> 
> While compiling I get the following error:
> 
> In file included from 
> /tools/modulesystem/tools/rtems/rtems/bsps/5/arm/arm-rtems5/xilinx_zynq_scosa/lib/include/rtems/confdefs.h:320:0,
> from **/examples/rtems_hello/init.c:70:
> ***/lib/include/rtems/imfs.h: In function '_IMFS_get_time':
> **/lib/include/rtems/imfs.h:344:18: error: storage size of 'now' isn't known
>     struct bintime now;

This is likely due to compiler options which force standard header files 
to hide non-standard content. Which options do you use?

If you use

#define CONFIGURE_MAXIMUM_TASKS 1

then you can create at most one Classic API task at a time. See

https://docs.rtems.org/branches/master/c-user/configuring_a_system.html

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the users mailing list