kernel problem 2.0.36

Milan Kerslager milan.kerslager na spsselib.hiedu.cz
Čtvrtek Listopad 26 10:10:05 CET 1998


Mate nainstalovane egcs nebo gcc 2.8.x. Kdybyste se podival na URL, ktere 
tam v tech warningach je, tak byste si to mohl precist. Pravda je, ze 
patch inzerovany na tomto miste mi nejak nefungoval, takze jsem udelal to 
nejjednodussi - nainstaloval jsem gcc verze 2.7.2.3 [pozn: nefungoval mozna 
proto, ze jsem nemel egcs 1.1, ale 1.0.x, presne to uz nevim].

Ve Slackware 3.x si spustte pkgtool a odinstalujte egcs. Pak si stahnete:
ftp://ftp.vslib.cz/pub/unix/linux/slackware/slakware/d1/gcc.tgz

a pomoci pkgtool nainstalujte. Pokud vlastnite RH, postupujte obvyklou 
cestou pomoci rpm:

rpm -U gcc-2.7.2.3-14.i386.rpm

napr. z URL:

ftp://ftp.spsselib.hiedu.cz/pub/mirrors/redhat-5.2/RedHat/RPMS/gcc-
2.7.2.3-14.i386.rpm

> pri kompilaci jadra mi to asi po necele strance vypise tohle (make dep;
> make clean .. probehne bez problemu, jadro jsem si stahl z ftp.kernel.org
> 25.11.98)
> 
> toto je to co mi to pise:
> 
> friedel:/usr/src/linux# make zImage
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o init/main.o
> init/main.c
> In file included from init/main.c:17:
> /usr/src/linux/include/linux/types.h:7: warning: #warning "This code is
> tested with gcc 2.7.2.x only. Using egcs/gcc 2.8.x needs"
> /usr/src/linux/include/linux/types.h:8: warning: #warning "additional
> patches that have not been sufficiently tested to include by"
> /usr/src/linux/include/linux/types.h:9: warning: #warning "default."
> /usr/src/linux/include/linux/types.h:10: warning: #warning "See
> http://www.suse.de/~florian/kernel+egcs.html for more information"
> /usr/src/linux/include/linux/types.h:11: #error "Remove this if you have
> applied the gcc 2.8/egcs patches and wish to use them"
> /usr/src/linux/include/asm/string.h: In function `__constant_memcpy':
> In file included from /usr/src/linux/include/linux/string.h:39,
>                  from /usr/src/linux/include/asm/termios.h:59,
>                  from /usr/src/linux/include/linux/termios.h:5,
>                  from /usr/src/linux/include/linux/tty.h:20,
>                  from /usr/src/linux/include/linux/sched.h:26,
>                  from init/main.c:20:
> /usr/src/linux/include/asm/string.h:443: warning: control reaches end of
> non-void function
> /usr/src/linux/include/asm/string.h: In function
> `__constant_c_and_count_memset':
> /usr/src/linux/include/asm/string.h:594: warning: control reaches end of
> non-void function
> init/main.c: In function `get_options':
> init/main.c:259: warning: subscript has type `char'
> make: *** [init/main.o] Error 1
> friedel:/usr/src/linux#

--
                        Milan Kerslager, admin of spsselib.hiedu.cz
                        Monkey Linux, The Minimal Linux Distribution
                        See: http://www.spsselib.hiedu.cz/monkey/
                        E-mail: milan.kerslager na spsselib.hiedu.cz


Další informace o konferenci Linux