Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 11:54:21 -0500
From:      Dave Uhring <duhring@charter.net>
To:        Doug Rabson <dfr@rabson.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Buildworld Fails RELENG_7
Message-ID:  <20080519165421.GA62264@charter.net>
In-Reply-To: <DB8B754A-5994-4358-9F8C-93218AAEF9F4@rabson.org>
References:  <20080519151739.GA50653@charter.net> <4AB77C7C-55F7-4CC3-B842-E684F6C899E3@rabson.org> <20080519163825.GA32372@charter.net> <DB8B754A-5994-4358-9F8C-93218AAEF9F4@rabson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote:
>
> On 19 May 2008, at 17:38, Dave Uhring wrote:
>
>> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote:
>>> This symbol has been added to fcntl.h recently. It appears as if your 
>>> build
>>> is picking up the installed header rather than the one from the source
>>> tree. Are you using 'make buildworld'?
>>
>> Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get 
>> a clean
>> build.
>>
>> The header files in /usr/include/sys are those from 7.0 RELEASE, however, 
>> and I
>> have had to copy 3 files (so far) from /usr/src/sys/sys to get the build 
>> to
>> continue.
>
> You should never have to copy any header files to /usr/include to get a 
> buildworld to work. Try without the -DNO_CLEAN and if that still fails, 
> clean your /usr/obj (e.g. with rm -rf /usr/obj/*).

The build is going nowhere without the correct header files in /usr/include/sys.
I have repeatedly cleaned /usr/obj to no avail, but I have a better method for
doing that:

umount /usr/obj
newfs /dev/da4s2f
mount /usr/obj




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