Hi,
# zcat /proc/config.gz > /usr/src/linux/.config # cd /usr/src/linux # make oldconfig # make dep && make clean && ......
Habe ich gemacht und hab bei der Abfrage von make oldconfig, für neue Einstellungen einfach mal alles mit N bestätigt. Dachte mir ich versuche erstmal ob die alte Konfiguration läuft. Jetzt wollte ich nach make dep und make clean den Kernel mit make bzImage kompilieren. Allerdings bricht er mittendrin beim Kompilieren ab, warum auch immer. Hier sind mal die letzten Zeilen der Ausgabe von make bzImage, vielleicht kann mir ja jemand mehr damit anfangen: /usr/src/linux/include/linux/timer.h:30: warning: `del_timer_sync' redefined /usr/src/linux/include/linux/modules/ksyms.ver:524: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/sched.h:23, from /usr/src/linux/include/linux/mm.h:4, from sys.c:8: /usr/src/linux/include/linux/smp.h:80: warning: `smp_num_cpus' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:86: warning: this is the location of the previous definition /usr/src/linux/include/linux/smp.h:87: warning: `smp_call_function' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:102: warning: this is the location of the previous definition /usr/src/linux/include/linux/smp.h:88: warning: `cpu_online_map' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:88: warning: this is the location of the previous definition gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DEXPORT_SYMTAB -c kmod.c In file included from /usr/src/linux/include/linux/modversions.h:64, from /usr/src/linux/include/linux/module.h:21, from kmod.c:22: /usr/src/linux/include/linux/modules/dec_and_lock.ver:2: warning: `atomic_dec_and_lock' redefined /usr/src/linux/include/linux/spinlock.h:48: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/modversions.h:117, from /usr/src/linux/include/linux/module.h:21, from kmod.c:22: /usr/src/linux/include/linux/modules/i386_ksyms.ver:82: warning: `cpu_data' redefined /usr/src/linux/include/asm/processor.h:79: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/ext3_fs_sb.h:20, from /usr/src/linux/include/linux/fs.h:671, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from kmod.c:23: /usr/src/linux/include/linux/timer.h:30: warning: `del_timer_sync' redefined /usr/src/linux/include/linux/modules/ksyms.ver:524: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/sched.h:23, from kmod.c:23: /usr/src/linux/include/linux/smp.h:80: warning: `smp_num_cpus' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:86: warning: this is the location of the previous definition /usr/src/linux/include/linux/smp.h:87: warning: `smp_call_function' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:102: warning: this is the location of the previous definition /usr/src/linux/include/linux/smp.h:88: warning: `cpu_online_map' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:88: warning: this is the location of the previous definition gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DEXPORT_SYMTAB -c context.c In file included from /usr/src/linux/include/linux/modversions.h:64, from /usr/src/linux/include/linux/module.h:21, from context.c:16: /usr/src/linux/include/linux/modules/dec_and_lock.ver:2: warning: `atomic_dec_and_lock' redefined /usr/src/linux/include/linux/spinlock.h:48: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/modversions.h:117, from /usr/src/linux/include/linux/module.h:21, from context.c:16: /usr/src/linux/include/linux/modules/i386_ksyms.ver:82: warning: `cpu_data' redefined /usr/src/linux/include/asm/processor.h:79: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/ext3_fs_sb.h:20, from /usr/src/linux/include/linux/fs.h:671, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from context.c:18: /usr/src/linux/include/linux/timer.h:30: warning: `del_timer_sync' redefined /usr/src/linux/include/linux/modules/ksyms.ver:524: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/sched.h:23, from context.c:18: /usr/src/linux/include/linux/smp.h:80: warning: `smp_num_cpus' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:86: warning: this is the location of the previous definition /usr/src/linux/include/linux/smp.h:87: warning: `smp_call_function' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:102: warning: this is the location of the previous definition /usr/src/linux/include/linux/smp.h:88: warning: `cpu_online_map' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:88: warning: this is the location of the previous definition gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -c -o uid16.o uid16.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DEXPORT_SYMTAB -c ksyms.c In file included from /usr/src/linux/include/linux/modversions.h:64, from /usr/src/linux/include/linux/module.h:21, from ksyms.c:14: /usr/src/linux/include/linux/modules/dec_and_lock.ver:2: warning: `atomic_dec_and_lock' redefined /usr/src/linux/include/linux/spinlock.h:48: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/modversions.h:117, from /usr/src/linux/include/linux/module.h:21, from ksyms.c:14: /usr/src/linux/include/linux/modules/i386_ksyms.ver:82: warning: `cpu_data' redefined /usr/src/linux/include/asm/processor.h:79: warning: this is the location of the previous definition /usr/src/linux/include/linux/modules/i386_ksyms.ver:86: warning: `smp_num_cpus' redefined /usr/src/linux/include/linux/smp.h:80: warning: this is the location of the previous definition /usr/src/linux/include/linux/modules/i386_ksyms.ver:88: warning: `cpu_online_map' redefined /usr/src/linux/include/linux/smp.h:88: warning: this is the location of the previous definition /usr/src/linux/include/linux/modules/i386_ksyms.ver:102: warning: `smp_call_function' redefined /usr/src/linux/include/linux/smp.h:87: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/modversions.h:145, from /usr/src/linux/include/linux/module.h:21, from ksyms.c:14: /usr/src/linux/include/linux/modules/ksyms.ver:524: warning: `del_timer_sync' redefined /usr/src/linux/include/linux/timer.h:30: warning: this is the location of the previous definition In file included from /usr/src/linux/include/linux/interrupt.h:45, from /usr/src/linux/include/asm/highmem.h:25, from /usr/src/linux/include/linux/highmem.h:11, from /usr/src/linux/include/linux/pagemap.h:16, from /usr/src/linux/include/linux/locks.h:8, from /usr/src/linux/include/linux/devfs_fs_kernel.h:6, from /usr/src/linux/include/linux/genhd.h:58, from /usr/src/linux/include/linux/blkdev.h:6, from ksyms.c:15: /usr/src/linux/include/asm/hardirq.h:37: warning: `synchronize_irq' redefined /usr/src/linux/include/linux/modules/i386_ksyms.ver:90: warning: this is the location of the previous definition In file included from ksyms.c:17: /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs': /usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function) /usr/src/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once /usr/src/linux/include/linux/kernel_stat.h:48: for each function it appears in.)make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/linux/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux/kernel' make: *** [_dir_kernel] Error 2 Danke im voraus Mike