[OpenAFS] Suse 9.3 Professional RPMS

ted creedon tcreedon@easystreet.com
Fri, 14 Apr 2006 09:31:03 -0700


Builds fine here on a SuSE 9.3  2.6.11.4-21.10-smp kernel..

tedc

David Sonenberg wrote:
>I decided to just build from sources but now I'm running into some
>compilation errors:
>
>In file included from /root/openafs-1.4.0/include/afs/afs_sysnames.h:25,
>                 from /root/openafs-1.4.0/include/afs/param.h:58,
>                 from
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:11:
>/root/openafs-1.4.0/include/afs/stds.h:14:23: sys/types.h: No such file
>or directory
>In file included from
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:17:
>/root/openafs-1.4.0/src/util/afs_atomlist.h:54: error: syntax error
>before "atom_size"
>/root/openafs-1.4.0/src/util/afs_atomlist.h:55: error: syntax error
>before "n"
>/root/openafs-1.4.0/src/util/afs_atomlist.h:56: error:
>`afs_atomlist_create' declared as function returning a function
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:80:
>error: syntax error before "size_t"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:80:
>warning: no semicolon at end of struct or union
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:81:
>warning: type defaults to `int' in declaration of `block_size'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:81:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:82:
>error: syntax error before "atoms_per_block"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:82:
>warning: type defaults to `int' in declaration of `atoms_per_block'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:82:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:83:
>error: syntax error before "n"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:84:
>error: syntax error before "size_t"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:87:
>error: syntax error before '}' token
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:90:
>error: syntax error before "atom_size"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:91:
>error: syntax error before "n"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:92:
>error: `afs_atomlist_create' declared as function returning a function
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:96:
>warning: type defaults to `int' in declaration of `atoms_per_block'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:96:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:97:
>error: syntax error before "extra_space"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:97:
>warning: type defaults to `int' in declaration of `extra_space'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:97:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:134:
>warning: type defaults to `int' in declaration of `atoms_per_block'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:134:
>error: `atom_size' undeclared here (not in a function)
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:134:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:135:
>warning: type defaults to `int' in declaration of `extra_space'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:135:
>error: `atom_size' undeclared here (not in a function)
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:135:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:136:
>error: syntax error before "if"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:143:
>warning: type defaults to `int' in declaration of `al'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:143:
>error: invalid type argument of `unary *'
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:143:
>warning: initialization makes integer from pointer without a cast
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:143:
>error: initializer element is not constant
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:143:
>warning: data definition has no type or storage class
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:144:
>error: syntax error before "if"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:
>In function `afs_atomlist_destroy':
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:164:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:165:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:165:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:166:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:166:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:168:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:168:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:
>In function `afs_atomlist_get':
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:177:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:180:
>error: `size_t' undeclared (first use in this function)
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:180:
>error: (Each undeclared identifier is reported only once
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:180:
>error: for each function it appears in.)
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:180:
>error: syntax error before "i"
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:182:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:182:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:188:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:188:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:189:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:190:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:194:
>error: `i' undeclared (first use in this function)
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:194:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:195:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:196:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:199:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:202:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:206:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:207:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:
>In function `afs_atomlist_put':
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:215:
>error: dereferencing pointer to incomplete type
>/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:216:
>error: dereferencing pointer to incomplete type
>make[8]: ***
>[/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.o]
>Error 1
>make[7]: ***
>[_module_/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP] Error 2
>make[6]: *** [modules] Error 2
>make[5]: *** [modules] Error 2
>make[5]: Leaving directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp'
>make[4]: *** [libafs.ko] Error 2
>make[4]: Leaving directory
>`/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP'
>make[3]: *** [linux_compdirs] Error 2
>make[3]: Leaving directory `/root/openafs-1.4.0/src/libafs'
>make[2]: *** [libafs] Error 2
>make[2]: Leaving directory `/root/openafs-1.4.0'
>make[1]: *** [build] Error 2
>make[1]: Leaving directory `/root/openafs-1.4.0'
>make: *** [all] Error 2
>
>Derek Atkins wrote:
>  
>>Quoting David Sonenberg <dsonenberg@strozllc.com>:
>>
>>    
>>>Does anyone know where I could find RPM's for 1.4.0?
>>>      
>>It's /possible/ that my RedHat/Fedora SRPM will rebuild on SuSE,
>>but I don't know.  You're welcome to try it.  I don't actually
>>support SuSE, but I'm willing to accept (portable) patches to the
>>SPEC file if minor changes will help get the SRPM to work on SuSE
>>as well as RedHat/Fedora.
>>
>>-derek
>>    
>
>