[BusyBox] 0.52 and ash: problems on 2 systems

Giulio Orsero giulioo at pobox.com
Sat Jul 7 13:10:26 UTC 2001


On Sat, 7 Jul 2001 11:47:28 -0700, you wrote:

>> 1)
>> linux, glibc-2.1.2-11, 2.2.19
>> In file included from sh.c:33:
>> ash.c:1673: `true_main' undeclared here (not in a function)
>> ash.c:1673: initializer element for `builtincmds[1].builtinfunc' is not constant
>Try defining ASH_BBAPPS_AS_BUILTINS
Ok, it works now.

>> 2)
>> linux, libc-5.4.38-5, 2.0.33

>Seems there's a misplaced endif. Erik:
>Index: ash.c
>===================================================================
>RCS file: /var/cvs/busybox/ash.c,v
>...
>#define S_ISTXT S_ISVTX, maybe

Now I get
ash.c: In function `evalcommand':
In file included from sh.c:33:
ash.c:3048: warning: implicit declaration of function `setjmp'
ash.c: In function `subevalvar':
ash.c:5029: warning: implicit declaration of function `patmatch'
ash.c: At top level:
ash.c:5898: warning: `patmatch' was declared implicitly `extern' and later `stat
ic'
ash.c:6670: warning: excess elements in array initializer after `signal_names'
...
<many times>
...
ash.c: In function `umaskcmd':
ash.c:8498: warning: implicit declaration of function `setmode'
ash.c:8498: warning: assignment makes pointer from integer without a cast
ash.c:8499: warning: implicit declaration of function `getmode'
ash.c: In function `ulimitcmd':
ash.c:8572: variable `val' has initializer but incomplete type
ash.c:8572: storage size of `val' isn't known
ash.c:8572: warning: unused variable `val'
ash.c: In function `single_quote':
ash.c:8754: warning: implicit declaration of function `mempcpy'
ash.c:8754: warning: assignment makes pointer from integer without a cast
ash.c: At top level:
ash.c:11551: warning: type mismatch with previous implicit declaration
ash.c:8499: warning: previous implicit declaration of `getmode'
ash.c:11551: warning: `getmode' was previously implicitly declared to return `in
t'
ash.c:11551: warning: `getmode' was declared implicitly `extern' and later `stat
ic'
ash.c:11641: warning: type mismatch with previous implicit declaration
ash.c:8498: warning: previous implicit declaration of `setmode'
ash.c:11641: warning: `setmode' was previously implicitly declared to return `in
t'
ash.c:11641: warning: `setmode' was declared implicitly `extern' and later `stat
ic'
make: *** [sh.o] Error 1


Thanks

-- 
giulioo at pobox.com





More information about the busybox mailing list