rtems-tools building error

Denis Obrezkov denisobrezkov at gmail.com
Sat Jan 7 21:59:35 UTC 2017


Hello,
I cloned rtems-tools from https://git.rtems.org/rtems-tools
and I can't build them:

~/Projects/rtems/rtems-tools$ ./waf configure
--prefix=$HOME/Projects/rtems/4.11
Setting top to                           :
/home/reprofy/Projects/rtems/rtems-tools
Setting out to                           :
/home/reprofy/Projects/rtems/rtems-tools/build
Version                                  : 4.12.516f9311e61f (4.12)
Checking for program 'python'            : /usr/bin/python
Checking for python version              : (2, 7, 9, 'final', 0)
Checking for 'gcc' (C compiler)          : /usr/bin/gcc
Checking for 'g++' (C++ compiler)        : /usr/bin/g++
Checking for header alloca.h             : yes
Checking for header fcntl.h              : yes
Checking for header process.h            : not found
Checking for header stdlib.h             : yes
Checking for header string.h             : yes
Checking for header strings.h            : yes
Checking for header sys/file.h           : yes
Checking for header sys/stat.h           : yes
Checking for header sys/time.h           : yes
Checking for header sys/types.h          : yes
Checking for header sys/wait.h           : yes
Checking for header unistd.h             : yes
Checking for header vfork.h              : not found
Checking for function getrusage          : yes
Checking for program 'm4'                : /usr/bin/m4
Checking for header sys/wait.h           : yes
Checking for function kill               : yes
Checking for function open64             : not found
Checking for function stat64             : not found
'configure' finished successfully (0.585s)
reprofy at repdell:~/Projects/rtems/rtems-tools$ ./waf build install
Waf: Entering directory `/home/reprofy/Projects/rtems/rtems-tools/build'
[  5/145] Compiling rtemstoolkit/elftoolchain/libelf/elf.c
[ 12/145] Compiling rtemstoolkit/elftoolchain/libelf/elf_fill.c
[ 13/145] Compiling rtemstoolkit/elftoolchain/libelf/elf_flag.c
[ 14/145] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarhdr.c
../rtemstoolkit/elftoolchain/libelf/elf.c:34:29: error: expected expression
before ‘,’ token
  .libelf_arch  = LIBELF_ARCH,
                             ^

Waf: Leaving directory `/home/reprofy/Projects/rtems/rtems-tools/build'
Build failed
 -> task in 'elf' failed (exit status 1):
        {task 140143375691152: c elf.c -> elf.c.5.o}
['/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']

-- 
Regards, Denis Obrezkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170107/68829ad9/attachment.html>


More information about the users mailing list