From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 21:03:18 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCA71065670 for ; Thu, 3 Mar 2011 21:03:18 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C25118FC12 for ; Thu, 3 Mar 2011 21:03:17 +0000 (UTC) Received: by ywf9 with SMTP id 9so591280ywf.13 for ; Thu, 03 Mar 2011 13:03:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=mRtP0RvoBd3ZGFYZD6YvZI4UFJBk6HHncvPjIVas5dI=; b=Sra6ODqoTuNNVp4s8Laa5H/6HrGBYackb9FFJYs4W4iqthQFcsiV0DX937eurG0M7i vKMT6wjufKipESi7BnDVi3GytPgHUqZ/UXY0fh1+EiahmCsdnbJqnwvB+6fXmKawVbwr eCmzJy+lUj0fcnmLq0/7nd27z/XbfmNAXSa2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=V2H8DgOmGVx2hTJiusuL8GmOkgsV03rp/z2yzqz0T0ciy6Y0ZdBPYGjcoXrCJunkkt F3FDuJQdFg/eIuQ34UhNTVrHB7eD8VKd4e8zeSZdG5AXF93mJ2rKm4POILRYNGG+0UJ5 i5Dl+IyHRkTVF1tCNvgloEvgUeY6VUu2TSI7c= MIME-Version: 1.0 Received: by 10.236.111.15 with SMTP id v15mr2479772yhg.37.1299186196847; Thu, 03 Mar 2011 13:03:16 -0800 (PST) Received: by 10.236.108.44 with HTTP; Thu, 3 Mar 2011 13:03:16 -0800 (PST) Date: Thu, 3 Mar 2011 21:03:16 +0000 Message-ID: From: "b. f." To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Kernel compiling problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 21:03:18 -0000 >Heya! > >Anybody know what's wrong with this? > >## make buildworld buildkernel KERNCONF=NINJA ... >/usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' to >incomplete type 'struct freebsd7_msgctl_args This error message is suggestive. ;) >options COMPAT_FREEBSD4 > >options COMPAT_FREEBSD5 > >options COMPAT_FREEBSD6 Upgrading from 7.x to 8.x, eh? But I think you forgot to update parts of your kernel config. From src/sys/conf/NOTES: "Note that as a general rule, COMPAT_FREEBSD depends on COMPAT_FREEBSD, COMPAT_FREEBSD, etc." ... up until m-1, where m is the FreeBSD version you are building. So if you have COMPAT_FREEBSD[456], you need COMPAT_FREEBSD7 as well. (When running 7.x, you didn't need it, of course.) b.