AFS on FreeBSD 8?

Benjamin Kaduk kaduk at MIT.EDU
Tue Apr 13 16:07:42 UTC 2010


On Tue, 13 Apr 2010, Derrick Brashear wrote:

> On Tue, Apr 13, 2010 at 11:41 AM, Jan Henrik Sylvester <me at janh.de> wrote:
>> -DGETMOUNT -Wall -nostdinc -I/usr
>> /include -D_KERNEL -DKLD_MODULE  -elf  -mno-align-long-strings -fno-common
>> -ffreestanding  -I/usr/obj/usr/s
>> rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing  -O2  -o
>> afs_atomlist.o -c /usr/ports/net/openafs
>> -devel/work/openafs/src/util/afs_atomlist.c
>> cc1: error: opt_global.h: No such file or directory
>> *** Error code 1
>>
>> Or are there any missing dependencies? Were is opt_global.h supposed to come
>> from?
>
> it's in the objdir of your kernel build.

The port Makefile hardcodes the objdir for GENERIC; you will need to 
change that if you use a custom kernel configuration.

(You will also need to have an object tree from a kernel build sitting 
around, if that was not initially clear.)

-Ben


More information about the freebsd-afs mailing list