[OpenAFS] Open afs 1.3.35 build error 64 bit Suse 10.2

ted creedon tcreedon@easystreet.net
Sun, 27 Apr 2008 14:52:32 -0700


Here's a build error:

/data/openafs-1.5.35/include/afs/cellconfig.h:137: warning: 'struct
ktc_encryptionKey' declared inside parameter list
In file included from ../volser/vos.c:62:
../volser/lockprocs_prototypes.h:18:7: warning: no newline at end of file
../volser/vos.c: In function 'DisplayFormat':
../volser/vos.c:528: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:531: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:536: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:539: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:545: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c: In function 'XDisplayFormat':
../volser/vos.c:685: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:688: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:693: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:696: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:702: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c: In function 'XDisplayFormat2':
../volser/vos.c:944: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:946: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:948: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:950: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:952: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c: In function 'DisplayFormat2':
../volser/vos.c:1094: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:1096: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:1098: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:1100: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c:1102: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c: At top level:
../volser/vos.c:1459: error: 'VolumeStats' redeclared as different kind
of symbol
/*data/openafs-1.5.35/include/afs/volume.h:562: error: previous
declaration of 'VolumeStats' was here
../volser/vos.c: In function 'VolserStatus':*
../volser/vos.c:3973: warning: passing argument 1 of 'ctime' from
incompatible pointer type
../volser/vos.c: In function 'print_addrs':
../volser/vos.c:5188: warning: passing argument 4 of 'ubik_VL_GetAddrsU'
from incompatible pointer type
../volser/vos.c: In function 'MyBeforeProc':
../volser/vos.c:5648: warning: passing argument 2 of 'vsu_ClientInit'
discards qualifiers from pointer target type
make[3]: *** [vos.o] Error 1
make[2]: *** [tvolser] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2