Re: Linux 2.4.27-pre5

From: Eric BEGOT
Date: Sun Jun 06 2004 - 13:13:15 EST


Adrian Bunk wrote:

On 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?


no

What are the values of __ver_atomic_dec_and_lock at the two places
mentiones in the warnings?


in /usr/src/devel/include/linux/modules/i386_ksyms.ver :
#define __ver_atomic_dec_and_lock smp_d43e6bde
in /usr/src/devel/include/linux/modules/dec_and_lock.ver :
#define __ver_atomic_dec_and_lock smp_ad7738e3

Does a
cp .config /tmp
make mrproper
mv /tmp/.config
make oldconfig
make bzImage
fix this problem?


apparently the mrproper fixed this problem. Sorry I've maybe forgotten to rebuild the configuration after applying the 2.4.27-pre5 patch.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/