Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 11:52:36 -0400 (EDT)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <alpine.GSO.1.10.1004131150490.29136@multics.mit.edu>
In-Reply-To: <q2kdb6e3f111004130846lc1567c8cqd2228214f71db11c@mail.gmail.com>
References:  <4BBEE3E7.8040201@janh.de> <x2x994ac8b91004090536scd3794b3w9ba27c548f587065@mail.gmail.com> <4BC2F059.2090201@janh.de> <j2hdb6e3f111004120526xdcf920cesaecfa33f7ea01d6d@mail.gmail.com> <r2l47d0403c1004121233i1a029cf3i7aa9ac978feefc8e@mail.gmail.com> <4BC4909F.5000000@janh.de> <q2kdb6e3f111004130846lc1567c8cqd2228214f71db11c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-588357308-1271173956=:29136
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Tue, 13 Apr 2010, Derrick Brashear wrote:

> On Tue, Apr 13, 2010 at 11:41 AM, Jan Henrik Sylvester <me@janh.de> wrote=
:
>> -DGETMOUNT -Wall -nostdinc -I/usr
>> /include -D_KERNEL -DKLD_MODULE =A0-elf =A0-mno-align-long-strings -fno-=
common
>> -ffreestanding =A0-I/usr/obj/usr/s
>> rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing =A0-O2 =A0-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=20
change that if you use a custom kernel configuration.

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

-Ben
---559023410-588357308-1271173956=:29136--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1004131150490.29136>