[OpenAFS] FC6-T2 openafs

Derrick J Brashear shadow@dementia.org
Thu, 10 Aug 2006 12:46:34 -0400 (EDT)


OH. I remember now.

#define rx_PortOf(peer)                 ((peer)->saddr.ss_family == 
AF_INET ? \
                 ((struct sockaddr_in *) &(peer)->saddr)->sin_port : \
                 ((struct sockaddr_in6 *) &(peer)->saddr)->sin6_port)

you probably don't have struct sockaddr_in6 there.

Try OpenAFS-1.5.5 instead of a head snapshot?


On Thu, 10 Aug 2006, William John Murray wrote:

> Derrick J Brashear wrote:
>> On Thu, 10 Aug 2006, William John Murray wrote:
>> 
>>> Hello all,
>>> I looked at openafs-snap-2006-08-09 on FC6-t2
>>> (kernel 2.6.17-1.2532.fc6)
>>> 
>>> I get plenty of warnings, but the first error is:
>>> 
>>> /usr/local/src/openafs-snap-2006-08-09/src/libafs/MODLOAD-2.6.17-1.2532.fc6-MP/afs_pag_cred.c:236: 
>>> error: dereferencing pointer to incomplete type
>>> 
>>> So some of the kernel header problems have been caught, thank you.
>>> But I still have no afs.. Is it possible to disable the pag stuff somehow?
>>> Might that give me a working 1-user system?
>> 
>> Instead of that, how about helping us fix the actual problems? It's going 
>> to take less time to just fix your problems.
> Good point. Sorry...
>> 
>> What's on line 236? In the source I have it's:
>> || rx_PortOf(rx_PeerOf(rx_ConnectionOf(a_call))) != htons(7001))
>> and the seeing as everything there except rx_PortOf and the literal number 
>> 7001 are in the line above, that suggests it's not it.
> That is the same line as I have.
> If I change 'PortOf' to 'PeerOf' it compiles that routine OK. So I guess it 
> is PortOf.
> This is defined in rx.h
>
> But I should have quoted the warnings above:
> In file included from 
> /usr/local/src/openafs-snap-2006-08-09/src/afs/afsincludes.h:43,
> from 
> /usr/local/src/openafs-snap-2006-08-09/src/libafs/MODLOAD-2.6.17-1.2532.fc6-MP/afs_pag_cred.c:17:
> /usr/local/src/openafs-snap-2006-08-09/src/vlserver/vldbint.h:303: warning: 
> struct ubik_client declared inside parameter list
> /usr/local/src/openafs-snap-2006-08-09/src/vlserver/vldbint.h:303: warning: 
> its scope is only this definition or declaration, which is probably not what 
> you want
> /
>
> Can you see what is going on there?
> Thanks.
> Bill
>
>
>
>