Compilation (on Debian jessie) of symbols.c inside elfcopy/ fails with the following message:
symbols.c: In function ‘free_symtab’:
symbols.c:673:4: error: implicit declaration of function ‘LIST_FOREACH_SAFE’ [-Werror=implicit-function-declaration]
LIST_FOREACH_SAFE(sh, &st_buf->l.hash[i], sh_next,
^
symbols.c:673:46: error: ‘sh_next’ undeclared (first use in this function)
LIST_FOREACH_SAFE(sh, &st_buf->l.hash[i], sh_next,
^
symbols.c:673:46: note: each undeclared identifier is reported only once for each function it appears in
symbols.c:674:15: error: expected ‘;’ before ‘{’ token
shtmp) {
^
cc1: all warnings being treated as errors
Attached patch fixed it for me.
Should be fixed by [r3139]. Thanks!
Related
Commit: [r3139]