[OpenAFS-devel] Re: Compiling openafs on arm64/aarch64 architecture
Micheal Waltz
mwaltz@qualcomm.com
Tue, 14 Oct 2014 11:32:16 -0700
--------------070601050907080004080403
Content-Type: text/plain; charset="windows-1252"; format=flowed
Content-Transfer-Encoding: 7bit
On 09/08/14 09:59, Micheal waltz wrote:
>
> On 09/05/2014 04:28 PM, Chas Williams (CONTRACTOR) wrote:
>> In message
>> <alpine.GSO.1.10.1409051426120.21571@multics.mit.edu>,Benjamin Kaduk
>> writes:
>>> If linux arm64 does not support running 32-bit executables, you can
>>> just
>>> put in "if (0)". You could probably do so for now even if arm64 does
>>> support 32-bit executables, with an XXX comment that it needs to be
>>> revisited. I am not a linux kernel expert, so I don't know how to
>>> do this
>>> "properly" off the top of my head.
>> Actually, the comment for that routine says:
>>
>> /*
>> * If you need to change copyin_iparam(), you may also need to change
>> * copyin_afs_ioctl().
>> *
>> * This function is needed only for icreate, meaning, only on platforms
>> * providing the inode fileserver.
>> */
>>
>> And it's right. This routine is only used for afs's icreate which will
>> never happen on linux unless someone ports the inode fileserver (very
>> unlikely).
>>
>> You should be able to just safely get rid of this all Linux's.
>
I made the following change,
diff --git a/src/afs/afs_syscall.c b/src/afs/afs_syscall.c
index 8ad59e9..8cb5aba 100644
--- a/src/afs/afs_syscall.c
+++ b/src/afs/afs_syscall.c
@@ -142,6 +142,10 @@ copyin_afs_ioctl(caddr_t cmarg, struct afs_ioctl *dst)
#elif defined(AFS_S390X_LINUX20_ENV)
if (current->thread.flags & S390_FLAG_31BIT)
+/* Do not use for ARM64 - should be revisted in the future */
+#elif defined(AFS_ARM64_LINUX26_ENV)
+ if (0)
+
#else
#error pioctl32 not done for this linux
#endif
@@ -417,6 +421,10 @@ copyin_iparam(caddr_t cmarg, struct iparam *dst)
#elif defined(AFS_S390X_LINUX20_ENV)
if (current->thread.flags & S390_FLAG_31BIT)
+/* Do not use for ARM64 - should be revisted in the future */
+#elif defined(AFS_ARM64_LINUX26_ENV)
+ if (0)
+
#else
#error iparam32 not done for this linux platform
#endif
to both the copyin_afs_ioctl() and copyin_iparam() functions in
afs/afs_syscall.c, and the kernel module gets slightly farther along,
but gives many warnings about 'struct flock64' and eventually errors out
with "dereferencing pointer to incomplete type". I'm attaching the
failed portion of the make.log that has the full details.
I'm sure there's a few other things that need tweaking here, but I'm
already beyond my limit of understanding what's going on unfortunately.
Any additional help would be appreciated.
Thank you,
--
Micheal Waltz
Unix Configuration Management (go/ucm)
Qualcomm Inc.
--------------070601050907080004080403
Content-Type: text/x-log; name="openafs-amr64-make.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="openafs-amr64-make.log"
if [ "" ] ; then \
TARGPREFIX="pack_"; \
fi ; \
for m in MP ; do \
KDIR=MODLOAD-3.13.0-34-generic-$m ; \
echo Building in directory: ${KDIR} ; \
if [ "$m" = "MP" ] ; then \
SMP_DEF="-DAFS_SMP " ; \
TARG="libafs.mp" ; \
elif [ "$m" = "EP" ] ; then \
SMP_DEF="-DAFS_SMP " ; \
TARG="libafs.ep" ; \
elif [ "$m" = "BM" ] ; then \
SMP_DEF="-DAFS_SMP " ; \
TARG="libafs.bm" ; \
else \
SMP_DEF=" " ; \
TARG=libafs ; \
fi ; \
cd ${KDIR} ; \
make -f Makefile.afs SMP_DEF="${SMP_DEF}" linux_compdirs_${TARGPREFIX}${TARG} CLIENT=3.13.0-34-generic KDIR=${KDIR} || exit $?; \
cd ../ ; \
done
Building in directory: MODLOAD-3.13.0-34-generic-MP
make[4]: Entering directory `/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP'
Makefile.common:50: warning: overriding commands for target `.c.o'
/home/mwaltz/git/openafs/src/config/Makefile.config:141: warning: ignoring old commands for target `.c.o'
env EXTRA_CFLAGS="" /home/mwaltz/git/openafs/src/libafs/make_kbuild_makefile.pl MODLOAD-3.13.0-34-generic-MP libafs.ko /home/mwaltz/git/openafs/src/config/Makefile.config Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C /lib/modules/3.13.0-34-generic/build M=/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP modules 2>&1 | tee .makelog
make[5]: Entering directory `/usr/src/linux-headers-3.13.0-34-generic'
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_atomlist.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_error.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_error.c:34:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_icl.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_icl.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_lhash.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_lock.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_lock.c:30:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_alloc.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_alloc.c:17:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_pag.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_pag.c:27:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_pag_call.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_pag_call.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_pag_cred.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_pag_cred.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_pag_user.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_pag_user.c:34:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_stat.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_stat.c:17:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_syscall.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_syscall.c:19:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_warn.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_warn.c:44:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afsaux.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afsaux.c:22:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_arrayn.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_array.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_int32.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_int64.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx.c:22:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_rdwr.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_clock.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_event.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_globals.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_kmutex.o
In file included from /home/mwaltz/git/openafs/src/afs/sysincludes.h:131:0,
from /home/mwaltz/git/openafs/src/rx/rx_kcommon.h:156,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_kmutex.c:20:
include/linux/backing-dev.h:117:3: warning: 'printk' is an unrecognized format function type [-Wformat=]
const char *fmt, ...);
^
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/rx/rx_kcommon.h:157,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_kmutex.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_pag_knet.o
In file included from /home/mwaltz/git/openafs/src/afs/sysincludes.h:131:0,
from /home/mwaltz/git/openafs/src/rx/rx_kcommon.h:156,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_pag_knet.c:20:
include/linux/backing-dev.h:117:3: warning: 'printk' is an unrecognized format function type [-Wformat=]
const char *fmt, ...);
^
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/rx/rx_kcommon.h:157,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_pag_knet.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_kcommon.o
In file included from /home/mwaltz/git/openafs/src/afs/sysincludes.h:131:0,
from /home/mwaltz/git/openafs/src/rx/rx_kcommon.h:156,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_kcommon.c:18:
include/linux/backing-dev.h:117:3: warning: 'printk' is an unrecognized format function type [-Wformat=]
const char *fmt, ...);
^
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/rx/rx_kcommon.h:157,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_kcommon.c:18:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_misc.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_misc.c:16:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_null.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_getaddr.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_packet.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rx_multi.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_rx.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_mem.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_len.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/Kpagcb.ss.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/Kpagcb.xdr.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/Krxstat.ss.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/Krxstat.xdr.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/Krmtsys.cs.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/Krmtsys.xdr.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/rxstat.o
( VERSION=`/home/mwaltz/git/openafs/build-tools/git-version /home/mwaltz/git/openafs "1.6.10pre1-1-gfcad3"` && \
echo 'char cml_version_number[]="@(#) OpenAFS '$VERSION' built ' `date +"%Y-%m-%d"` '";' >/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c.NEW && \
echo 'char* AFSVersion = "openafs '$VERSION'";' >>/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c.NEW && \
if cmp /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c.NEW /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c > /dev/null 2>&1 ; then : ; else \
mv /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c.NEW /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c ; fi )
rm -f /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.c.NEW
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/AFS_component_version_number.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr_afsuuid.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/xdr.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_uuid.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_uuid.c:55:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_alloc.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_alloc.c:19:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_cred.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_cred.c:19:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_gcpags.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_gcpags.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_groups.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_groups.c:24:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_inode.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_inode.c:25:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_misc.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_misc.c:23:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_probe.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_sleep.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_sleep.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_syscall.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_syscall.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_ioctl.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_ioctl.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_pag_module.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/osi_pag_module.c:19:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_analyze.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_analyze.c:34:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_axscache.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_axscache.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_buffer.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_buffer.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_bypasscache.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/afs/afs_bypasscache.h:68,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_bypasscache.c:64:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_callback.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_callback.c:21:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_cbqueue.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_cbqueue.c:79:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_cell.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_cell.c:19:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_chunk.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_chunk.c:16:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_conn.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_conn.c:34:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_daemons.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_daemons.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_dcache.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_dcache.c:18:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_dir.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_disconnected.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_disconnected.c:12:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_dynroot.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_dynroot.c:38:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_init.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_init.c:22:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_mariner.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_mariner.c:21:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_md5.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_md5.c:37:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_memcache.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_memcache.c:18:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_fetchstore.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_fetchstore.c:23:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osidnlc.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osidnlc.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_uio.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_uio.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_vget.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_vget.c:19:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_vm.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_osi_vm.c:15:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_segments.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_segments.c:18:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_server.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_server.c:56:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_user.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_user.c:34:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_util.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_util.c:36:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vcache.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vcache.c:44:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_access.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_access.c:27:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_attrs.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_attrs.c:28:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_create.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_create.c:21:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_dirops.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_dirops.c:25:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_fid.o
CC [M] /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.o
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1170:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1179:10: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred);
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:34:12: warning: 'struct flock64' declared inside parameter list [enabled by default]
struct vrequest *areq, int clid);
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:38:9: warning: 'struct flock64' declared inside parameter list [enabled by default]
int clid);
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:137:43: warning: 'struct flock64' declared inside parameter list [enabled by default]
lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp, int clid)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:137:1: error: conflicting types for 'lockIdSet'
lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp, int clid)
^
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1169:13: note: previous declaration of 'lockIdSet' was here
extern void lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: In function 'lockIdSet':
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:142:7: error: dereferencing pointer to incomplete type
flock->l_pid = getpid();
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: At top level:
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:180:12: warning: 'struct flock64' declared inside parameter list [enabled by default]
struct SimpleLocks *alp, int onlymine, int clid)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:179:1: error: conflicting types for 'lockIdcmp2'
lockIdcmp2(struct AFS_FLOCK *flock1, struct vcache *vp,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:36:12: note: previous declaration of 'lockIdcmp2' was here
static int lockIdcmp2(struct AFS_FLOCK *flock1, struct vcache *vp,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: In function 'lockIdcmp2':
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:203:13: error: dereferencing pointer to incomplete type
if ((flock1->l_pid == alp->pid) ||
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:205:27: error: dereferencing pointer to incomplete type
(!onlymine && (flock1->l_pid == getppid()))
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:226:12: error: dereferencing pointer to incomplete type
if (flock1->l_pid == slp->pid) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: In function 'HandleFlock':
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:261:22: error: storage size of 'flock' isn't known
struct AFS_FLOCK flock;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:261:22: warning: unused variable 'flock' [-Wunused-variable]
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: At top level:
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:576:3: warning: 'struct flock64' declared inside parameter list [enabled by default]
afs_ucred_t * acred)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:575:5: error: conflicting types for 'afs_lockctl'
int afs_lockctl(struct vcache * avc, struct AFS_FLOCK * af, int acmd,
^
In file included from /home/mwaltz/git/openafs/src/afs/afsincludes.h:57:0,
from /home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:20:
/home/mwaltz/git/openafs/src/afs/afs_prototypes.h:1178:12: note: previous declaration of 'afs_lockctl' was here
extern int afs_lockctl(struct vcache * avc, struct AFS_FLOCK * af, int acmd,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: In function 'afs_lockctl':
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:599:8: error: dereferencing pointer to incomplete type
if (af->l_type == F_UNLCK) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:603:2: warning: passing argument 2 of 'HandleGetLock' from incompatible pointer type [enabled by default]
code = HandleGetLock(avc, af, &treq, clid);
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:32:12: note: expected 'struct flock64 *' but argument is of type 'struct flock64 *'
static int HandleGetLock(struct vcache *avc,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:616:8: error: dereferencing pointer to incomplete type
if (af->l_type == F_WRLCK) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:625:19: error: dereferencing pointer to incomplete type
if ((sizeof(af->l_len) == 8) && (af->l_len == 0x7fffffffffffffffLL))
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:625:40: error: dereferencing pointer to incomplete type
if ((sizeof(af->l_len) == 8) && (af->l_len == 0x7fffffffffffffffLL))
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:626:4: error: dereferencing pointer to incomplete type
af->l_len = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:629:11: error: dereferencing pointer to incomplete type
if (af->l_whence != 0 || af->l_start != 0 || af->l_len != 0) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:629:32: error: dereferencing pointer to incomplete type
if (af->l_whence != 0 || af->l_start != 0 || af->l_len != 0) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:629:52: error: dereferencing pointer to incomplete type
if (af->l_whence != 0 || af->l_start != 0 || af->l_len != 0) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:635:11: error: dereferencing pointer to incomplete type
if (af->l_type == F_RDLCK)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:637:16: error: dereferencing pointer to incomplete type
else if (af->l_type == F_WRLCK)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:639:16: error: dereferencing pointer to incomplete type
else if (af->l_type == F_UNLCK)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: At top level:
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:684:15: warning: 'struct flock64' declared inside parameter list [enabled by default]
struct vrequest *areq, int clid)
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:683:1: error: conflicting types for 'HandleGetLock'
HandleGetLock(struct vcache *avc, struct AFS_FLOCK *af,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:32:12: note: previous declaration of 'HandleGetLock' was here
static int HandleGetLock(struct vcache *avc,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: In function 'HandleGetLock':
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:687:22: error: storage size of 'flock' isn't known
struct AFS_FLOCK flock;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:699:22: error: dereferencing pointer to incomplete type
if (code == 0 || (af->l_type == F_RDLCK && code > 0)) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:700:8: error: dereferencing pointer to incomplete type
af->l_type = F_UNLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:704:8: error: dereferencing pointer to incomplete type
af->l_type = F_RDLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:706:8: error: dereferencing pointer to incomplete type
af->l_type = F_WRLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:708:4: error: dereferencing pointer to incomplete type
af->l_pid = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:715:11: error: dereferencing pointer to incomplete type
if (af->l_type == F_RDLCK) {
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:723:8: error: dereferencing pointer to incomplete type
af->l_type = F_UNLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:728:4: error: dereferencing pointer to incomplete type
af->l_type = F_WRLCK; /* not us, so lock would block */
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:730:8: error: dereferencing pointer to incomplete type
af->l_pid = avc->slocks->pid;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:735:8: error: dereferencing pointer to incomplete type
af->l_pid = 0; /* XXX can't happen?? */
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:749:8: error: dereferencing pointer to incomplete type
af->l_type = F_WRLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:751:5: error: dereferencing pointer to incomplete type
af->l_pid = avc->slocks->pid;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:756:5: error: dereferencing pointer to incomplete type
af->l_pid = 0; /* XXX can't happen?? */
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:764:4: error: dereferencing pointer to incomplete type
af->l_type = F_UNLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:776:4: error: dereferencing pointer to incomplete type
af->l_type = F_RDLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:777:4: error: dereferencing pointer to incomplete type
af->l_pid = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:784:5: error: dereferencing pointer to incomplete type
af->l_pid = slp->pid;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:800:8: error: dereferencing pointer to incomplete type
af->l_type = F_WRLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:802:5: error: dereferencing pointer to incomplete type
af->l_pid = avc->slocks->pid;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:807:5: error: dereferencing pointer to incomplete type
af->l_pid = 0; /* XXX can't happen?? */
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:815:4: error: dereferencing pointer to incomplete type
af->l_type = F_UNLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:826:4: error: dereferencing pointer to incomplete type
af->l_type = F_RDLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:827:4: error: dereferencing pointer to incomplete type
af->l_pid = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:834:5: error: dereferencing pointer to incomplete type
af->l_pid = slp->pid;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:851:4: error: dereferencing pointer to incomplete type
af->l_type = F_UNLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:855:4: error: dereferencing pointer to incomplete type
af->l_type = F_RDLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:857:4: error: dereferencing pointer to incomplete type
af->l_type = F_WRLCK;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:858:7: error: dereferencing pointer to incomplete type
af->l_pid = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:864:7: error: dereferencing pointer to incomplete type
af->l_whence = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:865:7: error: dereferencing pointer to incomplete type
af->l_start = 0;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:866:7: error: dereferencing pointer to incomplete type
af->l_len = 0; /* to end of file */
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:687:22: warning: unused variable 'flock' [-Wunused-variable]
struct AFS_FLOCK flock;
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c: At top level:
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:32:12: warning: 'HandleGetLock' used but never defined [enabled by default]
static int HandleGetLock(struct vcache *avc,
^
/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.c:683:1: warning: 'HandleGetLock' defined but not used [-Wunused-function]
HandleGetLock(struct vcache *avc, struct AFS_FLOCK *af,
^
make[6]: *** [/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP/afs_vnop_flock.o] Error 1
make[5]: *** [_module_/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP] Error 2
make[5]: Leaving directory `/usr/src/linux-headers-3.13.0-34-generic'
rm .makelog
cp libafs.ko libafs-3.13.0-34-generic.mp.ko
cp: cannot stat 'libafs.ko': No such file or directory
make[4]: *** [libafs-3.13.0-34-generic.mp.ko] Error 1
make[4]: Leaving directory `/home/mwaltz/git/openafs/src/libafs/MODLOAD-3.13.0-34-generic-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/home/mwaltz/git/openafs/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/home/mwaltz/git/openafs'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/mwaltz/git/openafs'
make: *** [all] Error 2
--------------070601050907080004080403--