[OpenAFS] 1.5.6 build error

tedc tcreedon@easystreet.com
Sun, 13 Aug 2006 13:44:39 -0700


FYI

n file included from /data/openafs-1.5.6/src/afs/afsincludes.h:53,
                 from
/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default-ted-SP/osi_pag_module.c:22:
/data/openafs-1.5.6/src/afs/afs_prototypes.h:979: warning: 'struct
flock64' declared inside parameter list
/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default/osi_pag_module.c:42:
error: expected ')' before string constant
/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default/osi_pag_module.c:46:
error: expected ')' before string constant
/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default/osi_pag_module.c:50:
error: conflicting types for 'afs_global_lock'
/data/openafs-1.5.6/src/afs/LINUX/osi_machdep.h:195: error: previous
declaration of 'afs_global_lock' was here
/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default/osi_pag_module.c:
In function 'afspag_init':
/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default/osi_pag_module.c:79:
error: implicit declaration of function 'afspag_SetPrimaryCell'
make[6]: ***
[/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default/osi_pag_module.o]
Error 1
make[5]: ***
[_module_/data/openafs-1.5.6/src/libafs/MODLOAD-2.6.16.13-4-default] Error 2
make[4]: *** [libafs.ko] Error 2
make[3]: *** [linux_compdirs] Error 2
make[2]: *** [libafs] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2