AFS on FreeBSD 8?

Jan Henrik Sylvester me at janh.de
Tue May 18 15:59:31 UTC 2010


On 05/04/10 18:45, Benjamin Kaduk wrote:
> On Tue, 4 May 2010, Jan Henrik Sylvester wrote:
>
>> On 04/14/2010 18:52, Benjamin Kaduk wrote:
>>> Could you send a bit of detail about your machine, though? Is it
>>> single-processor, 32-bit, etc.?
>>
>> I just saw that I never answered this question, sorry.
>>
>> The machine is a Core2Quad (four cores) currently running on a GENERIC
>> FreeBSD-8.0-RELEASE i386. I plan to test amd64 in a few weeks. (All
>> the other machines I could use for testing are i386, too, one 8-STABLE
>> and the others 8.0-RELEASE.)
>
> Thanks! I suspect that we are not quite safe for the SMP case, yet.

I have upgraded almost all of my machines from i386 to amd64 and would 
like to repeat the OpenAFS testing -- even though you suspect it is SMP, 
which applies to all machines available to me.

The port (that uses the master branch) currently only builds until:
cc -I. -I.. -I../nfs  -I/usr/ports/net/openafs-devel/work/openafs/src 
-I/usr/ports/net/openafs-devel/work/openafs/src/afs 
-I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD 
-I/usr/ports/net/openafs-devel/work/openafs/src/config 
-I/usr/ports/net/openafs-devel/work/openafs/src/rx/FBSD 
-I/usr/ports/net/openafs-devel/work/openafs/src/rxkad 
-I/usr/ports/net/openafs-devel/work/openafs/src/util 
-I/usr/ports/net/openafs-devel/work/openafs/src 
-I/usr/ports/net/openafs-devel/work/openafs/src/afs 
-I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD 
-I/usr/ports/net/openafs-devel/work/openafs/src/util 
-I/usr/ports/net/openafs-devel/work/openafs/src/rxkad 
-I/usr/ports/net/openafs-devel/work/openafs/src/config 
-I/usr/ports/net/openafs-devel/work/openafs/src/fsint 
-I/usr/ports/net/openafs-devel/work/openafs/src/vlserver 
-I/usr/ports/net/openafs-devel/work/openafs/include 
-I/usr/ports/net/openafs-devel/work/openafs/include/afs  -O -I. -I.. 
-I/usr/ports/net/openafs-devel/work/openafs/src/config  -DAFSDEBUG 
-DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -Wall 
-nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE  -elf 
-mno-align-long-strings -fno-common -ffreestanding 
-I/usr/obj/usr/src/sys/GENERIC -include opt_global.h 
-fno-strict-aliasing -fPIC -O2  -o afs_atomlist.o -c 
/usr/ports/net/openafs-devel/work/openafs/src/util/afs_atomlist.c
<command-line>:14600381:116: error: opt_global.h: No such file or directory
*** Error code 1
Stop in /usr/ports/net/openafs-devel/work/openafs/src/libafs/MODLOAD.

Do you have a git tag (or whatever, I do not really know git) that is 
known to compile?

How could I make the port use anything else but master? (Probably "make 
extract ; cd work/openafs/ ; SOME GIT COMMAND ; cd ../../ ; make" or 
something similar.)

Thanks,
Jan Henrik


More information about the freebsd-afs mailing list