<div dir="ltr">Hello, <div>I cloned rtems-tools from <a href="https://git.rtems.org/rtems-tools">https://git.rtems.org/rtems-tools</a></div><div>and I can't build them:</div><div><br></div><div><div>~/Projects/rtems/rtems-tools$ ./waf configure --prefix=$HOME/Projects/rtems/4.11</div><div>Setting top to                           : /home/reprofy/Projects/rtems/rtems-tools </div><div>Setting out to                           : /home/reprofy/Projects/rtems/rtems-tools/build </div><div>Version                                  : 4.12.516f9311e61f (4.12) </div><div>Checking for program 'python'            : /usr/bin/python </div><div>Checking for python version              : (2, 7, 9, 'final', 0) </div><div>Checking for 'gcc' (C compiler)          : /usr/bin/gcc </div><div>Checking for 'g++' (C++ compiler)        : /usr/bin/g++ </div><div>Checking for header alloca.h             : yes </div><div>Checking for header fcntl.h              : yes </div><div>Checking for header process.h            : not found </div><div>Checking for header stdlib.h             : yes </div><div>Checking for header string.h             : yes </div><div>Checking for header strings.h            : yes </div><div>Checking for header sys/file.h           : yes </div><div>Checking for header sys/stat.h           : yes </div><div>Checking for header sys/time.h           : yes </div><div>Checking for header sys/types.h          : yes </div><div>Checking for header sys/wait.h           : yes </div><div>Checking for header unistd.h             : yes </div><div>Checking for header vfork.h              : not found </div><div>Checking for function getrusage          : yes </div><div>Checking for program 'm4'                : /usr/bin/m4 </div><div>Checking for header sys/wait.h           : yes </div><div>Checking for function kill               : yes </div><div>Checking for function open64             : not found </div><div>Checking for function stat64             : not found </div><div>'configure' finished successfully (0.585s)</div><div>reprofy@repdell:~/Projects/rtems/rtems-tools$ ./waf build install</div><div>Waf: Entering directory `/home/reprofy/Projects/rtems/rtems-tools/build'</div><div>[  5/145] Compiling rtemstoolkit/elftoolchain/libelf/elf.c</div><div>[ 12/145] Compiling rtemstoolkit/elftoolchain/libelf/elf_fill.c</div><div>[ 13/145] Compiling rtemstoolkit/elftoolchain/libelf/elf_flag.c</div><div>[ 14/145] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarhdr.c</div><div>../rtemstoolkit/elftoolchain/libelf/elf.c:34:29: error: expected expression before ‘,’ token</div><div>  .libelf_arch  = LIBELF_ARCH,</div><div>                             ^</div><div><br></div><div>Waf: Leaving directory `/home/reprofy/Projects/rtems/rtems-tools/build'</div><div>Build failed</div><div> -> task in 'elf' failed (exit status 1): </div><div>        {task 140143375691152: c elf.c -> elf.c.5.o}</div><div>['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/home/reprofy/Projects/rtems/rtems-tools/build', '-I/home/reprofy/Projects/rtems/rtems-tools/build/rtemstoolkit/elftoolchain/libelf', '-I/home/reprofy/Projects/rtems/rtems-tools/rtemstoolkit/elftoolchain/libelf', '-I/home/reprofy/Projects/rtems/rtems-tools/build/rtemstoolkit/elftoolchain/common', '-I/home/reprofy/Projects/rtems/rtems-tools/rtemstoolkit/elftoolchain/common', '../rtemstoolkit/elftoolchain/libelf/elf.c', '-c', '-o', '/home/reprofy/Projects/rtems/rtems-tools/build/rtemstoolkit/elftoolchain/libelf/elf.c.5.o']</div><div><br></div>-- <br><div class="gmail_signature">Regards, Denis Obrezkov</div>
</div></div>