<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Sebastian, <br>
</p>
<p><br>
</p>
<p>Thanks for the reply. These are the compiler options that I use:</p>
<p></p>
<div>'-march=armv7-a',<br>
'-mthumb',<br>
'-mfpu=neon',<br>
'-mfloat-abi=hard',<br>
'-mtune=cortex-a9'</div>
<div><br>
</div>
<div>Optimization flags:</div>
<div><span>'-O2', '-ffunction-sections', '-fdata-sections',</span></div>
<div><span><br>
</span></div>
<div><span>Warning:</span></div>
<div><span>-Wall</span></div>
<div><span><br>
</span></div>
<div><span>-std=c99</span></div>
<div><span>Debug:</span></div>
<div><span>-g<br>
</span></div>
<div><br>
<span></span></div>
<div>Regards</div>
<div>Vishav<br>
</div>
<br>
<p></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Sebastian Huber <sebastian.huber@embedded-brains.de><br>
<b>Sent:</b> 27 November 2019 08:40:09<br>
<b>To:</b> Vishav, Vishav; users@rtems.org<br>
<b>Subject:</b> Re: compile error in rtems/confdefs header</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 26/11/2019 18:31, Vishav.Vishav@dlr.de wrote:<br>
> Hello,<br>
> <br>
> To explain my problem, here are my system details:<br>
> <br>
> RTEMS Version: 5.0.0<br>
> <br>
> RTEMS tools: 7.4.1<br>
> <br>
> BSP: Custom BSP adopted from Xilinx_zynq<br>
> <br>
> Build tool: scons<br>
> <br>
> While compiling I get the following error:<br>
> <br>
> In file included from <br>
> /tools/modulesystem/tools/rtems/rtems/bsps/5/arm/arm-rtems5/xilinx_zynq_scosa/lib/include/rtems/confdefs.h:320:0,<br>
> from **/examples/rtems_hello/init.c:70:<br>
> ***/lib/include/rtems/imfs.h: In function '_IMFS_get_time':<br>
> **/lib/include/rtems/imfs.h:344:18: error: storage size of 'now' isn't known<br>
>     struct bintime now;<br>
<br>
This is likely due to compiler options which force standard header files <br>
to hide non-standard content. Which options do you use?<br>
<br>
If you use<br>
<br>
#define CONFIGURE_MAXIMUM_TASKS 1<br>
<br>
then you can create at most one Classic API task at a time. See<br>
<br>
<a href="https://docs.rtems.org/branches/master/c-user/configuring_a_system.html">https://docs.rtems.org/branches/master/c-user/configuring_a_system.html</a><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : +49 89 189 47 41-16<br>
Fax     : +49 89 189 47 41-09<br>
E-Mail  : sebastian.huber@embedded-brains.de<br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</div>
</span></font>
</body>
</html>