From owner-freebsd-current@FreeBSD.ORG Wed Jul 1 21:25:11 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E13810656B6 for ; Wed, 1 Jul 2009 21:25:11 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1F18FC2D for ; Wed, 1 Jul 2009 21:25:10 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: by bwz7 with SMTP id 7so1200647bwz.19 for ; Wed, 01 Jul 2009 14:25:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.115.80 with SMTP id h16mr6641647faq.94.1246482027741; Wed, 01 Jul 2009 14:00:27 -0700 (PDT) In-Reply-To: <3730d4eb75f62cac45c8113ef595c2f5.squirrel@cygnus.homeunix.com> References: <3730d4eb75f62cac45c8113ef595c2f5.squirrel@cygnus.homeunix.com> Date: Wed, 1 Jul 2009 17:00:27 -0400 Message-ID: <1de79840907011400v7f625f6av926ffc311f469f52@mail.gmail.com> From: Michael Proto To: Nenhum_de_Nos Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: problems building current from today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 21:25:11 -0000 On Wed, Jul 1, 2009 at 3:02 PM, Nenhum_de_Nos wrote: > hail, > > I'm trying to build tinybsd as of today, and I get this: > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/kern/sysv_msg.c > /usr/src/sys/kern/sysv_msg.c:1263: error: invalid application of 'sizeof' > to incomplete type 'struct freebsd7_msgctl_args' > /usr/src/sys/kern/sysv_msg.c:1263: error: 'freebsd7_msgctl' undeclared > here (not in a function) > cc1: warnings being treated as errors > /usr/src/sys/kern/sysv_msg.c:1309: warning: function declaration isn't a > prototype > /usr/src/sys/kern/sysv_msg.c: In function 'freebsd7_msgctl': > /usr/src/sys/kern/sysv_msg.c:1318: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1318: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1318: warning: comparison between pointer and > integer > /usr/src/sys/kern/sysv_msg.c:1319: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1319: error: request for member 'buf' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1334: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1334: error: request for member 'msqid' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1334: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1334: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1334: warning: passing argument 2 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1334: warning: passing argument 3 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1337: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1337: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1337: warning: comparison between pointer and > integer > /usr/src/sys/kern/sysv_msg.c:1350: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1350: error: request for member 'buf' in > something not a structure or union > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/TINYBSD. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > tinybsd# > > I read about some commits breaking current recently, but also saw saying > was fixed. > I ran across this myself on a non-TINYBSD build, and was able to resolve it by commenting-out COMPAT_FREEBSD6 in my kernel config since I didn't need it (all other COMPAT entries except COMPAT_43TTY were already disabled, so now only COMPAT_43TTY is enabled). Might help your situation. -Proto