Re: [Cooker] the kernel too...
This seems strange to me too, hope it's not my stupidity. If CONFIG_SMP is defined, I can't find any header that defines smp_num_cpus. it has definition in /usr/include/linux/smp.h, but that's only when CONFIG_SMP is not defined. Abel Cheung On Sun, 4 Mar 2001, Guillaume Rousse wrote: > In file included from /usr/src/linux/include/linux/modversions.h:122, > from /usr/src/linux/include/linux/module.h:21, > from ksyms.c:14: > /usr/src/linux/include/linux/modules/ksyms.ver:536: warning: > `del_timer_sync' redefined > /usr/src/linux/include/linux/timer.h:34: warning: this is the location of > the previous definition > /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs': > In file included from ksyms.c:17: > /usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared > (first use in this function)
Re: [Cooker] the kernel too...
Forget the previous post, that's really my stupidity. Abel Cheung On Mon, 5 Mar 2001, R.I.P. Deaddog wrote: > > This seems strange to me too, hope it's not my stupidity. > > If CONFIG_SMP is defined, I can't find any header that defines > smp_num_cpus. it has definition in /usr/include/linux/smp.h, but > that's only when CONFIG_SMP is not defined. > > Abel Cheung
[Cooker] the kernel too...
In file included from /usr/src/linux/include/linux/modversions.h:122, from /usr/src/linux/include/linux/module.h:21, from ksyms.c:14: /usr/src/linux/include/linux/modules/ksyms.ver:536: warning: `del_timer_sync' redefined /usr/src/linux/include/linux/timer.h:34: warning: this is the location of the previous definition /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs': In file included from ksyms.c:17: /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.) /usr/src/linux/include/asm/checksum.h: At top level: In file included from ksyms.c:49: /usr/src/linux/include/asm/checksum.h:159: warning: `struct in6_addr' declared inside parameter list /usr/src/linux/include/asm/checksum.h:159: warning: its scope is only this definition or declaration, /usr/src/linux/include/asm/checksum.h:159: warning: which is probably not what you want. make[2]: *** [ksyms.o] Erreur 1 make[2]: Quitte le répertoire `/usr/src/linux-2.4.2/kernel' make[1]: *** [first_rule] Erreur 2 make[1]: Quitte le répertoire `/usr/src/linux-2.4.2/kernel' make: *** [_dir_kernel] Erreur 2 [root@agathe linux]# rpm -qa | grep kernel kernel-source-2.4.2-6mdk kernel-2.4.2-6mdk kernel-headers-2.4.2-6mdk -- Guillaume Rousse Murphy's law : If anything can go wrong, it will. O'Tool's commentary : Murphy was an optimist.