[OpenAFS-devel] New branch in CVS: openafs-stable-1_4_0-branch (tiger and byte range locks)

Derrick J Brashear shadow@dementia.org
Thu, 6 Oct 2005 18:52:20 -0400 (EDT)


cvs update. that's already fixed.

Derrrick

On Thu, 6 Oct 2005, Kyle Moffett wrote:

> Ugh, spoke too soon.  It still breaks for me, and 
> this time in a less-obvious way:
>> cc -I. -I.. -I../nfs 
>> -I/Users/kyle/cvs/openafs/src -I/Users/kyle/ 
>> cvs/openafs/src/afs 
>> -I/Users/kyle/cvs/openafs/src/afs/DARWIN -I/ 
>> Users/kyle/cvs/openafs/src/config 
>> -I/Users/kyle/cvs/openafs/src/rx/DARWIN 
>> -I/Users/kyle/cvs/openafs/src/rxkad 
>> -I/Users/kyle/cvs/openafs/src/rxkad/domestic 
>> -I/Users/kyle/cvs/openafs/src/util -I/ 
>> Users/kyle/cvs/openafs/src 
>> -I/Users/kyle/cvs/openafs/src/afs -I/ 
>> Users/kyle/cvs/openafs/src/afs/DARWIN 
>> -I/Users/kyle/cvs/openafs/src/util 
>> -I/Users/kyle/cvs/openafs/src/rxkad 
>> -I/Users/kyle/cvs/openafs/src/config 
>> -I/Users/kyle/cvs/openafs/src/fsint 
>> -I/Users/kyle/cvs/openafs/src/vlserver 
>> -I/Users/kyle/cvs/openafs/include -I/Users/ 
>> kyle/cvs/openafs/include/afs 
>> -I/System/Library/Frameworks/ 
>> Kernel.framework/Headers -I. -I.. 
>> -I/Users/kyle/cvs/openafs/src/config -D_KERNEL 
>> -DKERNEL -DKERNEL_PRIVATE -DDIAGNOSTIC - 
>> DUSE_SELECT -DMACH_USER_API -DMACH_KERNEL 
>> -static -g -nostdinc -nostdlib -no-cpp-precomp 
>> -fno-builtin -finline -fno-keep-inline-functions 
>> -msoft-float -mlong-branch -fsigned-bitfields 
>> -arch ppc -Dppc -DPPC -D__PPC__ 
>> -DPAGE_SIZE_FIXED -O2 -mcpu=750 -mmultiple - 
>> fschedule-insns  -O -c 
>> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c
>> In file included from 
>> /Users/kyle/cvs/openafs/src/rx/rx_clock.h:88,
>>                  from 
>> /Users/kyle/cvs/openafs/src/rx/rx.h:35,
>>                  from 
>> /Users/kyle/cvs/openafs/src/afs/afsincludes.h: 
>> 26,
>>                  from 
>> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c: 
>> 22:
>> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:149:1: 
>> warning: "IsAfsVnode" redefined
>> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:132:1: 
>> warning: this is the location of the previous 
>> definition
>> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:150:1: 
>> warning: "SetAfsVnode" redefined
>> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:131:1: 
>> warning: this is the location of the previous 
>> definition
>> In file included from 
>> /Users/kyle/cvs/openafs/src/afs/afsincludes.h: 
>> 53,
>>                  from 
>> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c: 
>> 22:
>> /Users/kyle/cvs/openafs/src/afs/afs_prototypes.h:534: 
>> warning: struct inode declared inside 
>> parameter list
>> /Users/kyle/cvs/openafs/src/afs/afs_prototypes.h:534: 
>> warning: its scope is only this definition or 
>> declaration, which is probably not what you want
>> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c: 
>> In function BPath:
>> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c:430: 
>> error: dereferencing pointer to incomplete type
>> make[4]: *** [afs_daemons.o] Error 1
>> make[3]: *** [single_compdir] Error 2
>> make[2]: *** [libafs] Error 2
>> make[1]: *** [build] Error 2
>> make: *** [all] Error 2
>
> Looking at the source file, it seems that somehow 
> both AFS_XBSD_ENV and AFS_DARWIN80_ENV are being 
> defined for that file.  I really don't understand 
> this part of the code so I guess I'm kinda stuck 
> for now.
>
> Cheers,
> Kyle Moffett
>
> --
> Somone asked me why I work on this free 
> (http://www.fsf.org/philosophy/) software stuff 
> and not get a real job. Charles Shultz had the 
> best answer:
>
> "Why do musicians compose symphonies and poets 
> write poems? They do it because life wouldn't have 
> any meaning for them if they didn't. That's why I 
> draw cartoons. It's my life."
>  -- Charles Shultz
>
>
>