Cygwin tools failure

Ryan Long ryan.long at oarcorp.com
Tue Oct 11 18:26:49 UTC 2022


Cygwin has been unable to build the tools for awhile. This has been due 
to an array subscript being a char while building DTC. The maintainers 
didn't see an issue with the code itself, so it's going to go on being 
broken for awhile I guess.

Joel recommended commented out the building of DTC through the RSB. 
After doing so, I'm running into the following error. I was building 
AArch64's tools. Disabling DTC and building with my Debian WSL instance 
built it just fine.


[ 48/258] Compiling rtemstoolkit/elftoolchain/libelf/libelf_align.c
../rtemstoolkit/elftoolchain/libelf/elf.c:34:35: error: ‘LIBELF_ARCH’ 
undeclared here (not in a function); did you mean ‘LIBELF_ERROR’?
    34 |         .libelf_arch            = LIBELF_ARCH,
       |                                   ^~~~~~~~~~~
       |                                   LIBELF_ERROR
../rtemstoolkit/elftoolchain/libelf/elf.c:35:35: error: 
‘LIBELF_BYTEORDER’ undeclared here (not in a function); did you mean 
‘LIBELF_ERROR’?
    35 |         .libelf_byteorder       = LIBELF_BYTEORDER,
       |                                   ^~~~~~~~~~~~~~~~
       |                                   LIBELF_ERROR
../rtemstoolkit/elftoolchain/libelf/elf.c:36:35: error: ‘LIBELF_CLASS’ 
undeclared here (not in a function)
    36 |         .libelf_class           = LIBELF_CLASS,
       |                                   ^~~~~~~~~~~~

Waf: Leaving directory 
`/home/rtems-tester/rtems-cron-6/rtems-source-builder/rtems/build/rtems-tools-d0a65c72d1a170637258eb19f7d3e433be7c3c86-1/rtems-tools-d0a65c72d1a170637258eb19f7d3e433be7c3c86/build'


Does anyone know a fix for this?

Thanks,

Ryan



More information about the devel mailing list