[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: allnoconfig fails to build
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2021-09-28 15:42:32
Message-ID: CAK1hOcMWYqAdiq3_bnA3rS1TEsKP6PF9EYk=ZfsSQN5Q8crotQ () mail ! gmail ! com
[Download RAW message or body]

Fixed in git.

On Tue, Sep 28, 2021 at 11:12 AM Norbert Lange <nolange79@gmail.com> wrote:
>
> 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);
>       |               ^~
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic