dear linuxers,
in order to upgrade to glibc, i want to install bash-2.0 (since the
glibc-howto tells that bash-2.0 is required to build glibc from source).
i've the sources but compiling (with gcc version 2.7.2.3) gives the
following errors:
GoodNight:~/Source/bash-2.0$ make
rm -f shell.o
gcc -DPROGRAM='"bash"' -DHOSTTYPE='"i586-unknown-linux"'
-DOSTYPE='"i586-unknown-linux"' -DMACHTYPE='"i586-unknown-l
inux"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./lib -g -O2 -c shell.c
In file included from shell.h:35,
from shell.c:51:
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:119: parse error before `*'
sig.h:119: warning: data definition has no type or storage class
In file included from shell.h:37,
from shell.c:51:
externs.h:99: conflicting types for `strncasecmp'
/usr/include/string.h:177: previous declaration of `strncasecmp'
externs.h:100: conflicting types for `strcasecmp'
/usr/include/string.h:167: previous declaration of `strcasecmp'
externs.h:114: conflicting types for `setlinebuf'
/usr/include/stdio.h:144: previous declaration of `setlinebuf'
make: *** [shell.o] Error 1
does this mean that i have to upgrade gcc (which i can't believe)?
thanks in advance,
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/ |
`---------------------------------------------------------------------------'