[OpenAFS-devel] New branch in CVS: openafs-stable-1_4_0-branch (tiger and byte range locks)
Kyle Moffett
mrmacman_g4@mac.com
Thu, 6 Oct 2005 18:24:29 -0400
Ugh, spoke too soon. It still breaks for me, and this time in a less-=20=
obvious way:
> cc -I. -I.. -I../nfs -I/Users/kyle/cvs/openafs/src -I/Users/kyle/=20
> cvs/openafs/src/afs -I/Users/kyle/cvs/openafs/src/afs/DARWIN -I/=20
> Users/kyle/cvs/openafs/src/config -I/Users/kyle/cvs/openafs/src/rx/=20
> DARWIN -I/Users/kyle/cvs/openafs/src/rxkad -I/Users/kyle/cvs/=20
> openafs/src/rxkad/domestic -I/Users/kyle/cvs/openafs/src/util -I/=20
> Users/kyle/cvs/openafs/src -I/Users/kyle/cvs/openafs/src/afs -I/=20
> Users/kyle/cvs/openafs/src/afs/DARWIN -I/Users/kyle/cvs/openafs/src/=20=
> util -I/Users/kyle/cvs/openafs/src/rxkad -I/Users/kyle/cvs/openafs/=20
> src/config -I/Users/kyle/cvs/openafs/src/fsint -I/Users/kyle/cvs/=20
> openafs/src/vlserver -I/Users/kyle/cvs/openafs/include -I/Users/=20
> kyle/cvs/openafs/include/afs -I/System/Library/Frameworks/=20
> Kernel.framework/Headers -I. -I.. -I/Users/kyle/cvs/openafs/src/=20
> config -D_KERNEL -DKERNEL -DKERNEL_PRIVATE -DDIAGNOSTIC -=20
> DUSE_SELECT -DMACH_USER_API -DMACH_KERNEL -static -g -nostdinc -=20
> nostdlib -no-cpp-precomp -fno-builtin -finline -fno-keep-inline-=20
> functions -msoft-float -mlong-branch -fsigned-bitfields -arch ppc -=20
> Dppc -DPPC -D__PPC__ -DPAGE_SIZE_FIXED -O2 -mcpu=3D750 -mmultiple -=20
> 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:=20=
> 26,
> from /Users/kyle/cvs/openafs/src/afs/afs_daemons.c:=20=
> 22:
> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:149:1: warning: =20
> "IsAfsVnode" redefined
> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:132:1: warning: this is =20
> the location of the previous definition
> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:150:1: warning: =20
> "SetAfsVnode" redefined
> /Users/kyle/cvs/openafs/src/afs/afs_osi.h:131:1: warning: this is =20
> the location of the previous definition
> In file included from /Users/kyle/cvs/openafs/src/afs/afsincludes.h:=20=
> 53,
> from /Users/kyle/cvs/openafs/src/afs/afs_daemons.c:=20=
> 22:
> /Users/kyle/cvs/openafs/src/afs/afs_prototypes.h:534: warning: =20
> =91struct inode=92 declared inside parameter list
> /Users/kyle/cvs/openafs/src/afs/afs_prototypes.h:534: warning: its =20
> scope is only this definition or declaration, which is probably not =20=
> what you want
> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c: In function =91BPath=92:
> /Users/kyle/cvs/openafs/src/afs/afs_daemons.c:430: error: =20
> 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 =20
and AFS_DARWIN80_ENV are being defined for that file. I really don't =20=
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/=20
philosophy/) software stuff and not get a real job. Charles Shultz =20
had the best answer:
"Why do musicians compose symphonies and poets write poems? They do =20
it because life wouldn't have any meaning for them if they didn't. =20
That's why I draw cartoons. It's my life."
-- Charles Shultz