Re: Unable to compile 2.1.131 *without* SMP

Tigran Aivazian (tigran@aivazian.demon.co.uk)
Mon, 21 Dec 1998 09:41:26 +0000 (GMT)


those are warnings.
State the reason why unable to compile.

On Mon, 21 Dec 1998 g33k@sliver.moot.mb.ca wrote:

>
> I am unable to compile 2.1.131 without SMP. I was able to do it when I was
> running Slackware 3.5, but since I've switched to Debian 2.0r3, I can't.
> I've tried with gcc 2.7.2.3 and gcc 2.8.1.
>
> If someone could help me with this, I'd really appreciate it.
>
> -- clip --
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.131/include -Wall
> -Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c ksyms.c
> In file included from
> /usr/src/linux-2.1.131/include/linux/modversions.h:15,
> from /usr/src/linux-2.1.131/include/linux/module.h:19,
> from ksyms.c:14:
> /usr/src/linux-2.1.131/include/linux/modules/i386_ksyms.ver:52: warning:
> `cpu_data' redefined
> /usr/src/linux-2.1.131/include/asm/processor.h:95: warning: this is the
> location of the previous definition
> /usr/src/linux-2.1.131/include/linux/modules/i386_ksyms.ver:60: warning:
> `smp_num_cpus' redefined
> /usr/src/linux-2.1.131/include/linux/smp.h:61: warning: this is the
> location of
> the previous definition
> /usr/src/linux-2.1.131/include/linux/modules/i386_ksyms.ver:80: warning:
> `smp_message_pass' redefined
> /usr/src/linux-2.1.131/include/linux/smp.h:64: warning: this is the
> location of
> the previous definition
>
> ...etc etc etc...
>
> -- clip --
>
> --
> Michael J. Dikkema
> g33k@moot.mb.ca
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/