[ale] failed kernel recompile

Chris Ricker kaboom at gatech.edu
Sun Mar 11 22:33:13 EST 2001


On Mon, 12 Mar 2001, E.Y.Coley III wrote:

> >These particular messages mean only that some error has
> >occurred. You will need to post more detailed make output
> >for anyone to be able to tell you anything more.
>
> >I am running RedHat 7.0, kernel 2.2.16 and I am trying to recompile my
> >kernel for use with the emu10k1 driver for the SoundBlasterLive! PCI
> >sound card. I change to the directory /usr/src/linux-2.2.16, use make
> >xconfig, select the appropriate sound module, run make dep, make clean,
> >then make zImage.
>
> Here's the output from make zImage in its entirety:
>
> [root at gandalf linux-2.2.16]# make zImage
> scripts/split-include include/linux/autoconf.h include/config
> kgcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=586  -c -o init/main.o init/main.c
> kgcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=586 -DUTS_MACHINE='"i386"' -c -o init/version.o
> init/version.c
> make -C  kernel
> make[1]: Entering directory `/usr/src/linux-2.2.16/kernel'
> make all_targets
> make[2]: Entering directory `/usr/src/linux-2.2.16/kernel'
> kgcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=586   -DEXPORT_SYMTAB -c signal.c
> In file included from
> /usr/src/linux-2.2.16/include/linux/modversions.h:50,
>                  from /usr/src/linux-2.2.16/include/linux/module.h:19,
>                  from signal.c:10:
> /usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:6: warning:
> `cpu_data' redefined
> /usr/src/linux-2.2.16/include/asm/processor.h:96: warning: this is the
> location of the previous definition
> /usr/src/linux-2.2.16/include/linux/modules/i386_ksyms.ver:28: warning:
> `smp_num_cpus' redefined

You need to do a make mrproper in /usr/src/linux before doing anything else
(the make xconfig, etc. like you did this time).  You've got two different
kernel configurations fighting it out in your source tree ;-)

later,
chris

-- 
Chris Ricker                                               kaboom at gatech.edu
                                              chris.ricker at genetics.utah.edu

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list