> Date: Sun, 14 Sep 2003 20:51:44 -0400 (EDT) > From: Dean Anderson <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] MODLOAD-2.4.20-2.3sparccustom-dean1-SP]# kgcc -O2 > -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common > -pipe -mcpu=ultrasparc -m64 -mno-fpu -mcmodel=medlow -ffixed-g4 > -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -D__KERNEL__ -DCPU=sparc64 > -DKERNEL -D_KERNEL -DMODULE -D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0 -I. > -I../ -I/usr/src/redhat/SOURCES/openafs-1.2.9/vlibafs/config -c > ../afs/afs_pioctl.c -DAFS_NONFSTRANS > In file included from ../linux/wait.h:16, > from ../afs/../afs/sysincludes.h:51, > from ../afs/afs_pioctl.c:15: > ../linux/spinlock.h:65: warning: `atomic_dec_and_lock' redefined > ../linux/modules/sparc64_ksyms.ver:46: warning: this is the location of > the previous definition This is why kernel build uses -include modversion.h instead of just monkeying with paths. It is crucial to have every reference to an exported symbol to be covered by its #define. -- Pete _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
