[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 15:01:38 -0400 (EDT)
On Thu, 6 Oct 2005, Kyle Moffett wrote:
> On Oct 5, 2005, at 09:53:21, Jeffrey Altman wrote:
>> If you have been waiting to work on Tiger support, now is your chance. The
>> merge of the Tiger work with the mainline code more than likely broke
>> things both in the Tiger support as well as on other platforms.
>
> Ok, here's my first problem report: Compiling the "openafs-stable-1_4_x"
> branch as of now under Tiger (using GCC version 4.0, the default), dies with
> the following errors:
Compiles all the way through for me.
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure
--disable-checking --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/gcc/darwin/4.0/c++
--build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)
> ../machine/types.h:30:23: error: ppc/types.h: No such file or directory
[]
> It looks like the -nostdinc is preventing it from locating ppc/types.h which
> is included by sys/types.h, but I'm not sure how it gets ahold of a
> sys/types.h to know where to go looking. I have a complete full-install of
> Xcode Tools 2.1.
It links directories of headers into src/libafs. ppc is not one of them.
Maybe it should be. Wonder why it's building for me.
--- MakefileProto.DARWIN.in 5 Oct 2005 05:58:38 -0000 1.21.2.2
+++ MakefileProto.DARWIN.in 6 Oct 2005 19:01:02 -0000
@@ -65,7 +65,7 @@
ln -fs ../Makefile $(KOBJ)/Makefile
ln -fs ../Makefile.common $(KOBJ)/Makefile.common
ln -fs ../config $(KOBJ)/config
- -$(RM) -f h net netinet rpc ufs nfs machine sys vm mach kern
+ -$(RM) -f h net netinet rpc ufs nfs machine sys vm mach kern ppc i386
-ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/net net
-ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/machine machine
-ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/netinet netinet
@@ -74,6 +74,8 @@
-ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/sys sys
-ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/ufs ufs
-ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/sys h
+ -ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/ppc ppc
+ -ln -fs $(KROOT)/System/Library/Frameworks/Kernel.framework/Headers/i386 i386
# Below this line are targets when in the COMMON directory: