dear linuxers,

i'm currently running bash version 1.14.6(1) and want to upgrade to
bash 2.02 (kernel 2.0.36, slackware distribution).
i got the sources, but compiling fails with the following error messages:

gcc  -DPROGRAM='"bash"' -DHOSTTYPE='"i486-pc-linux-gnu"' 
-DOSTYPE='"i486-pc-linux-gnu"' -DMACHTYPE='"i48
6-pc-linux-gnu"' -DSHELL -DHAVE_CONFIG_H   -I. -I. -I./lib -g -O2 -c shell.c
In file included from shell.h:35,
                 from shell.c:53:
sig.h:33: parse error before `SigHandler'
sig.h:33: warning: data definition has no type or storage class
sig.h:110: parse error before `termination_unwind_protect'
sig.h:110: warning: data definition has no type or storage class
sig.h:111: parse error before `sigint_sighandler'
sig.h:111: warning: data definition has no type or storage class
sig.h:120: parse error before `*'
sig.h:120: warning: data definition has no type or storage class
sig.h:121: parse error before `*'
sig.h:121: warning: data definition has no type or storage class
sig.h:122: parse error before `trap_handler'
sig.h:122: warning: data definition has no type or storage class
In file included from shell.h:37,
                 from shell.c:53:
externs.h:129: conflicting types for `strncasecmp'
/usr/include/string.h:177: previous declaration of `strncasecmp'
externs.h:144: conflicting types for `setlinebuf'
/usr/include/stdio.h:146: previous declaration of `setlinebuf'
make: *** [shell.o] Error 1              

what could be the cause for this error? the compilation of bash 1.14.6(1)
was no problem.

thank you for any hints,

gernot
-- 
,---------------------------------------------------------------------------.
| dipl.ing. gernot kerschbaumer  |  email:    [EMAIL PROTECTED]   |
| vereinsgasse 32/12       ,-----'  fax:      +43 1 2160493                 |
| a-1020 wien              | homepage: http://stud2.tuwien.ac.at/~e9018967/ |
`---------------------------------------------------------------------------'

Reply via email to