linux-2.4.22-1.2115.nptl won't compile

Neal D. Becker nbecker at hns.com
Mon Nov 24 13:49:43 UTC 2003


I just took stock linux-2.4.22-1.2115.nptl source, 
ran make mrproper, then
copied configs/kernel-2.4.22-athlon.config to .config and ran this command:
make oldconfig dep bzImage modules

Here's what happened:
[...lots of stuff OK, then]
gcc32 -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=oprofile_stats  -c -o 
../../../drivers/oprofile/oprofile_stats.o 
../../../drivers/oprofile/oprofile_stats.c
rm -f oprofile.o
ld -m elf_i386  -r -o oprofile.o init.o timer_int.o 
../../../drivers/oprofile/oprof.o ../../../drivers/oprofile/cpu_buffer.o 
../../../drivers/oprofile/buffer_sync.o 
../../../drivers/oprofile/event_buffer.o 
../../../drivers/oprofile/oprofile_files.o 
../../../drivers/oprofile/oprofilefs.o 
../../../drivers/oprofile/oprofile_stats.o
../../../drivers/oprofile/event_buffer.o(.text+0x0): In function 
`dcookie_register':
: multiple definition of `dcookie_register'
../../../drivers/oprofile/buffer_sync.o(.text+0x0): first defined here
../../../drivers/oprofile/event_buffer.o(.text+0x10): In function 
`dcookie_unregister':
: multiple definition of `dcookie_unregister'
../../../drivers/oprofile/buffer_sync.o(.text+0x10): first defined here
make[2]: *** [oprofile.o] Error 1
make[2]: Leaving directory 
`/usr/src/linux-2.4.22-1.2115.nptl/arch/i386/oprofile'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory 
`/usr/src/linux-2.4.22-1.2115.nptl/arch/i386/oprofile'
m





More information about the fedora-list mailing list