Re: Can't make with SMP off and Modules on

From: Andreas Roedl (news-list.linux.kernel@innominate.de)
Date: Sat May 27 2000 - 11:57:51 EST


Hello!

Larry Colen - Open Source Group wrote:

>
> On a Redhat 6.1 installation, I have the 2.2.14 kernel. If I configure
> it with SMP off and Modules on, I get the following errors.
>
> gcc -D__KERNEL__ -I/u/usr/src/clunix/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malig
> n-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c ksym
> s.c
> In file included from /u/usr/src/clunix/linux/include/linux/modversions.h:17,
> from /u/usr/src/clunix/linux/include/linux/module.h:19,
> from ksyms.c:14:
> /u/usr/src/clunix/linux/include/linux/modules/i386_ksyms.ver:62: warning: `cpu_da
> ta' redefined
> /u/usr/src/clunix/linux/include/asm/processor.h:96: warning: this is the location
> of the previous definition

First you should make a copy of the .config file. After that, do

  make mrproper

Copy .config back to the previous location and configure your kernel.
Do the common steps

  make dep && make bzImage && make modules && make modules_install

That's it!

Sincerely

-- 
andreas.roedl@innominate.de
                                                        innominate AG
                                                     networkingpeople
fon: +49.30.308806-44 fax: -77              web: http://innominate.de

- 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/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:20 EST