allnoconfig fails to build

Norbert Lange nolange79 at gmail.com
Tue Sep 28 09:12:21 UTC 2021


Seems like the config option ASH_ALIAS *needs* to be always enabled

  CC      shell/ash.o
/tmp/git/busybox/shell/ash.c: In function ‘freestrings’:
/tmp/git/busybox/shell/ash.c:10945:9: error: ‘struct strpush’ has no
member named ‘ap’
10945 |   if (sp->ap) {
      |         ^~
/tmp/git/busybox/shell/ash.c:10946:6: error: ‘struct strpush’ has no
member named ‘ap’
10946 |    sp->ap->flag &= ~ALIASINUSE;
      |      ^~
/tmp/git/busybox/shell/ash.c:10946:21: error: ‘ALIASINUSE’ undeclared
(first use in this function)
10946 |    sp->ap->flag &= ~ALIASINUSE;
      |                     ^~~~~~~~~~
/tmp/git/busybox/shell/ash.c:10946:21: note: each undeclared
identifier is reported only once for each function it appears in
/tmp/git/busybox/shell/ash.c:10947:10: error: ‘struct strpush’ has no
member named ‘ap’
10947 |    if (sp->ap->flag & ALIASDEAD) {
      |          ^~
/tmp/git/busybox/shell/ash.c:10947:23: error: ‘ALIASDEAD’ undeclared
(first use in this function)
10947 |    if (sp->ap->flag & ALIASDEAD) {
      |                       ^~~~~~~~~
/tmp/git/busybox/shell/ash.c:10948:5: warning: implicit declaration of
function ‘unalias’ [-Wimplicit-function-declaration]
10948 |     unalias(sp->ap->name);
      |     ^~~~~~~
/tmp/git/busybox/shell/ash.c:10948:15: error: ‘struct strpush’ has no
member named ‘ap’
10948 |     unalias(sp->ap->name);
      |               ^~


More information about the busybox mailing list