I've seen this. Happened when I tried to compile 2.2.13-22mdk without SMP
enabled. Fix was to reenable SMP.
Rich Clark
On Tue, 21 Dec 1999, William English wrote:
> i need help again now it does this stuff when i am trying to compile it
>
>
> /usr/src/linux-2.2.13/include/linux/modules-up/i386_ksyms.ver:78:
> warning: this
> is the location of the previous definition
> In file included from
> /usr/src/linux-2.2.13/include/linux/interrupt.h:52,
> from ksyms.c:21:
> /usr/src/linux-2.2.13/include/asm/softirq.h:72: warning:
> `synchronize_bh' redefined
> /usr/src/linux-2.2.13/include/linux/modules-up/i386_ksyms.ver:80:
> warning: this
> is the location of the previous definition
> /usr/src/linux-2.2.13/include/linux/kernel_stat.h: In function
> `kstat_irqs':
> In file included from ksyms.c:17:
> /usr/src/linux-2.2.13/include/linux/kernel_stat.h:44: `smp_num_cpus'
> undeclared
> (first use in this function)
> /usr/src/linux-2.2.13/include/linux/kernel_stat.h:44: (Each undeclared
> identifier is reported only once
> /usr/src/linux-2.2.13/include/linux/kernel_stat.h:44: for each function
> it appears in.)
> make[2]: *** [ksyms.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.13/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.13/kernel'
> make: *** [_dir_kernel] Error 2
> [root@localhost linux-2.2.13]#
>
>