noOn Fri, Jun 04, 2004 at 04:41:17PM +0200, Eric BEGOT wrote:
when compiling linux-2.4.27-pre5 under a x86 architecture, I've a lot of warnings :
In file included from /usr/src/devel//usr/src/devel/include/linux/modules/i386_ksyms.ver:127:1: warning: "__ver_atomic_dec_and_lock" redefined
In file included from /usr/src/devel/include/linux/modversions.h:70,
from <command line>:8:
/usr/src/devel/include/linux/modules/dec_and_lock.ver:1:1: warning: this is the location of the previous definition
__ver_atomic_dec_and_lock is declared two times. Maybe it lacks a #ifdef somewhere in the modversions.h no ?
The compilation doesn't fail bu it's not very nice :)
I can't reproduce your problem with your .config .
Did you do something like patching the kernel or changing the SMP option
without running "make oldconfig" afterwards?
What are the values of __ver_atomic_dec_and_lock at the two placesin /usr/src/devel/include/linux/modules/i386_ksyms.ver :
mentiones in the warnings?
Does aapparently the mrproper fixed this problem. Sorry I've maybe forgotten to rebuild the configuration after applying the 2.4.27-pre5 patch.
cp .config /tmp
make mrproper
mv /tmp/.config
make oldconfig
make bzImage
fix this problem?