RH8.0 a preklad jadra 2.4.20

Honza E honza na pc234.math.cas.cz
Pondělí Březen 3 13:44:04 CET 2003


Mili, 
mam nasledujici potiz:
Nemohu prelozit jadro 2.4.20 s gcc 3.2 ktera byla v RH8.0,
hlasi to - pri make bzImage -  chybu (viz nize).
Mam nejdrive zmenit gcc (protoze to s timto "defaultnim"
zkratka ani jit nemuze (?)) ?
jadro 2.4.19 jsem prelozil bez obtizi
(v RH bylo 2.4.18-14).

Podarilo se nekomu pod RH8.0 s jeho stand. vybavenim jadro 2.4.20 prelozit?

Dekuju za rady/namety :-)
Honza Eisner <eisner na math.cas.cz>
----------
...
gcc -D__KERNEL__ -I/home/honza/tmp/kernel/linux-2.4.20-patched/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
make CFLAGS="-D__KERNEL__ -I/home/honza/tmp/kernel/linux-2.4.20-patched/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C  kernel
make[1]: Entering directory `/home/honza/tmp/kernel/linux-2.4.20-patched/kernel'make all_targets
make[2]: Entering directory `/home/honza/tmp/kernel/linux-2.4.20-patched/kernel'gcc -D__KERNEL__ -I/home/honza/tmp/kernel/linux-2.4.20-patched/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.csched.c: In function `schedule':
sched.c:661: structure has no member named `context_swtch'
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/home/honza/tmp/kernel/linux-2.4.20-patched/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/honza/tmp/kernel/linux-2.4.20-patched/kernel'
make: *** [_dir_kernel] Error 2

-------------




Další informace o konferenci Linux